-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.0
-
Fix Version/s: 1.7.0
-
Component/s: None
-
Labels:
-
Environment:
commit 34b306051cff4466bc0e1766dbfb23b26400de50
-
Story Points:3
-
Epic Link:
Problem: Protected intents cannot be created on a cluster setup.
From CLI there was no error shown during creation of protected
intents, but when we try to retrieve intents these protected intents
are not shown.
Workaround: None
Observations:
1) Using the same topology I was able to create protected intents on a single
node setup.
2) noticed that for "add-point-intent --help"
option "-p" is being used for both "protected" and "priority"
------------------------------------------
-p, --protect
Utilize path protection
--ipProto
IP Protocol
-p, --priority
Priority
(defaults to 100)
=================================
Please find the Karaf logs below during intent creations on cluster and single nodes
-----------------------------------------
cluster setup
-----------------------------------------onos> add-point-intent --protect of:0000000000000103/1 of:0000000000000101/1
Point to point intent submitted:
PointToPointIntent{id=0x0, key=0x0, appId=DefaultApplicationId
onos>
onos> intents
onos> groups
deviceId=of:0000000000000101, groupCount=0
deviceId=of:0000000000000102, groupCount=0
deviceId=of:0000000000000103, groupCount=0
deviceId=of:0000000000000201, groupCount=0
deviceId=of:0000000000000202, groupCount=0
deviceId=of:0000000000000203, groupCount=0
deviceId=of:0000000000000301, groupCount=0
deviceId=of:0000000000000302, groupCount=0
deviceId=of:0000000000000303, groupCount=0
onos>
-----------------------------------------------------
single node
---------------------------------------------------nos> add-point-intent --protect of:0000000000000301/1 of:0000000000000302/1
Point to point intent submitted:
PointToPointIntent{id=0x0, key=0x0, appId=DefaultApplicationId{id=2, name=org.onosproject.cli}
, priority=100, resources=[], selector=DefaultTrafficSelector
{criteria=[]}, treatment=DefaultTrafficTreatment
{immediate=[NOACTION], deferred=[], transition=None, meter=None, cleared=false, metadata=null}, ingress=of:0000000000000301/1, egress=of:0000000000000302/1, constraints=[org.onosproject.net.intent.constraint.ProtectionConstraint@79c74ea9]}
onos> intents
id=0x0, state=INSTALLED, key=0x0, type=PointToPointIntent, appId=org.onosproject.cli
treatment=[NOACTION]
constraints=[org.onosproject.net.intent.constraint.ProtectionConstraint@79c74ea9]
ingress=of:0000000000000301/1, egress=of:0000000000000302/1
onos> groups
deviceId=of:0000000000000101, groupCount=0
deviceId=of:0000000000000102, groupCount=0
deviceId=of:0000000000000103, groupCount=0
deviceId=of:0000000000000201, groupCount=0
deviceId=of:0000000000000202, groupCount=0
deviceId=of:0000000000000203, groupCount=0
deviceId=of:0000000000000301, groupCount=1
id=0x1, state=ADDED, type=FAILOVER, bytes=0, packets=0, appId=org.onosproject.cli
id=0x1, bucket=1, bytes=0, packets=0, actions=[OUTPUT:3]
id=0x1, bucket=2, bytes=0, packets=0, actions=[OUTPUT:5]
deviceId=of:0000000000000302, groupCount=0
deviceId=of:0000000000000303, groupCount=0
onos>