Hi, I'm using RYU as controller for OpenVSwitch, and I want to use conntrack.
For example: ovs-ofctl -OOpenFlow13 add-flow br0 "table=0,in_port=3,ct_state=-trk,actions=ct(table=30)" works nicely from command line, the flow is added. How can I do this from RYU? I have tried: ct_match = parser.OFPMatch(in_port=port,ct_state=0) ct_actions = [parser.NXActionCT(flags=0, zone_src=0, zone_ofs_nbits=0, recirc_table=30, alg=0, actions=[])] ct_instructions = [] but it did not work, Actually, I just having "ct_state=0" in a match, no action and a goto_table instruction, results in no flow added. I also tried an already working match with the NXActionCT, and no flow was added. There was no error. This is how the match and action were printed out: OFPMatch(oxm_fields={'in_port': 3, 'ct_state': 0}) [OFPInstructionGotoTable(len=8,table_id=20,type=1), OFPInstructionActions(actions=[NXActionCT(actions=[],alg=0,experimenter=8992,flags=0,len=None,recirc_table=30,subtype=35,type=65535,zone_ofs_nbits=0,zone_src=0)],type=4)] Any help is appreciated! ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel