Skip to content

Instantly share code, notes, and snippets.

@hzhou8
hzhou8 / megaflow-log-trace-wildcard
Last active September 29, 2018 00:52
megaflow-log-trace-wildcard
# ovs-appctl ofproto/trace "recirc_id(0),in_port(7),eth(src=22:49:4e:1e:5b:63,dst=aa:aa:aa:cc:cc:01),eth_type(0x0800),ipv4(src=192.168.100.11,dst=10.0.0.11,proto=17,tos=0/0x3,ttl=63,frag=no),udp(dst=8888)"
Flow: udp,in_port=3,vlan_tci=0x0000,dl_src=22:49:4e:1e:5b:63,dl_dst=aa:aa:aa:cc:cc:01,nw_src=192.168.100.11,nw_dst=10.0.0.11,nw_tos=0,nw_ecn=0,nw_ttl=63,tp_src=0,tp_dst=8888
bridge("breth0")
----------------
xxx New wildcards: recirc_id=0,eth,ip,in_port=3,nw_frag=no
0. priority 0
NORMAL
-> no learned MAC for destination, flooding
@hzhou8
hzhou8 / megaflow-logs
Last active September 29, 2018 00:51
ovn megaflow problem
[ example of megaflows ]
recirc_id(0),in_port(2),eth(src=00:1b:17:00:3d:26,dst=74:db:d1:80:6f:e0),eth_type(0x8100),vlan(vid=402,pcp=0),encap(eth_type(0x0800),ipv4(src=10.192.0.0/255.192.0.0,dst=10.148.196.42,proto=17,tos=0/0x3,ttl=120,frag=no),udp(dst=59964)), packets:0, bytes:0, used:never, actions:ct_clear,ct_clear,set(tunnel(tun_id=0xff021800000f,dst=10.30.74.66,ttl=64,tp_dst=7471,flags(df|csum|key))),set(eth(src=74:db:d1:80:f6:d9,dst=74:db:d1:80:f7:c5)),set(ipv4(src=10.192.0.0/255.192.0.0,dst=10.148.196.42,ttl=119)),pop_vlan,3
recirc_id(0),in_port(2),eth(src=00:1b:17:00:3d:26,dst=74:db:d1:80:6f:e0),eth_type(0x8100),vlan(vid=402,pcp=0),encap(eth_type(0x0800),ipv4(src=10.192.0.0/255.192.0.0,dst=10.148.196.42,proto=17,tos=0/0x3,ttl=120,frag=no),udp(dst=49705)), packets:0, bytes:0, used:never, actions:ct_clear,ct_clear,set(tunnel(tun_id=0xff021800000f,dst=10.30.74.66,ttl=64,tp_dst=7471,flags(df|csum|key))),set(eth(src=74:db:d1:80:f6:d9,dst=74:db:d1:80:f7:c5)),set(ipv4(src=10.192.0.0/255.192.0.0,dst=10.148.19