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

Resource subsystem: Cannot unregister resource

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 1.4.0, 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Start mininet and connect at least 1 switch to ONOS and exit mininet.

    • Story Points:
      2
    • Epic Link:
    • Sprint:
      Falcon Sprint #2 (1/25 - 2/12)

      Description

      Problem: unregister is not functional.
      When a device goes down and is in not available state, resource which was registered to the Device appears as if it has successfully been unregistered when printing resource from ROOT, but in reality stale information is still left behind in the resource subsystem.

      onos> devices
      id=of:0000000000000001, available=false, role=NONE, type=SWITCH, mfr=Nicira, Inc., hw=Open vSwitch, sw=2.0.2, serial=None, managementAddress=172.16.218.134, protocol=OF_10, channelId=172.16.218.134:55180
      
      onos> resources of:0000000000000001 
      DeviceId: of:0000000000000001
       PortNumber: LOCAL
        MplsLabel: [[16‥240)]
        VlanId: [[0‥4095)]
        Bandwidth: 0.000000
      
      onos> resources
      ROOT
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shimizu Shimizu Sho
              Reporter:
              y-higuchi Yuta Higuchi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: