Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-2076

Optical connectivity intents are not triggered by OpticalPathProvisioner

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0, 1.1.0, 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Commit hash: de77ee5, Topology: opticalTest.py

    • Epic Link:
    • Sprint:
      Drake Sprint 2 (7/27-8/14) 2

      Description

      Optical connectivity intents are not triggered by OpticalPathProvisioner even when I try to install a point-to-point intent.

      In the past, OpticalPathProvisioner triggers installation of optical connectivity intents when detecting the failure of point-to-point intent installation. Now, the behavior changed somehow.

      The possible cause is that the installation of a point-to-point intent succeeds now.

      h.5 Steps

      1. execute "opticalTest.py" on Mininet VM
      2. execute "add-point-intent of:0000ffffffff0001/1 of:0000ffffffff0005/1" on ONOS CLI
      Result
      "intents" command
      id=0x0, state=INSTALLED, key=0x0, type=PointToPointIntent, appId=org.onosproject.cli
          ingress=ConnectPoint{elementId=of:0000ffffffff0001, portNumber=1}, egress=ConnectPoint{elementId=of:0000ffffffff0005, portNumber=1}
      
      "flows" command
      deviceId=of:0000ffffffff0001, flowRuleCount=6
         id=100002a2d0cb8, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=800}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2d233e, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2d233e, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c108a84, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=88cc}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c12457a, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=8942}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=1f0000ee36f5df, state=ADDED, bytes=0, packets=0, duration=660, priority=123, tableId=0 appId=org.onosproject.net.intent, payLoad=null
            selector=[IN_PORT{port=1}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=2}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffff0002, flowRuleCount=5
         id=100002a2d8117, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=800}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2d979d, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2d979d, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c10fee3, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=88cc}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c12b9d9, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=8942}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffff0003, flowRuleCount=5
         id=100002a2df576, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=800}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2e0bfc, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2e0bfc, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c117342, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=88cc}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c132e38, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=8942}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffff0004, flowRuleCount=5
         id=100002a2e69d5, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=800}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2e805b, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2e805b, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c11e7a1, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=88cc}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c13a297, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=8942}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffff0005, flowRuleCount=6
         id=100002a2ede34, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=800}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2ef4ba, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2ef4ba, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c125c00, state=ADDED, bytes=17253, packets=213, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=88cc}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c1416f6, state=ADDED, bytes=17253, packets=213, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=8942}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=1f0000ee38cedd, state=ADDED, bytes=0, packets=0, duration=660, priority=123, tableId=0 appId=org.onosproject.net.intent, payLoad=null
            selector=[IN_PORT{port=3}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=1}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffff0006, flowRuleCount=5
         id=100002a2f5293, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=800}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2f6919, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002a2f6919, state=ADDED, bytes=0, packets=0, duration=680, priority=5, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=806}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c12d05f, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=88cc}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
         id=100002c148b55, state=ADDED, bytes=0, packets=0, duration=680, priority=40000, tableId=0 appId=org.onosproject.core, payLoad=null
            selector=[ETH_TYPE{ethType=8942}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=CONTROLLER}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffffff01, flowRuleCount=1
         id=1f000072ed48e8, state=ADDED, bytes=34830, packets=430, duration=665, priority=123, tableId=0 appId=org.onosproject.net.intent, payLoad=null
            selector=[IN_PORT{port=10}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=20}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffffff02, flowRuleCount=0
      deviceId=of:0000ffffffffff03, flowRuleCount=0
      deviceId=of:0000ffffffffff04, flowRuleCount=0
      deviceId=of:0000ffffffffff05, flowRuleCount=1
         id=1f000072efb08c, state=ADDED, bytes=57352, packets=428, duration=663, priority=123, tableId=0 appId=org.onosproject.net.intent, payLoad=null
            selector=[IN_PORT{port=50}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=40}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffffff06, flowRuleCount=0
      deviceId=of:0000ffffffffff07, flowRuleCount=1
         id=1f000072f0994a, state=ADDED, bytes=57620, packets=430, duration=664, priority=123, tableId=0 appId=org.onosproject.net.intent, payLoad=null
            selector=[IN_PORT{port=50}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=30}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffffff08, flowRuleCount=0
      deviceId=of:0000ffffffffff09, flowRuleCount=1
         id=1f000072f18208, state=ADDED, bytes=57620, packets=430, duration=665, priority=123, tableId=0 appId=org.onosproject.net.intent, payLoad=null
            selector=[IN_PORT{port=50}]
            treatment=DefaultTrafficTreatment{immediate=[OUTPUT{port=11}], deferred=[], transition=None, cleared=false, metadata=null}
      deviceId=of:0000ffffffffff0a, flowRuleCount=0
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            marc Marc De Leenheer (Inactive)
            Reporter:
            shimizu Shimizu Sho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: