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

Logical UNI Ports are not available in onos

    XMLWordPrintable

    Details

      Description

      When the OpenONU device handler starts it goes through a MIB sync process lasting a few seconds to discover UNI ports.   While this is going on the logical device and its only available logical port at the time (NNI) is discovered by ofagent and sent to onos.  

      Later when the UNI ports are discovered and added as logical ports, they appear in voltha but do not appear in onos.  It seems ofagent is not picking them up:

       

      voltha logical ports:

       (logical device AABBCCDDEEFF) ports
      Logical device ports:
      +-----------+--------------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+
      |        id |                device_id | device_port_no | root_port | ofp_port.port_no |          ofp_port.hw_addr | ofp_port.name | ofp_port.state | ofp_port.curr | ofp_port.curr_speed |
      +-----------+--------------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+
      | nni-65536 | 48e80ac10bc810d5220a2911 |          65536 |      True |            65536 |  [0L, 0L, 0L, 1L, 0L, 0L] |     nni-65536 |              4 |          4128 |                  32 |
      |    uni-16 | 96ef253b2e20d57e801afdd9 |             16 |           |               16 | [8L, 0L, 0L, 0L, 0L, 16L] |        uni-16 |              4 |          4128 |                  32 |
      |    uni-17 | 96ef253b2e20d57e801afdd9 |             17 |           |               17 | [8L, 0L, 0L, 0L, 0L, 17L] |        uni-17 |              4 |          4128 |                  32 |
      |    uni-18 | 96ef253b2e20d57e801afdd9 |             18 |           |               18 | [8L, 0L, 0L, 0L, 0L, 18L] |        uni-18 |              4 |          4128 |                  32 |
      |    uni-19 | 96ef253b2e20d57e801afdd9 |             19 |           |               19 | [8L, 0L, 0L, 0L, 0L, 19L] |        uni-19 |              4 |          4128 |                  32 |
      |    uni-20 | 96ef253b2e20d57e801afdd9 |             20 |           |               20 | [8L, 0L, 0L, 0L, 0L, 20L] |        uni-20 |              4 |          4128 |                  32 |
      +-----------+--------------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+
      

       

      onos:

      onos> ports
      id=of:0000aabbccddeeff, available=true, local-status=connected 1m36s ago, role=MASTER, type=SWITCH, mfr=, hw=asfvolt16, sw=BAL.2.6.0__Openolt.2018.10.04, serial=EC1829000886, chassis=aabbccddeeff, driver=voltha, channelId=192.168.112.1:32910, locType=none, managementAddress=192.168.112.1, name=of:0000aabbccddeeff, protocol=OF_13
        port=65536, state=enabled, type=fiber, speed=0 , adminState=enabled, portMac=00:00:00:01:00:00, portName=nni-65536
      

       

      For what its worth, when ofagent is restarted manually after the UNI ports have already been added as logical ports, the UNI ports then appear in onos. It seems that ofagent queries for logical ports on logical device add, but then does not periodically check for new logical ports, or does not get sent an event from the core when they are added.

       

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              khen khenaidoo Nursimulu
              Reporter:
              mjeanneret Matt Jeanneret
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes