Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
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
- blocks
-
OPNFLWPLUG-656 Translate/convert in Services (remove dependency on DeviceContext)
- Resolved