Class NodeConnectorRefToPortTranslator
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.util.NodeConnectorRefToPortTranslator
-
public final class NodeConnectorRefToPortTranslator extends Object
Created by Tomas Slusny on 23.3.2016.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable org.opendaylight.yangtools.yang.common.Uint32
fromNodeConnectorRef(@NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef nodeConnectorRef, short version)
Gets port number fromNodeConnectorRef
.static @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef
toNodeConnectorRef(@NonNull PacketIn packetIn, org.opendaylight.yangtools.yang.common.Uint64 dataPathId)
ConvertsPacketIn
toNodeConnectorRef
.
-
-
-
Method Detail
-
toNodeConnectorRef
public static @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef toNodeConnectorRef(@NonNull PacketIn packetIn, org.opendaylight.yangtools.yang.common.Uint64 dataPathId)
ConvertsPacketIn
toNodeConnectorRef
.- Parameters:
packetIn
- Packet inputdataPathId
- Data path id- Returns:
- packet input converted to node connector reference
-
fromNodeConnectorRef
public static @Nullable org.opendaylight.yangtools.yang.common.Uint32 fromNodeConnectorRef(@NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef nodeConnectorRef, short version)
Gets port number fromNodeConnectorRef
.- Parameters:
nodeConnectorRef
- Node connector referenceversion
- Openflow version- Returns:
- port number
-
-