Skip to content

Instantly share code, notes, and snippets.

@jianzzha
Created March 20, 2018 16:38
Show Gist options
  • Save jianzzha/d6885760d05fa9bf4718c77088740ad3 to your computer and use it in GitHub Desktop.
Save jianzzha/d6885760d05fa9bf4718c77088740ad3 to your computer and use it in GitHub Desktop.
after garp is disabled, explict enty in the flow table
[root@compute-0 ~]# ovs-ofctl dump-flows br-int -O openflow13
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x8000000, duration=5926.081s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=2,vlan_tci=0x0000/0x1fff actions=write_metadata:0x50000000001/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=5922.311s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=3,vlan_tci=0x0000/0x1fff actions=write_metadata:0x80000000001/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=5918.697s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=1,vlan_tci=0x0000/0x1fff actions=write_metadata:0xc0000000001/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=1064.142s, table=0, n_packets=10544, n_bytes=831042, priority=4,in_port=7,vlan_tci=0x0000/0x1fff actions=write_metadata:0x60000000000/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=1064.138s, table=0, n_packets=56822, n_bytes=83431431, priority=10,in_port=2,dl_vlan=200 actions=pop_vlan,write_metadata:0x90000000001/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=1060.365s, table=0, n_packets=28913101, n_bytes=1734794010, priority=4,in_port=8,vlan_tci=0x0000/0x1fff actions=write_metadata:0xb0000000000/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=1060.365s, table=0, n_packets=26673950, n_bytes=1707132800, priority=10,in_port=3,dl_vlan=300 actions=pop_vlan,write_metadata:0xa0000000001/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=1056.747s, table=0, n_packets=26661320, n_bytes=1599687044, priority=4,in_port=9,vlan_tci=0x0000/0x1fff actions=write_metadata:0x70000000000/0xffffff0000000001,goto_table:17
cookie=0x8000000, duration=1056.747s, table=0, n_packets=28990511, n_bytes=1855392704, priority=10,in_port=1,dl_vlan=301 actions=pop_vlan,write_metadata:0x40000000001/0xffffff0000000001,goto_table:17
cookie=0x8040000, duration=1063.522s, table=17, n_packets=10544, n_bytes=831042, priority=10,metadata=0x60000000000/0xffffff0000000000 actions=load:0x6->NXM_NX_REG1[0..19],load:0x138a->NXM_NX_REG7[0..15],write_metadata:0xa00006138a000000/0xfffffffffffffffe,goto_table:43
cookie=0x8040000, duration=1063.225s, table=17, n_packets=56822, n_bytes=83431431, priority=10,metadata=0x90000000000/0xffffff0000000000 actions=load:0x9->NXM_NX_REG1[0..19],load:0x138a->NXM_NX_REG7[0..15],write_metadata:0xa00009138a000000/0xfffffffffffffffe,goto_table:43
cookie=0x8040000, duration=1059.765s, table=17, n_packets=28913101, n_bytes=1734794010, priority=10,metadata=0xb0000000000/0xffffff0000000000 actions=load:0xb->NXM_NX_REG1[0..19],load:0x138c->NXM_NX_REG7[0..15],write_metadata:0xa0000b138c000000/0xfffffffffffffffe,goto_table:43
cookie=0x8040000, duration=1059.456s, table=17, n_packets=26673950, n_bytes=1707132800, priority=10,metadata=0xa0000000000/0xffffff0000000000 actions=load:0xa->NXM_NX_REG1[0..19],load:0x138c->NXM_NX_REG7[0..15],write_metadata:0xa0000a138c000000/0xfffffffffffffffe,goto_table:43
cookie=0x8040000, duration=1056.145s, table=17, n_packets=26661320, n_bytes=1599687044, priority=10,metadata=0x70000000000/0xffffff0000000000 actions=load:0x7->NXM_NX_REG1[0..19],load:0x138b->NXM_NX_REG7[0..15],write_metadata:0xa00007138b000000/0xfffffffffffffffe,goto_table:43
cookie=0x8040000, duration=1055.844s, table=17, n_packets=28990511, n_bytes=1855392704, priority=10,metadata=0x40000000000/0xffffff0000000000 actions=load:0x4->NXM_NX_REG1[0..19],load:0x138b->NXM_NX_REG7[0..15],write_metadata:0xa00004138b000000/0xfffffffffffffffe,goto_table:43
cookie=0x8000000, duration=7267.422s, table=17, n_packets=0, n_bytes=0, priority=0,metadata=0x8000000000000000/0xf000000000000000 actions=write_metadata:0x9000000000000000/0xf000000000000000,goto_table:80
cookie=0x6800000, duration=7267.422s, table=18, n_packets=0, n_bytes=0, priority=0 actions=goto_table:38
cookie=0x8220015, duration=7267.345s, table=19, n_packets=0, n_bytes=0, priority=100,arp,arp_op=1 actions=resubmit(,17)
cookie=0x8220016, duration=7267.345s, table=19, n_packets=0, n_bytes=0, priority=100,arp,arp_op=2 actions=resubmit(,17)
cookie=0x1080000, duration=7267.344s, table=19, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x1030000, duration=7267.344s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000004, duration=7267.344s, table=22, n_packets=0, n_bytes=0, priority=0 actions=CONTROLLER:65535
cookie=0x1080000, duration=7267.344s, table=23, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x822002d, duration=7266.897s, table=43, n_packets=61, n_bytes=3238, priority=100,arp,arp_op=1 actions=group:5000
cookie=0x822002e, duration=7266.897s, table=43, n_packets=35, n_bytes=1974, priority=100,arp,arp_op=2 actions=CONTROLLER:65535,resubmit(,48)
cookie=0x8220000, duration=7267.217s, table=43, n_packets=111307811, n_bytes=6981780338, priority=0 actions=goto_table:48
cookie=0x4000000, duration=7267.422s, table=45, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x8500000, duration=7267.344s, table=48, n_packets=111307907, n_bytes=6981785550, priority=0 actions=resubmit(,49),resubmit(,50)
cookie=0x8600000, duration=7.534s, table=49, n_packets=3125856, n_bytes=200054784, hard_timeout=10, priority=0,reg1=0x4/0xfffff,dl_src=ec:f4:bb:dc:93:9a actions=load:0x1->NXM_NX_REG4[0..7]
cookie=0x8600000, duration=7.534s, table=49, n_packets=3125853, n_bytes=200054592, hard_timeout=10, priority=0,reg1=0xa/0xfffff,dl_src=ec:f4:bb:dc:93:98 actions=load:0x1->NXM_NX_REG4[0..7]
cookie=0x8600000, duration=7.534s, table=49, n_packets=3117992, n_bytes=187079520, hard_timeout=10, priority=0,reg1=0xb/0xfffff,dl_src=ec:f4:bb:dc:93:9a actions=load:0x1->NXM_NX_REG4[0..7]
cookie=0x8600000, duration=7.534s, table=49, n_packets=3118777, n_bytes=187126620, hard_timeout=10, priority=0,reg1=0x7/0xfffff,dl_src=ec:f4:bb:dc:93:98 actions=load:0x1->NXM_NX_REG4[0..7]
cookie=0x805138a, duration=1063.522s, table=50, n_packets=10544, n_bytes=831042, priority=20,metadata=0x6138a000000/0xfffffffff000000,dl_src=fa:16:3e:ee:f3:55 actions=goto_table:51
cookie=0x805138c, duration=1059.765s, table=50, n_packets=0, n_bytes=0, priority=20,metadata=0xb138c000000/0xfffffffff000000,dl_src=fa:16:3e:21:f7:ae actions=goto_table:51
cookie=0x805138b, duration=1056.145s, table=50, n_packets=0, n_bytes=0, priority=20,metadata=0x7138b000000/0xfffffffff000000,dl_src=fa:16:3e:17:3c:fd actions=goto_table:51
cookie=0x805138a, duration=1038.239s, table=50, n_packets=56546, n_bytes=83396376, idle_timeout=300, send_flow_rem priority=20,metadata=0x9138a000000/0xfffffffff000000,dl_src=3c:fd:fe:a9:cd:fc actions=goto_table:51
cookie=0x805138b, duration=753.001s, table=50, n_packets=147, n_bytes=16611, idle_timeout=300, send_flow_rem priority=20,metadata=0x7138b000000/0xfffffffff000000,dl_src=00:00:00:00:00:00 actions=goto_table:51
cookie=0x805138c, duration=753.001s, table=50, n_packets=149, n_bytes=16837, idle_timeout=300, send_flow_rem priority=20,metadata=0xb138c000000/0xfffffffff000000,dl_src=00:00:00:00:00:00 actions=goto_table:51
cookie=0x805138c, duration=6.356s, table=50, n_packets=2999843, n_bytes=179990580, idle_timeout=300, send_flow_rem priority=20,metadata=0xb138c000000/0xfffffffff000000,dl_src=ec:f4:bb:dc:93:9a actions=goto_table:51
cookie=0x805138b, duration=6.356s, table=50, n_packets=2999864, n_bytes=191991296, idle_timeout=300, send_flow_rem priority=20,metadata=0x4138b000000/0xfffffffff000000,dl_src=ec:f4:bb:dc:93:9a actions=goto_table:51
cookie=0x805138b, duration=6.356s, table=50, n_packets=2999889, n_bytes=179993340, idle_timeout=300, send_flow_rem priority=20,metadata=0x7138b000000/0xfffffffff000000,dl_src=ec:f4:bb:dc:93:98 actions=goto_table:51
cookie=0x805138c, duration=6.356s, table=50, n_packets=2999857, n_bytes=191990848, idle_timeout=300, send_flow_rem priority=20,metadata=0xa138c000000/0xfffffffff000000,dl_src=ec:f4:bb:dc:93:98 actions=goto_table:51
cookie=0x8050001, duration=7267.217s, table=50, n_packets=95143222, n_bytes=5898949288, priority=10,reg4=0x1 actions=goto_table:51
cookie=0x8050000, duration=7267.344s, table=50, n_packets=4095918, n_bytes=254058970, priority=0 actions=CONTROLLER:65535,learn(table=49,hard_timeout=10,priority=0,cookie=0x8600000,NXM_OF_ETH_SRC[],NXM_NX_REG1[0..19],load:0x1->NXM_NX_REG4[0..7]),goto_table:51
cookie=0x803138a, duration=1063.522s, table=51, n_packets=56822, n_bytes=83431431, priority=20,metadata=0x138a000000/0xffff000000,dl_dst=fa:16:3e:ee:f3:55 actions=load:0x600->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138c, duration=1059.765s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138c000000/0xffff000000,dl_dst=fa:16:3e:21:f7:ae actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138b, duration=1056.145s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=fa:16:3e:17:3c:fd actions=load:0x700->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138a, duration=1038.239s, table=51, n_packets=10122, n_bytes=790065, priority=20,metadata=0x138a000000/0xffff000000,dl_dst=3c:fd:fe:a9:cd:fc actions=load:0x900->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138b, duration=753.001s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=00:00:00:00:00:00 actions=load:0x700->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138c, duration=753.001s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138c000000/0xffff000000,dl_dst=00:00:00:00:00:00 actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138c, duration=6.356s, table=51, n_packets=2999857, n_bytes=191990848, priority=20,metadata=0x138c000000/0xffff000000,dl_dst=ec:f4:bb:dc:93:9a actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138b, duration=6.356s, table=51, n_packets=2999889, n_bytes=179993340, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=ec:f4:bb:dc:93:9a actions=load:0x400->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138b, duration=6.356s, table=51, n_packets=2999864, n_bytes=191991296, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=ec:f4:bb:dc:93:98 actions=load:0x700->NXM_NX_REG6[],resubmit(,220)
cookie=0x803138c, duration=6.356s, table=51, n_packets=2999843, n_bytes=179990580, priority=20,metadata=0x138c000000/0xffff000000,dl_dst=ec:f4:bb:dc:93:98 actions=load:0xa00->NXM_NX_REG6[],resubmit(,220)
cookie=0x8030000, duration=7267.217s, table=51, n_packets=0, n_bytes=0, priority=15,dl_dst=01:80:c2:00:00:00/ff:ff:ff:ff:ff:f0 actions=drop
cookie=0x8030000, duration=7267.217s, table=51, n_packets=99239501, n_bytes=6153047090, priority=0 actions=goto_table:52
cookie=0x870138a, duration=1063.522s, table=52, n_packets=16, n_bytes=1921, priority=5,metadata=0x138a000000/0xffff000001 actions=write_actions(group:210004)
cookie=0x870138a, duration=1063.522s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138a000001/0xffff000001 actions=write_actions(group:210003)
cookie=0x870138c, duration=1059.765s, table=52, n_packets=25913258, n_bytes=1554803430, priority=5,metadata=0x138c000000/0xffff000001 actions=write_actions(group:210008)
cookie=0x870138c, duration=1059.765s, table=52, n_packets=23674093, n_bytes=1515141952, priority=5,metadata=0x138c000001/0xffff000001 actions=write_actions(group:210007)
cookie=0x870138b, duration=1056.145s, table=52, n_packets=25990647, n_bytes=1663401408, priority=5,metadata=0x138b000001/0xffff000001 actions=write_actions(group:210005)
cookie=0x870138b, duration=1056.145s, table=52, n_packets=23661431, n_bytes=1419693704, priority=5,metadata=0x138b000000/0xffff000001 actions=write_actions(group:210006)
cookie=0x8800006, duration=1063.522s, table=55, n_packets=16, n_bytes=1921, priority=10,tun_id=0x6,metadata=0x60000000000/0xfffff0000000000 actions=drop
cookie=0x8800009, duration=1063.227s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x9,metadata=0x90000000000/0xfffff0000000000 actions=drop
cookie=0x880000b, duration=1059.765s, table=55, n_packets=25913258, n_bytes=1554803430, priority=10,tun_id=0xb,metadata=0xb0000000000/0xfffff0000000000 actions=drop
cookie=0x880000a, duration=1059.464s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0xa,metadata=0xa0000000000/0xfffff0000000000 actions=drop
cookie=0x8800007, duration=1056.145s, table=55, n_packets=23661431, n_bytes=1419693704, priority=10,tun_id=0x7,metadata=0x70000000000/0xfffff0000000000 actions=drop
cookie=0x8800004, duration=1055.845s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x4,metadata=0x40000000000/0xfffff0000000000 actions=drop
cookie=0x8800006, duration=1063.522s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x6 actions=load:0x600->NXM_NX_REG6[],resubmit(,220)
cookie=0x8800009, duration=1063.227s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x9 actions=load:0x900->NXM_NX_REG6[],resubmit(,220)
cookie=0x880000b, duration=1059.765s, table=55, n_packets=23674093, n_bytes=1515141952, priority=9,tun_id=0xb actions=load:0xb00->NXM_NX_REG6[],resubmit(,220)
cookie=0x880000a, duration=1059.464s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0xa actions=load:0xa00->NXM_NX_REG6[],resubmit(,220)
cookie=0x8800007, duration=1056.145s, table=55, n_packets=25990647, n_bytes=1663401408, priority=9,tun_id=0x7 actions=load:0x700->NXM_NX_REG6[],resubmit(,220)
cookie=0x8800004, duration=1055.845s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x4 actions=load:0x400->NXM_NX_REG6[],resubmit(,220)
cookie=0x6800000, duration=7267.422s, table=60, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x1030000, duration=7267.344s, table=80, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x8220000, duration=7267.217s, table=81, n_packets=61, n_bytes=3238, priority=0 actions=drop
cookie=0x4000001, duration=7267.422s, table=90, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17)
cookie=0x6900000, duration=7267.211s, table=211, n_packets=0, n_bytes=0, priority=63009,arp actions=drop
cookie=0x6900000, duration=7267.211s, table=211, n_packets=0, n_bytes=0, priority=61009,ip actions=drop
cookie=0x6900000, duration=7267.211s, table=211, n_packets=0, n_bytes=0, priority=61009,ipv6 actions=drop
cookie=0x6900000, duration=7267.422s, table=211, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x6900000, duration=7267.422s, table=212, n_packets=0, n_bytes=0, priority=0 actions=goto_table:213
cookie=0x6900000, duration=7267.217s, table=213, n_packets=0, n_bytes=0, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,17)
cookie=0x6900000, duration=7267.217s, table=213, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,17)
cookie=0x6900000, duration=7267.422s, table=213, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x8000007, duration=5926.071s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x500,metadata=0x1/0x1 actions=drop
cookie=0x8000007, duration=5922.303s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x800,metadata=0x1/0x1 actions=drop
cookie=0x8000007, duration=5918.692s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0xc00,metadata=0x1/0x1 actions=drop
cookie=0x8000007, duration=1064.133s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x900,metadata=0x1/0x1 actions=drop
cookie=0x8000007, duration=1060.362s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0xa00,metadata=0x1/0x1 actions=drop
cookie=0x8000007, duration=1056.746s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x400,metadata=0x1/0x1 actions=drop
cookie=0x8000007, duration=5926.071s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0x500 actions=output:2
cookie=0x8000007, duration=5922.302s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0x800 actions=output:3
cookie=0x8000007, duration=5918.692s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0xc00 actions=output:1
cookie=0x8000007, duration=1064.138s, table=220, n_packets=56822, n_bytes=83431431, priority=9,reg6=0x600 actions=output:7
cookie=0x8000007, duration=1064.133s, table=220, n_packets=10544, n_bytes=831042, priority=9,reg6=0x900 actions=push_vlan:0x8100,set_field:4296->vlan_vid,output:2
cookie=0x8000007, duration=1060.365s, table=220, n_packets=26673950, n_bytes=1707132800, priority=9,reg6=0xb00 actions=output:8
cookie=0x8000007, duration=1060.362s, table=220, n_packets=28913101, n_bytes=1734794010, priority=9,reg6=0xa00 actions=push_vlan:0x8100,set_field:4396->vlan_vid,output:3
cookie=0x8000007, duration=1056.747s, table=220, n_packets=28990511, n_bytes=1855392704, priority=9,reg6=0x700 actions=output:9
cookie=0x8000007, duration=1056.746s, table=220, n_packets=26661320, n_bytes=1599687044, priority=9,reg6=0x400 actions=push_vlan:0x8100,set_field:4397->vlan_vid,output:1
cookie=0x8000230, duration=7267.422s, table=230, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,220)
cookie=0x8000231, duration=7267.422s, table=231, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,220)
cookie=0x6900000, duration=7267.193s, table=239, n_packets=0, n_bytes=0, priority=62020,ct_state=+trk,ip actions=ct(table=241)
cookie=0x6900000, duration=7267.193s, table=239, n_packets=0, n_bytes=0, priority=62020,ct_state=+trk,ipv6 actions=ct(table=241)
cookie=0x6900000, duration=7267.193s, table=239, n_packets=0, n_bytes=0, priority=61010 actions=goto_table:241
cookie=0x6900000, duration=7267.215s, table=241, n_packets=0, n_bytes=0, priority=61010,ip,dl_dst=ff:ff:ff:ff:ff:ff,nw_dst=255.255.255.255 actions=goto_table:242
cookie=0x6900000, duration=7267.215s, table=241, n_packets=0, n_bytes=0, priority=61005,dl_dst=ff:ff:ff:ff:ff:ff actions=resubmit(,220)
cookie=0x6900000, duration=7267.215s, table=241, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x6900000, duration=7267.215s, table=242, n_packets=0, n_bytes=0, priority=0 actions=goto_table:243
cookie=0x6900000, duration=7267.211s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,220)
cookie=0x6900000, duration=7267.211s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,220)
cookie=0x6900000, duration=7267.214s, table=243, n_packets=0, n_bytes=0, priority=0 actions=drop
[root@compute-0 ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment