Does ovn can support "connection-limit" param of octavia?

Asked by Taoyunxiang

when create listener with "connection-limit" ,it does not work,the command as follows:

openstack loadbalancer listener create --name Listener2 --connection-limit 3 --protocol TCP --protocol-port 22 --default-pool Pool2 LB2

The print of load-balancer in ovn is like this

_uuid : abb10cba-02cf-49cb-adec-2d6c6c66af92
external_ids : {enabled=True, "listener_737812f9-1fe6-4a46-8c89-ce4c521f6fa0"="22:pool_6920615d-0fb1-4d3e-84fd-79ccfd8db199", ls_refs="{\"neutron-dc56e08f-dd11-417f-8426-c2642fb9ab64\": 1}", "neutron:vip"="", "neutron:vip_port_id"="60409592-1e27-4fdc-8e0c-db24e0aa13ed", "pool_6920615d-0fb1-4d3e-84fd-79ccfd8db199"="member_deb5342e-5718-4a32-b6f7-f1685d600d62_25.25.25.92:22"}
name : "183f5e0d-8a55-4ee6-934b-916a3e4db828"
protocol : tcp
vips : {""=""}

But ,I found this(

I do not know that does the "max" and "min" is pointed to connection-limit?

Then I add code "'connection_limit': listener.connection_limit," after here(, It does not work.

Question information

English Edit question
networking-ovn Edit question
No assignee Edit question
Solved by:
Maciej Jozefczyk
Last query:
Last reply:
Revision history for this message
Best Maciej Jozefczyk (maciejjozefczyk) said :

Hello Taoyunxiang,

unfortunately OVN Loadbalancer doesn't support connection limiting.

Revision history for this message
Taoyunxiang (taoyunxiang) said :

Thanks Maciej,


Revision history for this message
Taoyunxiang (taoyunxiang) said :

Thanks Maciej Jozefczyk, that solved my question.