Created
May 7, 2018 18:51
-
-
Save jianzzha/bec2f0c76c069ff962ca6a6b8fa18334 to your computer and use it in GitHub Desktop.
if data port use vlan provider network, then the flow table has entry points to data ports (output:1 and output:2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@compute-0 heat-admin]# ovs-ofctl dump-flows br-int -Oopenflow13 | |
OFPST_FLOW reply (OF1.3) (xid=0x2): | |
cookie=0x8000000, duration=8853.370s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=3,vlan_tci=0x0000/0x1fff actions=write_metadata:0x60000000001/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=75.559s, table=0, n_packets=274, n_bytes=25990, priority=4,in_port=7,vlan_tci=0x0000/0x1fff actions=write_metadata:0x50000000000/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=75.551s, table=0, n_packets=166, n_bytes=23532, priority=10,in_port=3,dl_vlan=200 actions=pop_vlan,write_metadata:0x80000000001/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=72.755s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=8,vlan_tci=0x0000/0x1fff actions=write_metadata:0x70000000000/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=72.740s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=2,vlan_tci=0x0000/0x1fff actions=write_metadata:0x40000000001/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=72.740s, table=0, n_packets=0, n_bytes=0, priority=10,in_port=2,dl_vlan=250 actions=pop_vlan,write_metadata:0x90000000001/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=70.087s, table=0, n_packets=0, n_bytes=0, priority=4,in_port=9,vlan_tci=0x0000/0x1fff actions=write_metadata:0xa0000000000/0xffffff0000000001,goto_table:17 | |
cookie=0x8000000, duration=70.072s, 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=70.072s, table=0, n_packets=0, n_bytes=0, priority=10,in_port=1,dl_vlan=251 actions=pop_vlan,write_metadata:0xb0000000001/0xffffff0000000001,goto_table:17 | |
cookie=0x8040000, duration=74.947s, table=17, n_packets=274, n_bytes=25990, priority=10,metadata=0x50000000000/0xffffff0000000000 actions=load:0x5->NXM_NX_REG1[0..19],load:0x138a->NXM_NX_REG7[0..15],write_metadata:0xa00005138a000000/0xfffffffffffffffe,goto_table:43 | |
cookie=0x8040000, duration=74.645s, table=17, n_packets=166, n_bytes=23532, priority=10,metadata=0x80000000000/0xffffff0000000000 actions=load:0x8->NXM_NX_REG1[0..19],load:0x138a->NXM_NX_REG7[0..15],write_metadata:0xa00008138a000000/0xfffffffffffffffe,goto_table:43 | |
cookie=0x8040000, duration=72.147s, table=17, n_packets=0, n_bytes=0, priority=10,metadata=0x70000000000/0xffffff0000000000 actions=load:0x7->NXM_NX_REG1[0..19],load:0x138c->NXM_NX_REG7[0..15],write_metadata:0xa00007138c000000/0xfffffffffffffffe,goto_table:43 | |
cookie=0x8040000, duration=71.845s, table=17, n_packets=0, n_bytes=0, priority=10,metadata=0x90000000000/0xffffff0000000000 actions=load:0x9->NXM_NX_REG1[0..19],load:0x138c->NXM_NX_REG7[0..15],write_metadata:0xa00009138c000000/0xfffffffffffffffe,goto_table:43 | |
cookie=0x8040000, duration=69.480s, table=17, n_packets=0, n_bytes=0, priority=10,metadata=0xa0000000000/0xffffff0000000000 actions=load:0xa->NXM_NX_REG1[0..19],load:0x138b->NXM_NX_REG7[0..15],write_metadata:0xa0000a138b000000/0xfffffffffffffffe,goto_table:43 | |
cookie=0x8040000, duration=69.178s, table=17, n_packets=0, n_bytes=0, priority=10,metadata=0xb0000000000/0xffffff0000000000 actions=load:0xb->NXM_NX_REG1[0..19],load:0x138b->NXM_NX_REG7[0..15],write_metadata:0xa0000b138b000000/0xfffffffffffffffe,goto_table:43 | |
cookie=0x8000000, duration=60583.587s, table=17, n_packets=0, n_bytes=0, priority=0,metadata=0x8000000000000000/0xf000000000000000 actions=write_metadata:0x9000000000000000/0xf000000000000000,goto_table:80 | |
cookie=0x6800000, duration=60583.560s, table=18, n_packets=0, n_bytes=0, priority=0 actions=goto_table:38 | |
cookie=0x8220015, duration=60583.524s, table=19, n_packets=0, n_bytes=0, priority=100,arp,arp_op=1 actions=resubmit(,17) | |
cookie=0x8220016, duration=60583.524s, table=19, n_packets=0, n_bytes=0, priority=100,arp,arp_op=2 actions=resubmit(,17) | |
cookie=0x1080000, duration=60583.524s, table=19, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17) | |
cookie=0x1030000, duration=60583.524s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80 | |
cookie=0x8000004, duration=60583.524s, table=22, n_packets=0, n_bytes=0, priority=0 actions=CONTROLLER:65535 | |
cookie=0x1080000, duration=60583.524s, table=23, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17) | |
cookie=0x822002d, duration=60583.043s, table=43, n_packets=60, n_bytes=2952, priority=100,arp,arp_op=1 actions=group:5000 | |
cookie=0x822002e, duration=60583.043s, table=43, n_packets=48, n_bytes=2664, priority=100,arp,arp_op=2 actions=CONTROLLER:65535,resubmit(,48) | |
cookie=0x8220000, duration=60583.353s, table=43, n_packets=1074, n_bytes=129831, priority=0 actions=goto_table:48 | |
cookie=0x4000000, duration=60583.560s, table=45, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17) | |
cookie=0x8500000, duration=60583.524s, table=48, n_packets=1182, n_bytes=135447, priority=0 actions=resubmit(,49),resubmit(,50) | |
cookie=0x805138a, duration=74.947s, table=50, n_packets=274, n_bytes=25990, priority=20,metadata=0x5138a000000/0xfffffffff000000,dl_src=fa:16:3e:78:9a:53 actions=goto_table:51 | |
cookie=0x805138c, duration=72.147s, table=50, n_packets=0, n_bytes=0, priority=20,metadata=0x7138c000000/0xfffffffff000000,dl_src=fa:16:3e:3f:ee:ef actions=goto_table:51 | |
cookie=0x805138b, duration=69.481s, table=50, n_packets=0, n_bytes=0, priority=20,metadata=0xa138b000000/0xfffffffff000000,dl_src=fa:16:3e:99:61:3c actions=goto_table:51 | |
cookie=0x805138a, duration=56.609s, table=50, n_packets=137, n_bytes=17294, idle_timeout=300, send_flow_rem priority=20,metadata=0x8138a000000/0xfffffffff000000,dl_src=fa:16:3e:04:14:00 actions=goto_table:51 | |
cookie=0x805138a, duration=56.566s, table=50, n_packets=27, n_bytes=5773, idle_timeout=300, send_flow_rem priority=20,metadata=0x8138a000000/0xfffffffff000000,dl_src=3c:fd:fe:a9:cd:fc actions=goto_table:51 | |
cookie=0x8050001, duration=60583.353s, table=50, n_packets=0, n_bytes=0, priority=10,reg4=0x1 actions=goto_table:51 | |
cookie=0x8050000, duration=60583.524s, table=50, n_packets=8, n_bytes=1744, 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=74.947s, table=51, n_packets=166, n_bytes=23532, priority=20,metadata=0x138a000000/0xffff000000,dl_dst=fa:16:3e:78:9a:53 actions=load:0x500->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x803138c, duration=72.147s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138c000000/0xffff000000,dl_dst=fa:16:3e:3f:ee:ef actions=load:0x700->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x803138b, duration=69.481s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x138b000000/0xffff000000,dl_dst=fa:16:3e:99:61:3c actions=load:0xa00->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x803138a, duration=56.609s, table=51, n_packets=203, n_bytes=19528, priority=20,metadata=0x138a000000/0xffff000000,dl_dst=fa:16:3e:04:14:00 actions=load:0x800->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x803138a, duration=56.566s, table=51, n_packets=58, n_bytes=4967, priority=20,metadata=0x138a000000/0xffff000000,dl_dst=3c:fd:fe:a9:cd:fc actions=load:0x800->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x8030000, duration=60583.353s, 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=60583.353s, table=51, n_packets=47, n_bytes=4425, priority=0 actions=goto_table:52 | |
cookie=0x870138a, duration=74.947s, table=52, n_packets=13, n_bytes=1495, priority=5,metadata=0x138a000000/0xffff000001 actions=write_actions(group:210004) | |
cookie=0x870138a, duration=74.947s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138a000001/0xffff000001 actions=write_actions(group:210003) | |
cookie=0x870138c, duration=72.147s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138c000000/0xffff000001 actions=write_actions(group:210008) | |
cookie=0x870138c, duration=72.147s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138c000001/0xffff000001 actions=write_actions(group:210007) | |
cookie=0x870138b, duration=69.481s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138b000001/0xffff000001 actions=write_actions(group:210005) | |
cookie=0x870138b, duration=69.481s, table=52, n_packets=0, n_bytes=0, priority=5,metadata=0x138b000000/0xffff000001 actions=write_actions(group:210006) | |
cookie=0x8800005, duration=74.947s, table=55, n_packets=13, n_bytes=1495, priority=10,tun_id=0x5,metadata=0x50000000000/0xfffff0000000000 actions=drop | |
cookie=0x8800008, duration=74.647s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x8,metadata=0x80000000000/0xfffff0000000000 actions=drop | |
cookie=0x8800007, duration=72.147s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x7,metadata=0x70000000000/0xfffff0000000000 actions=drop | |
cookie=0x8800009, duration=71.846s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x9,metadata=0x90000000000/0xfffff0000000000 actions=drop | |
cookie=0x880000a, duration=69.481s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0xa,metadata=0xa0000000000/0xfffff0000000000 actions=drop | |
cookie=0x880000b, duration=69.179s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0xb,metadata=0xb0000000000/0xfffff0000000000 actions=drop | |
cookie=0x8800005, duration=74.947s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x5 actions=load:0x500->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x8800008, duration=74.647s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x8 actions=load:0x800->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x8800007, duration=72.147s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x7 actions=load:0x700->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x8800009, duration=71.846s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x9 actions=load:0x900->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x880000a, duration=69.481s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0xa actions=load:0xa00->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x880000b, duration=69.179s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0xb actions=load:0xb00->NXM_NX_REG6[],resubmit(,220) | |
cookie=0x6800000, duration=60583.560s, table=60, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17) | |
cookie=0x1030000, duration=60583.524s, table=80, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17) | |
cookie=0x8220000, duration=60583.353s, table=81, n_packets=60, n_bytes=2952, priority=0 actions=drop | |
cookie=0x4000001, duration=60583.560s, table=90, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,17) | |
cookie=0x6900000, duration=60583.353s, table=211, n_packets=0, n_bytes=0, priority=63009,arp actions=drop | |
cookie=0x6900000, duration=60583.353s, table=211, n_packets=0, n_bytes=0, priority=61009,ip actions=drop | |
cookie=0x6900000, duration=60583.353s, table=211, n_packets=0, n_bytes=0, priority=61009,ipv6 actions=drop | |
cookie=0x6900000, duration=60583.560s, table=211, n_packets=0, n_bytes=0, priority=0 actions=drop | |
cookie=0x6900000, duration=60583.560s, table=212, n_packets=0, n_bytes=0, priority=0 actions=goto_table:213 | |
cookie=0x6900000, duration=60583.353s, table=213, n_packets=0, n_bytes=0, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,17) | |
cookie=0x6900000, duration=60583.353s, table=213, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,17) | |
cookie=0x6900000, duration=60583.560s, table=213, n_packets=0, n_bytes=0, priority=0 actions=drop | |
cookie=0x8000007, duration=8853.364s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x600,metadata=0x1/0x1 actions=drop | |
cookie=0x8000007, duration=75.551s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x800,metadata=0x1/0x1 actions=drop | |
cookie=0x8000007, duration=72.740s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x900,metadata=0x1/0x1 actions=drop | |
cookie=0x8000007, duration=72.740s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0x400,metadata=0x1/0x1 actions=drop | |
cookie=0x8000007, duration=70.072s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0xb00,metadata=0x1/0x1 actions=drop | |
cookie=0x8000007, duration=70.072s, table=220, n_packets=0, n_bytes=0, priority=10,reg6=0xc00,metadata=0x1/0x1 actions=drop | |
cookie=0x8000007, duration=8853.364s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0x600 actions=output:3 | |
cookie=0x8000007, duration=75.551s, table=220, n_packets=166, n_bytes=23532, priority=9,reg6=0x500 actions=output:7 | |
cookie=0x8000007, duration=75.551s, table=220, n_packets=274, n_bytes=25990, priority=9,reg6=0x800 actions=push_vlan:0x8100,set_field:4296->vlan_vid,output:3 | |
cookie=0x8000007, duration=72.740s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0x700 actions=output:8 | |
cookie=0x8000007, duration=72.740s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0x900 actions=push_vlan:0x8100,set_field:4346->vlan_vid,output:2 | |
cookie=0x8000007, duration=72.740s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0x400 actions=output:2 | |
cookie=0x8000007, duration=70.072s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0xa00 actions=output:9 | |
cookie=0x8000007, duration=70.072s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0xb00 actions=push_vlan:0x8100,set_field:4347->vlan_vid,output:1 | |
cookie=0x8000007, duration=70.072s, table=220, n_packets=0, n_bytes=0, priority=9,reg6=0xc00 actions=output:1 | |
cookie=0x8000230, duration=60583.560s, table=230, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,220) | |
cookie=0x8000231, duration=60583.560s, table=231, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,220) | |
cookie=0x6900000, duration=60583.342s, table=239, n_packets=0, n_bytes=0, priority=62020,ct_state=+trk,ip actions=ct(table=241) | |
cookie=0x6900000, duration=60583.342s, table=239, n_packets=0, n_bytes=0, priority=62020,ct_state=+trk,ipv6 actions=ct(table=241) | |
cookie=0x6900000, duration=60583.342s, table=239, n_packets=0, n_bytes=0, priority=61010 actions=goto_table:241 | |
cookie=0x6900000, duration=60583.353s, 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=60583.353s, table=241, n_packets=0, n_bytes=0, priority=61005,dl_dst=ff:ff:ff:ff:ff:ff actions=resubmit(,220) | |
cookie=0x6900000, duration=60583.353s, table=241, n_packets=0, n_bytes=0, priority=0 actions=drop | |
cookie=0x6900000, duration=60583.353s, table=242, n_packets=0, n_bytes=0, priority=0 actions=goto_table:243 | |
cookie=0x6900000, duration=60583.353s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,220) | |
cookie=0x6900000, duration=60583.353s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,220) | |
cookie=0x6900000, duration=60583.353s, table=243, n_packets=0, n_bytes=0, priority=0 actions=drop | |
[root@compute-0 heat-admin]# | |
[root@compute-0 heat-admin]# | |
[root@compute-0 heat-admin]# ovs-ofctl show br-int -Oopenflow13 | |
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:0000c4ff214c97c5 | |
n_tables:254, n_buffers:0 | |
capabilities: FLOW_STATS TABLE_STATS PORT_STATS GROUP_STATS QUEUE_STATS | |
OFPST_PORT_DESC reply (OF1.3) (xid=0x3): | |
1(br-link1-patch): addr:c2:d9:79:1c:03:e6 | |
config: 0 | |
state: 0 | |
speed: 0 Mbps now, 0 Mbps max | |
2(br-link0-patch): addr:06:2c:7b:0d:1b:d7 | |
config: 0 | |
state: 0 | |
speed: 0 Mbps now, 0 Mbps max | |
3(br-access-patch): addr:9e:76:c3:0f:b5:24 | |
config: 0 | |
state: 0 | |
speed: 0 Mbps now, 0 Mbps max | |
7(vhu3fd2a890-af): addr:00:00:00:00:00:00 | |
config: 0 | |
state: 0 | |
speed: 0 Mbps now, 0 Mbps max | |
8(vhubd2ad905-98): addr:00:00:00:00:00:00 | |
config: 0 | |
state: 0 | |
speed: 0 Mbps now, 0 Mbps max | |
9(vhu8db45489-23): addr:00:00:00:00:00:00 | |
config: 0 | |
state: 0 | |
speed: 0 Mbps now, 0 Mbps max | |
LOCAL(br-int): addr:c4:ff:21:4c:97:c5 | |
config: PORT_DOWN | |
state: LINK_DOWN | |
current: 10MB-FD COPPER | |
speed: 10 Mbps now, 0 Mbps max | |
OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x5): frags=normal miss_send_len=0 | |
[root@compute-0 heat-admin]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment