Class InventoryDataServiceUtil
- java.lang.Object
-
- org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil
-
public abstract class InventoryDataServiceUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description InventoryDataServiceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
bigIntegerToPaddedHex(BigInteger dataPathId)
Converts a BigInteger to a padded hex value.static org.opendaylight.yangtools.yang.common.Uint64
dataPathIdFromNodeId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
static org.opendaylight.yangtools.yang.common.Uint64
extractDatapathId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef ref)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node>
identifierFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnectorBuilder
nodeConnectorBuilderFromDatapathIdPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId
nodeConnectorIdfromDatapathPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathid, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector>
nodeConnectorInstanceIdentifierFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector>
nodeConnectorInstanceIdentifierFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion, org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> nodePath)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef
nodeConnectorRefFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef
nodeConnectorRefFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion, org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> nodePath)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdatedBuilder
nodeConnectorUpdatedBuilderFromDatapathIdPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId
nodeIdFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey
nodeKeyFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node>
nodeKeyToInstanceIdentifier(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey nodeKey)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef
nodeRefFromNodeKey(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey nodeKey)
static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeUpdatedBuilder
nodeUpdatedBuilderFromDataPathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
static String
portNoStringfromNodeConnectorID(String ncID)
static @Nullable org.opendaylight.yangtools.yang.common.Uint32
portNumberfromNodeConnectorId(OpenflowVersion ofVersion, @NonNull String ncId)
static @Nullable org.opendaylight.yangtools.yang.common.Uint32
portNumberfromNodeConnectorId(OpenflowVersion ofVersion, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId ncId)
-
-
-
Method Detail
-
identifierFromDatapathId
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> identifierFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
-
nodeKeyFromDatapathId
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey nodeKeyFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
-
nodeUpdatedBuilderFromDataPathId
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeUpdatedBuilder nodeUpdatedBuilderFromDataPathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
-
nodeIdFromDatapathId
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeIdFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
-
dataPathIdFromNodeId
public static org.opendaylight.yangtools.yang.common.Uint64 dataPathIdFromNodeId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
-
nodeRefFromNodeKey
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef nodeRefFromNodeKey(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey nodeKey)
-
nodeKeyToInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeKeyToInstanceIdentifier(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey nodeKey)
-
nodeConnectorIdfromDatapathPortNo
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorIdfromDatapathPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathid, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
-
portNumberfromNodeConnectorId
public static @Nullable org.opendaylight.yangtools.yang.common.Uint32 portNumberfromNodeConnectorId(OpenflowVersion ofVersion, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId ncId)
-
portNumberfromNodeConnectorId
public static @Nullable org.opendaylight.yangtools.yang.common.Uint32 portNumberfromNodeConnectorId(OpenflowVersion ofVersion, @NonNull String ncId)
-
nodeConnectorRefFromDatapathIdPortno
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef nodeConnectorRefFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
-
nodeConnectorRefFromDatapathIdPortno
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef nodeConnectorRefFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion, org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> nodePath)
-
nodeConnectorInstanceIdentifierFromDatapathIdPortno
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> nodeConnectorInstanceIdentifierFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
-
nodeConnectorInstanceIdentifierFromDatapathIdPortno
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> nodeConnectorInstanceIdentifierFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion, org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> nodePath)
-
nodeConnectorUpdatedBuilderFromDatapathIdPortNo
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorUpdatedBuilder nodeConnectorUpdatedBuilderFromDatapathIdPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
-
nodeConnectorBuilderFromDatapathIdPortNo
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnectorBuilder nodeConnectorBuilderFromDatapathIdPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
-
bigIntegerToPaddedHex
public static String bigIntegerToPaddedHex(BigInteger dataPathId)
Converts a BigInteger to a padded hex value.- Parameters:
dataPathId
- datapath id in big interger value- Returns:
- string of size 16, padded with '0'
-
extractDatapathId
public static org.opendaylight.yangtools.yang.common.Uint64 extractDatapathId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef ref)
-
-