[ovs-dev] ovs userspace still missing support for "timeout" ct action

Patrick Talbert ptalbert at redhat.com
Wed Apr 8 06:44:19 UTC 2020


Hello,

The kernel grew support for a ct action "timeout" property here:

openvswitch: Add timeout support to ct action
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=06bd2bdf19d2

And userspace ovs supposedly added support here:

datapath: Add support for conntrack timeout policy
https://github.com/openvswitch/ovs/commit/ebe62ec1b915


But, if you actually try to use it (the example syntax from commit
06bd2bdf19d2):

# ovs-ofctl -V
ovs-ofctl (Open vSwitch) 2.13.90
# ovs-ofctl add-flow br0 'in_port=1,ip,tcp,action=ct(commit,timeout=timeout_1)'
ovs-ofctl: invalid argument to "ct" action: `timeout'


The error bubbles up from parse_CT() which it seems was overlooked by
ebe62ec1b915 as it has no check for a "timeout" string.


Or am I doing this all wrong?

Thank you,

Patrick



More information about the dev mailing list