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

Drivers are not merged correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Epic Link:
    • Sprint:
      Falcon Sprint #2 (1/25 - 2/12)

      Description

      I enabled onos-drivers and onos-driver-ovsdb, and I got the following warnings and ONOS fails to install flows.

      2016-01-28 00:10:09,357 | WARN  | event-dispatch-0 | FlowObjectiveManager             | 115 - org.onosproject.onos-core-net - 1.5.0.SNAPSHOT | Pipeline behaviour not supported for device of:0000000000000002
      
      2016-01-28 00:10:20,670 | WARN  | tive-installer-3 | PacketManager                    | 115 - org.onosproject.onos-core-net - 1.5.0.SNAPSHOT | Failed to install packet request DefaultPacketRequest{selector=DefaultTrafficSelector{criteria=[ETH_TYPE:lldp]}, priority=40000, appId=DefaultApplicationId{id=75, name=org.onosproject.provider.lldp}, nodeId=159.203.255.221, applies to=all} to of:0000000000000001: DEVICEMISSING
      2016-01-28 00:10:20,671 | WARN  | tive-installer-0 | PacketManager                    | 115 - org.onosproject.onos-core-net - 1.5.0.SNAPSHOT | Failed to install packet request DefaultPacketRequest{selector=DefaultTrafficSelector{criteria=[ETH_TYPE:lldp]}, priority=40000, appId=DefaultApplicationId{id=75, name=org.onosproject.provider.lldp}, nodeId=159.203.255.221, applies to=all} to of:0000000000000002: DEVICEMISSING
      2016-01-28 00:10:20,675 | WARN  | tive-installer-1 | PacketManager                    | 115 - org.onosproject.onos-core-net - 1.5.0.SNAPSHOT | Failed to install packet request DefaultPacketRequest{selector=DefaultTrafficSelector{criteria=[ETH_TYPE:bddp]}, priority=40000, appId=DefaultApplicationId{id=75, name=org.onosproject.provider.lldp}, nodeId=159.203.255.221, applies to=all} to of:0000000000000001: DEVICEMISSING
      2016-01-28 00:10:20,675 | WARN  | tive-installer-2 | PacketManager                    | 115 - org.onosproject.onos-core-net - 1.5.0.SNAPSHOT | Failed to install packet request DefaultPacketRequest{selector=DefaultTrafficSelector{criteria=[ETH_TYPE:bddp]}, priority=40000, appId=DefaultApplicationId{id=75, name=org.onosproject.provider.lldp}, nodeId=159.203.255.221, applies to=all} to of:0000000000000002: DEVICEMISSING
      

      As a result of some debugging, I found that "default" driver itself is merged correctly and has all pipelines but "default" driver saved in "ovs" driver object as a "parents" is not merged correctly and referenced in the “hasBehaviour" method. See the debugs below.

      [default]
      interface org.onosproject.net.behaviour.BridgeConfig
      interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver
      interface org.onosproject.net.behaviour.TunnelConfig
      interface org.onosproject.net.behaviour.Pipeliner
      
      [ovs]
      interface org.onosproject.net.behaviour.MplsQuery
      interface org.onosproject.net.behaviour.ExtensionTreatmentResolver
      interface org.onosproject.net.behaviour.ControllerConfig
      interface org.onosproject.net.behaviour.ExtensionSelectorResolver
      interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver
      interface org.onosproject.openflow.controller.ExtensionSelectorInterpreter
      interface org.onosproject.openflow.controller.ExtensionTreatmentInterpreter
      interface org.onosproject.net.behaviour.VlanQuery
      Parent [default]
      interface org.onosproject.net.behaviour.TunnelConfig
      interface org.onosproject.net.behaviour.BridgeConfig
      

        Attachments

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

          Activity

            People

            Assignee:
            andrea Andrea Campanella
            Reporter:
            hyunsun Hyunsun Moon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: