|
Multi DPN
Configure ELAN/ELAN ports
2 hosts in DPN1 and 2 Host DPN2
ping MAC learning happens with MAC timeout set to 100
Restart the DPN
Table 50 is not programmed but Table51 is still available .
In this case since Table 51 entries are not removed .
If the host MAC changes or MAC move happens. Datapath fails .
mininet> sh ovs-ofctl -O OpenFlow13 dump-flows s1
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x8000000, duration=23.999s, table=0, n_packets=2, n_bytes=148, priority=10,in_port=1,dl_vlan=1000 actions=pop_vlan,write_metadata:0x270000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=23.990s, table=0, n_packets=2, n_bytes=148, priority=10,in_port=2,dl_vlan=2000 actions=pop_vlan,write_metadata:0x280000000000/0xffffff0000000000,goto_table:16
cookie=0x8000001, duration=24.022s, table=0, n_packets=5, n_bytes=425, priority=5,in_port=5 actions=write_metadata:0x240000000000/0x1fffff0000000000,goto_table:36
cookie=0x8000000, duration=23.999s, table=0, n_packets=2, n_bytes=140, priority=4,in_port=1 actions=write_metadata:0x250000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=23.990s, table=0, n_packets=2, n_bytes=140, priority=4,in_port=2 actions=write_metadata:0x260000000000/0xffffff0000000000,goto_table:16
cookie=0x6800000, duration=26.971s, table=16, n_packets=8, n_bytes=576, priority=0 actions=goto_table:17
cookie=0x1030000, duration=26.967s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000003, duration=26.967s, table=21, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x9000000, duration=26.967s, table=36, n_packets=5, n_bytes=425, priority=5,tun_id=0 actions=CONTROLLER:65535
cookie=0x9001388, duration=26.967s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x1388 actions=write_actions(group:210000)
cookie=0x9000028, duration=21.478s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x28 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8051388, duration=21.481s, table=50, n_packets=1, n_bytes=74, idle_timeout=100, send_flow_rem priority=20,metadata=0x281388000000/0x1fffffffff000000,dl_src=4e:cc:7f:a3:7d:7f actions=goto_table:51
cookie=0x8050000, duration=26.971s, table=50, n_packets=1, n_bytes=74, priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8031388, duration=26.970s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=6e:04:c0:d2:d5:73 actions=set_field:0x3->tun_id,output:5
cookie=0x8031388, duration=26.970s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=7e:01:8f:50:e1:28 actions=set_field:0xc->tun_id,output:6
cookie=0x8031388, duration=26.967s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=f2:7b:52:9d:e5:98 actions=set_field:0x12->tun_id,output:6
cookie=0x8031388, duration=21.475s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=4e:cc:7f:a3:7d:7f actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8030000, duration=26.970s, table=51, n_packets=2, n_bytes=148, priority=0 actions=goto_table:52
cookie=0x8701388, duration=26.967s, table=52, n_packets=2, n_bytes=148, priority=5,metadata=0x1388000000/0xffff000000 actions=write_actions(group:210000)
cookie=0x8800015, duration=26.967s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x15,metadata=0x150000000000/0x1fffff0000000000 actions=drop
cookie=0x8800007, duration=26.965s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x7,metadata=0x70000000000/0x1fffff0000000000 actions=drop
cookie=0x8800015, duration=26.967s, table=55, n_packets=2, n_bytes=148, priority=9,tun_id=0x15 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8800007, duration=26.965s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x7 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
mininet>
mininet> sh ovs-ofctl -O OpenFlow13 dump-flows s2
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x8000000, duration=385.231s, table=0, n_packets=3, n_bytes=242, priority=10,in_port=1,dl_vlan=1000 actions=pop_vlan,write_metadata:0xc0000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=385.224s, table=0, n_packets=3, n_bytes=242, priority=10,in_port=2,dl_vlan=2000 actions=pop_vlan,write_metadata:0x120000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=385.231s, table=0, n_packets=5, n_bytes=390, priority=4,in_port=1 actions=write_metadata:0x80000000000/0xffffff0000000000,goto_table:16
cookie=0x8000000, duration=385.224s, table=0, n_packets=5, n_bytes=390, priority=4,in_port=2 actions=write_metadata:0x70000000000/0xffffff0000000000,goto_table:16
cookie=0x8000001, duration=384.340s, table=0, n_packets=59, n_bytes=5015, priority=5,in_port=6 actions=write_metadata:0xf0000000000/0x1fffff0000000000,goto_table:36
cookie=0x6800000, duration=642.073s, table=16, n_packets=21, n_bytes=1662, priority=0 actions=goto_table:17
cookie=0x8040000, duration=343.556s, table=17, n_packets=0, n_bytes=0, priority=3,metadata=0xc0000000000/0xffffff0000000000 actions=write_metadata:0x80000c1388000000/0xffffffffff000000,goto_table:50
cookie=0x8040000, duration=323.556s, table=17, n_packets=0, n_bytes=0, priority=3,metadata=0x120000000000/0xffffff0000000000 actions=write_metadata:0x8000121388000000/0xffffffffff000000,goto_table:50
cookie=0x1030000, duration=642.073s, table=20, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x8000003, duration=642.073s, table=21, n_packets=0, n_bytes=0, priority=0 actions=goto_table:80
cookie=0x9000000, duration=642.073s, table=36, n_packets=108, n_bytes=9180, priority=5,tun_id=0 actions=CONTROLLER:65535
cookie=0x9000003, duration=451.103s, table=36, n_packets=3, n_bytes=238, priority=5,tun_id=0x3 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x900000c, duration=381.452s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0xc actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x9000012, duration=381.220s, table=36, n_packets=0, n_bytes=0, priority=5,tun_id=0x12 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x9001388, duration=530.480s, table=36, n_packets=2, n_bytes=140, priority=5,tun_id=0x1388 actions=write_actions(group:210000)
cookie=0x8050000, duration=642.073s, table=50, n_packets=4, n_bytes=296, priority=0 actions=CONTROLLER:65535,goto_table:51
cookie=0x8031388, duration=451.089s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=6e:04:c0:d2:d5:73 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8031388, duration=381.446s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=7e:01:8f:50:e1:28 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8031388, duration=381.214s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=f2:7b:52:9d:e5:98 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
cookie=0x8030000, duration=642.073s, table=51, n_packets=5, n_bytes=370, priority=0 actions=goto_table:52
cookie=0x8701388, duration=530.475s, table=52, n_packets=5, n_bytes=370, priority=5,metadata=0x1388000000/0xffff000000 actions=write_actions(group:210000)
cookie=0x8800003, duration=530.468s, table=55, n_packets=2, n_bytes=148, priority=10,tun_id=0x3,metadata=0x30000000000/0x1fffff0000000000 actions=drop
cookie=0x880000c, duration=344.478s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0xc,metadata=0xc0000000000/0x1fffff0000000000 actions=drop
cookie=0x8800012, duration=324.452s, table=55, n_packets=0, n_bytes=0, priority=10,tun_id=0x12,metadata=0x120000000000/0x1fffff0000000000 actions=drop
cookie=0x8800003, duration=530.472s, table=55, n_packets=5, n_bytes=362, priority=9,tun_id=0x3 actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x880000c, duration=344.480s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0xc actions=push_vlan:0x8100,set_field:5096->vlan_vid,output:1
cookie=0x8800012, duration=324.455s, table=55, n_packets=0, n_bytes=0, priority=9,tun_id=0x12 actions=push_vlan:0x8100,set_field:6096->vlan_vid,output:2
mininet>
|