-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Done
-
Affects Version/s: 1.6.0
-
Fix Version/s: 1.6.0
-
Component/s: None
-
Labels:
-
Environment:
Null provider with 8 devices. Use reroute topology. org.onosproject.net.intent.impl.compiler.IntentConfigurableRegistrator useflowObject set to true.
-
Story Points:3
-
Epic Link:
-
Sprint:Goldeneye Black Sprint #4
Pushed 1 intents from device 1/0 to 7/0, Then cut a link to reroute. But the flow is not been removed.
onos> null-link null:0000000000000004/1 null:0000000000000003/2 down
Cut the link between 4/1 and 3/2
onos> links
src=null:0000000000000008/2, dst=null:0000000000000004/3, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000001/1, dst=null:0000000000000002/1, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000002/1, dst=null:0000000000000001/1, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000003/1, dst=null:0000000000000002/2, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000005/1, dst=null:0000000000000004/2, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000006/1, dst=null:0000000000000005/2, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000007/1, dst=null:0000000000000006/2, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000008/1, dst=null:0000000000000003/3, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000004/3, dst=null:0000000000000008/2, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000002/2, dst=null:0000000000000003/1, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000004/2, dst=null:0000000000000005/1, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000005/2, dst=null:0000000000000006/1, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000006/2, dst=null:0000000000000007/1, type=DIRECT, state=ACTIVE, expected=false
src=null:0000000000000003/3, dst=null:0000000000000008/1, type=DIRECT, state=ACTIVE, expected=false
onos> paths null:0000000000000001 null:0000000000000007
null:0000000000000001/1-null:0000000000000002/1==>null:0000000000000002/2-null:0000000000000003/1==>null:0000000000000003/3-null:0000000000000008/1==>null:0000000000000008/2-null:0000000000000004/3==>null:0000000000000004/2-null:0000000000000005/1==>null:0000000000000005/2-null:0000000000000006/1==>null:0000000000000006/2-null:0000000000000007/1; cost=7.0
onos> flows
deviceId=null:0000000000000001, flowRuleCount=1
id=1900002ce0b93a, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:0, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
deviceId=null:0000000000000002, flowRuleCount=1
id=190000b494ab5d, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
deviceId=null:0000000000000003, flowRuleCount=1
id=19000002e32270, state=PENDING_ADD, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
deviceId=null:0000000000000004, flowRuleCount=2
id=1900001c9befa8, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
id=190000b528bf1a, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:3, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
{immediate=[OUTPUT:2], deferred=[], transition=None, meter=None, cleared=false, metadata=null}deviceId=null:0000000000000005, flowRuleCount=1
id=190000c419fe0e, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
deviceId=null:0000000000000006, flowRuleCount=1
id=19000099cd435c, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
deviceId=null:0000000000000007, flowRuleCount=1
id=1900000d0e1444, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
deviceId=null:0000000000000008, flowRuleCount=1
id=1900006c3aed29, state=ADDED, bytes=0, packets=0, duration=0, priority=100, tableId=0, appId=org.onosproject.net.intent, payLoad=null, selector=[IN_PORT:1, ETH_SRC:00:00:00:00:00:01, ETH_TYPE:ipv4], treatment=DefaultTrafficTreatment
the flow id=19000002e32270 should be ADDED, and id=1900001c9befa8 should be removed.
There is no any error or waring in ONOS log.
- blocks
-
ONOS-4437 Flows not being removed with intents
-
- Closed
-