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

Deprecate PortNumberCache (OF Plugin Cluster Ready) but create NodeConnectorRefToPortTranlator

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5589

    Description

      Create class NodeConnectorRefToPortTranlator with two methods:
      a/ toNodeConnectorRef
      input: DeviceState
      output: NodeConnectorRef
      b/ fromNodeConnectorRef
      input: DeviceState, NodeConnectorRef
      output: Long

      While implementing these methods use org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil (this is allready used by the cache).

      After that remove this cluster buggy (Please, annotate these methods as Deprecated):

      • org.opendaylight.openflowplugin.api.openflow.device.PortNumberCache.lookupNodeConnectorRef(Long)
      • org.opendaylight.openflowplugin.api.openflow.device.PortNumberCache.storeNodeConnectorRef(Long, NodeConnectorRef)

      Stop using these deprecated methods in d/ org.opendaylight.openflowplugin.impl.translator.PacketReceivedTranslator.

      Attachments

        Issue Links

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

          Activity

            People

              tomas.slusny@pantheon.tech Tomas Slusny
              jozef.slezak@pantheon.sk Jozef Slezák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: