Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-699

Refactoring Device*Registry

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5935

    Description

      DeviceFlowRegistry needs to be rebuild after FAILOVER.

      Refactor 1/ Recreate DeviceFlowRegistry after failover (it should not be empty)
      Refactor 2/ It is not enough to identify flow by FlowRegistryKey(tableId,priority,cookie). The match is mising. Try to lookup by (tableId,priority,cookie,match)
      Refactor 3/ retrieveIdForFlow: If entry is missing there should lookup Inventory DS
      Refactor 4/ Extract specific code for handling writing to operation DS only when stats are disabled.

      • DeviceContext.processFlowRemovedMessage()
      • org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.processFlowRemovedMessage(FlowRemoved)
      • org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils
      • SalFlowServiceImpl deviceFlowRegistry.markToBeRemoved()
        Refactor 5/ Nullobject implementaiton for specific code for handling writing to operation DS only when stats are enabled

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jozef.slezak@pantheon.sk Jozef Slezák
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: