Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-2349

subscribers still shown in ONOS after OLT is deleted

    XMLWordPrintable

    Details

      Description

      After a successful deletion of a OLT, all flows/ports pertaining to OLT and ONUs are cleaned up in the voltha.  But there are several objects still shown in ONOS.

      Check the logs below that show the lingering objects in ONOS for the subscribers/ONUs

      Tested using hardware OLT, released and master images

      Steps:

      • Disable the OLT "voltctl device disable <olt id>"
      • Delete the OLT "voltctl device delete <olt id>"
      • Check in ONOS , output of the following commands "devices" , "dhcpl2relay-allocations", "aaa-users"

      ===========

      onos> devices

      id=of:0000000000000001, available=true, local-status=connected 1h11m ago, role=MASTER, type=SWITCH, mfr=Accton Corp., hw=x86-64-accton-as6712-32x-r0, sw=ofdpa 3.0.5.5+accton1.7-1, serial=671232X1538033, chassis=1, driver=ofdpa3, channelId=10.128.100.70:34341, locType=none, managementAddress=10.128.100.70, name=of:0000000000000001, protocol=OF_13

      id=of:0000b86a97071b4a, available=false, local-status=disconnected 1m35s ago, role=NONE, type=SWITCH, mfr=VOLTHA Project, hw=open_pon, sw=open_pon, serial=EC1904000654, chassis=b86a97071b4a, driver=voltha, channelId=10.233.75.6:56482, managementAddress=10.233.75.6, protocol=OF_13

      onos> aaa-users

      UserName=user,CurrentState=AUTHORIZED,DeviceId=of:0000b86a97071b4a,MAC=90:E2:BA:8E:70:66,PortNumber=40976,SubscriberId=ALPHe3d1ced5-1

      onos> volt-programmed-subscribers

      onos> links

      onos>

       

      onos> ports -e

      id=of:0000000000000001, available=true, local-status=connected 1h12m ago, role=MASTER, type=SWITCH, mfr=Accton Corp., hw=x86-64-accton-as6712-32x-r0, sw=ofdpa 3.0.5.5+accton1.7-1, serial=671232X1538033, chassis=1, driver=ofdpa3, channelId=10.128.100.70:34341, locType=none, managementAddress=10.128.100.70, name=of:0000000000000001, protocol=OF_13

        port=1, state=enabled, type=fiber, speed=40000 , adminState=enabled, portMac=cc:37:ab:61:80:49, portName=port1

        port=31, state=enabled, type=fiber, speed=40000 , adminState=enabled, portMac=cc:37:ab:61:80:49, portName=port31

      id=of:0000b86a97071b4a, available=false, local-status=disconnected 2m43s ago, role=NONE, type=SWITCH, mfr=VOLTHA Project, hw=open_pon, sw=open_pon, serial=EC1904000654, chassis=b86a97071b4a, driver=voltha, channelId=10.233.75.6:56482, managementAddress=10.233.75.6, protocol=OF_13

      onos>

       

         ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:133], treatment=[immediate=[OUTPUT:CONTROLLER]]

      deviceId=of:0000b86a97071b4a, flowRuleCount=0

      onos>

      onos> dhcpl2relay-allocations

      SubscriberId=ALPHe3d1cf9d-1,ConnectPoint=of:0000b86a97071b4a/32,State=DHCPACK,MAC=90:E2:BA:8E:70:64,CircuitId=None,IP Allocated=10.99.22.1,Allocation Timestamp=2019-12-11T03:19:56.681Z

      SubscriberId=ALPHe3d1ced5-1,ConnectPoint=of:0000b86a97071b4a/40976,State=DHCPACK,MAC=90:E2:BA:8E:70:66,CircuitId=None,IP Allocated=10.99.33.1,Allocation Timestamp=2019-12-11T03:20:21.874Z

      SubscriberId=BRCM22222222-1,ConnectPoint=of:0000b86a97071b4a/16,State=DHCPACK,MAC=90:E2:BA:8E:70:65,CircuitId=None,IP Allocated=10.99.11.6,Allocation Timestamp=2019-12-11T03:20:13.758Z

      onos>

      onos> volt-bpmeter-mappings

      onos>

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              hwindlass Hardik Windlass (Inactive)
              Reporter:
              suchitra Suchitra Vemuri
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes