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

Meter is not re-installed after OLT delete

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: VOLTHA v2.4
    • Fix Version/s: VOLTHA v2.4
    • Component/s: onos-olt
    • Labels:
      None

      Description

      Meter state is kept after an OLT delete and this prevents a meter to properly get re-installed on the device when it comes up again.
      State is leftover in OltMeterService in a few places, when OLT goes through controlled disconnect. For example:
      pendingMeters is not cleaned up
      bpInfoToMeters is not immediately cleaned up. We depend on the call to MeterService to purgeMeters to return a notification of METER_REMOVED in order to clean up. Need explicit clean up of bpInfoToMeters. it is better to delete it from the store first, instead of waiting for confirmation of deletion, because otherwise someone may use it while you are waiting for deletion confirmation
      Finally as I mentioned before, pendingRemoveMeters is not cleaned up immediately.

        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:
            andrea Andrea Campanella
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes