-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: 1.1.0
-
Fix Version/s: 1.2.0
-
Component/s: None
-
Labels:
-
Epic Link:
-
Sprint:Blackbird Sprint 5 (Feb 16-27), Cardinal Sprint 4 (5/4-5/15)
Note: Default flows are added for single instance. This issue is only seen for multi instances
Example:
Using 2 switch linear topology and 3 ONOS instances:
sudo mn --topo linear,2 --mac --switch ovs,protocols=OpenFlow10 --controller remote,ip=10.128.20.11,port=6633
The flows are seen on the switch:
dpctl dump-flows
-
-
- s1 ------------------------------------------------------------------------
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=99.290s, table=0, n_packets=0, n_bytes=0, idle_age=389, priority=0 actions=drop
cookie=0x30000e80773b2, duration=54.312s, table=0, n_packets=18, n_bytes=1458, idle_age=0, priority=40000,dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x60000e7f7dafe, duration=54.264s, table=0, n_packets=0, n_bytes=0, idle_age=68, priority=5,ip actions=CONTROLLER:65535
cookie=0x30000e80781fc, duration=54.312s, table=0, n_packets=18, n_bytes=1458, idle_age=0, priority=40000,dl_type=0x8942 actions=CONTROLLER:65535
cookie=0x40000e7f7dbb8, duration=54.315s, table=0, n_packets=0, n_bytes=0, idle_age=385, priority=40000,arp actions=CONTROLLER:65535
cookie=0x60000e7f7dbb8, duration=54.312s, table=0, n_packets=0, n_bytes=0, idle_age=68, priority=5,arp actions=CONTROLLER:65535 - s2 ------------------------------------------------------------------------
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=99.296s, table=0, n_packets=0, n_bytes=0, idle_age=389, priority=0 actions=drop
cookie=0x30000e8077773, duration=54.271s, table=0, n_packets=18, n_bytes=1458, idle_age=0, priority=40000,dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x60000e7f7debf, duration=54.271s, table=0, n_packets=0, n_bytes=0, idle_age=68, priority=5,ip actions=CONTROLLER:65535
cookie=0x30000e80785bd, duration=54.284s, table=0, n_packets=18, n_bytes=1458, idle_age=0, priority=40000,dl_type=0x8942 actions=CONTROLLER:65535
cookie=0x40000e7f7df79, duration=54.270s, table=0, n_packets=0, n_bytes=0, idle_age=385, priority=40000,arp actions=CONTROLLER:65535
cookie=0x60000e7f7df79, duration=54.270s, table=0, n_packets=0, n_bytes=0, idle_age=68, priority=5,arp actions=CONTROLLER:65535
mininet>
- s1 ------------------------------------------------------------------------
-
On ONOS cli,
onos> flows
deviceId=of:0000000000000001, flowRuleCount=5
id=30000e80773b2, state=ADDED, bytes=14985, packets=185, duration=572, priority=40000, appId=org.onosproject.provider.lldp
selector=[ETH_TYPE
treatment=[OUTPUT{port=CONTROLLER}]
id=30000ed0f2dbd, state=ADDED, bytes=324, packets=4, duration=10, priority=40000, appId=org.onosproject.provider.lldp
selector=[ETH_TYPE{ethType=8942}]
treatment=[OUTPUT{port=CONTROLLER}]
id=400005d5d731a, state=PENDING_ADD, bytes=0, packets=0, duration=0, priority=40000, appId=org.onosproject.provider.host
selector=[ETH_TYPE{ethType=806}]
treatment=[OUTPUT{port=CONTROLLER}]
id=600005d5d7260, state=PENDING_ADD, bytes=0, packets=0, duration=0, priority=5, appId=org.onosproject.fwd
selector=[ETH_TYPE{ethType=800}]
treatment=[OUTPUT{port=CONTROLLER}]
id=60000ecff8779, state=ADDED, bytes=0, packets=0, duration=10, priority=5, appId=org.onosproject.fwd
selector=[ETH_TYPE{ethType=806}]
treatment=[OUTPUT{port=CONTROLLER}]
deviceId=of:0000000000000002, flowRuleCount=5
id=300005d6d1d1f, state=PENDING_ADD, bytes=0, packets=0, duration=0, priority=40000, appId=org.onosproject.provider.lldp
selector=[ETH_TYPE{ethType=8942}]
treatment=[OUTPUT{port=CONTROLLER}]
id=30000e8077773, state=ADDED, bytes=14985, packets=185, duration=571, priority=40000, appId=org.onosproject.provider.lldp
selector=[ETH_TYPE{ethType=88cc}
]
treatment=[OUTPUT
id=60000ecff8a80, state=ADDED, bytes=0, packets=0, duration=10, priority=5, appId=org.onosproject.fwd
selector=[ETH_TYPE{ethType=800}]
treatment=[OUTPUT{port=CONTROLLER}
]
id=60000ecff8b3a, state=ADDED, bytes=0, packets=0, duration=10, priority=5, appId=org.onosproject.fwd
selector=[ETH_TYPE
treatment=[OUTPUT{port=CONTROLLER}]
id=700005d5d76db, state=PENDING_ADD, bytes=0, packets=0, duration=0, priority=40000, appId=org.onosproject.proxyarp
selector=[ETH_TYPE{ethType=806}
]
treatment=[OUTPUT
]
***pcap file attached