In addition, when running these commands with ‘-v’ flag, I see some errors:

2024-09-04T21:00:10Z|00162|netlink_socket|DBG|nl_sock_recv__ (Success): 
nl(len:52, type=2(error), flags=0, seq=28, pid=686 error(-19(No such device), 
in-reply-to(nl(len:32, type=33(ovs_vport), flags=9[REQUEST][ECHO], seq=28, 
pid=686))

2024-09-04T21:02:16Z|00206|netlink_socket|DBG|nl_sock_recv__ (Success): 
nl(len:76, type=2(error), flags=0, seq=35, pid=759 error(-95(Operation not 
supported), in-reply-to(nl(len:56, type=32(ovs_datapath), 
flags=9[REQUEST][ECHO], seq=35, pid=759))

От: Payne Max <yardalge...@gmail.com>
Дата: суббота, 31 августа 2024 г. в 17:49
Кому: ovs-discuss@openvswitch.org <ovs-discuss@openvswitch.org>
Тема: Different numbers in ct-stats-show and ct-get-limits
Hi, OVS enthusiasts!

I have some conntrack zone which OVS correctly perceives and connections in it. 
I want to set up some limit for the zone, but as a result of the command 
ct-get-limits I’m always seeing count=0.

docker exec openvswitch_vswitchd ovs-dpctl ct-stats-show zone=4123

Connections Stats:
  Total: 120
TCP: 120

docker exec openvswitch_vswitchd ovs-dpctl ct-get-limits zone=4123

default limit=0
zone=4123,limit=1000,count=0

so if I’ll run smth like docker exec openvswitch_vswitchd ovs-dpctl 
dump-conntrack | grep zone=4123 | wc -l I will receive the same number 120, not 
zero.

Can you highlight why it is happening? I’m using a pretty old version 2.15.4, 
if it was already fixed in some newer version – please highlight it for me its 
numbers.

Thanks!
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to