Thanks, that fixes the error. Could you please provide an example code for the conntrack rulesets for this example by ovs? I couldn't find how to just ` actions=ct(commit)` by RYU - flow #2.
http://docs.openvswitch.org/en/latest/tutorials/ovs-conntrack/ (flow #1) $ ovs-ofctl add-flow br0 "table=0, priority=50, ct_state=-trk, tcp, in_port=veth_l0, actions=ct(table=0)" (flow #2) $ ovs-ofctl add-flow br0 "table=0, priority=50, ct_state=+trk+new, tcp, in_port=veth_l0, actions=ct(commit),veth_r0" (flow #3) $ ovs-ofctl add-flow br0 "table=0, priority=50, ct_state=-trk, tcp, in_port=veth_r0, actions=ct(table=0)" (flow #4) $ ovs-ofctl add-flow br0 "table=0, priority=50, ct_state=+trk+est, tcp, in_port=veth_r0, actions=veth_l0" (flow #5) $ ovs-ofctl add-flow br0 "table=0, priority=50, ct_state=+trk+est, tcp, in_port=veth_l0, actions=veth_r0" I am finding it difficult to set it up via RYU. Thanks Tauseef On 5/14/19, 3:05 AM, "IWAMOTO Toshihiro" <iwam...@valinux.co.jp> wrote: On Mon, 13 May 2019 22:20:01 +0900, Muhammad Tauseef Khan wrote: > > Hi, > I have been trying to use conntrack with RYU and I am experiencing the following error messages. I am using a simple match statement and the ActionCT as given on the Ryu's documents page but that is giving me the following errors. I have tried using ovs verion 2.10 as well but no success. Could you please give me an example working code that I can use? I guess you are hitting this error. https://github.com/openvswitch/ovs/blob/d58b59c17c70137aebdde37d3c01c26a26b28519/lib/ofp-actions.c#L6467 Specifing a 16 bit value zone_ofs_nbits (or simply omitting the entire zone thing) should fix the problem. -- IWAMOTO Toshihiro _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel