[ovs-dev] Query regarding connection tracking info sent to controller as part of PACKET_IN

Keshav Gupta keshav.gupta at ericsson.com
Wed Jul 4 10:23:23 UTC 2018


Hi
       For below pipeline I see different behavior in case of bridge is of type netdev or system. I see in OVS2.6.2 (and OVS 2.8.2) when 
netdev bridge is used conntrack field are sent to controller while in case of kernel bridge it is not sent. So I want to know what is the correct behavior.  In which condition Conn track info in match filed of PACKET_IN message are sent to controller?

cookie=0x8000000, duration=1166.892s, table=0, n_packets=12, n_bytes=1603, priority=4,in_port=LOCAL,vlan_tci=0x0000/0x1fff actions=write_metadata:0x20000000000/0xffffff0000000001,goto_table:17
cookie=0x6900000, duration=1144.308s, table=17, n_packets=12, n_bytes=1603, priority=10,metadata=0x20000000000/0xffffff0000000000 actions=write_metadata:0x9000020000000000/0xfffffffffffffffe,goto_table:210
cookie=0x6900000, duration=1216.748s, table=210, n_packets=5, n_bytes=245, priority=61010,ip,metadata=0x20000000000/0xfffff0000000000,dl_src=fa:16:3e:b6:f6:f2,nw_src=30.0.0.5 actions=goto_table:211
cookie=0x6900000, duration=1279.576s, table=211, n_packets=5, n_bytes=245, priority=100,udp actions=write_metadata:0/0x2,goto_table:212
cookie=0x6900000, duration=1255.979s, table=212, n_packets=10, n_bytes=486, priority=100,ip,metadata=0x20000000000/0xfffff0000000000 actions=ct(table=213,zone=5003)
cookie=0x6900000, duration=1343.665s, table=213, n_packets=13, n_bytes=673, priority=0 actions=goto_table:214
cookie=0x6900000, duration=1311.077s, table=214, n_packets=14, n_bytes=681, priority=1002,ip,metadata=0x20000000000/0xfffff0000000000 actions=goto_table:217
cookie=0x6900000, duration=1320.567s, table=217, n_packets=14, n_bytes=681, priority=100,ip,metadata=0x20000000000/0xfffff0000000002 actions=ct(commit,zone=5003,exec(set_field:0x1->ct_mark)),resubmit(,17)
cookie=0x8000001, duration=1335.836s, table=17, n_packets=28, n_bytes=2271, priority=10,metadata=0x9000020000000000/0xffffff0000000000 actions=load:0x186a0->NXM_NX_REG3[0..24],write_metadata:0xa000020000030d40/0xfffffffffffffffe,goto_table:19
cookie=0x8000009, duration=1374.873s, table=19, n_packets=16, n_bytes=777, priority=20,metadata=0x30d40/0xfffffe,dl_dst=fa:16:3e:64:7e:bd actions=goto_table:21
cookie=0x8000004, duration=1379.940s, table=21, n_packets=20, n_bytes=964, priority=10,ip,metadata=0x30d40/0xfffffe actions=goto_table:26
cookie=0x8000006, duration=1604.891s, table=26, n_packets=3, n_bytes=148, priority=5,ip,metadata=0x30d40/0xfffffe actions=goto_table:46
cookie=0x81286a9, duration=1629.410s, table=46, n_packets=1, n_bytes=50, priority=5,udp,metadata=0x30d40/0xfffffe actions=CONTROLLER:6653

Thanks
Keshav


More information about the dev mailing list