Class InventoryDataServiceUtil

java.lang.Object
org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil

public abstract class InventoryDataServiceUtil extends Object
  • Constructor Details

    • InventoryDataServiceUtil

      public InventoryDataServiceUtil()
  • Method Details

    • identifierFromDatapathId

      public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> identifierFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
    • nodeKeyFromDatapathId

      public static NodeKey nodeKeyFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
    • nodeUpdatedBuilderFromDataPathId

      public static NodeUpdatedBuilder nodeUpdatedBuilderFromDataPathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
    • nodeIdFromDatapathId

      public static NodeId nodeIdFromDatapathId(org.opendaylight.yangtools.yang.common.Uint64 datapathId)
    • dataPathIdFromNodeId

      public static org.opendaylight.yangtools.yang.common.Uint64 dataPathIdFromNodeId(NodeId nodeId)
    • nodeRefFromNodeKey

      public static NodeRef nodeRefFromNodeKey(NodeKey nodeKey)
    • nodeKeyToInstanceIdentifier

      public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> nodeKeyToInstanceIdentifier(NodeKey nodeKey)
    • nodeConnectorIdfromDatapathPortNo

      public static 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, NodeConnectorId ncId)
    • portNumberfromNodeConnectorId

      public static @Nullable org.opendaylight.yangtools.yang.common.Uint32 portNumberfromNodeConnectorId(OpenflowVersion ofVersion, @NonNull String ncId)
    • portNoStringfromNodeConnectorID

      public static String portNoStringfromNodeConnectorID(String ncID)
    • nodeConnectorRefFromDatapathIdPortno

      public static NodeConnectorRef nodeConnectorRefFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
    • nodeConnectorRefFromDatapathIdPortno

      public static NodeConnectorRef nodeConnectorRefFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion, org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Node,NodeKey> nodePath)
    • nodeConnectorInstanceIdentifierFromDatapathIdPortno

      public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<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<NodeConnector> nodeConnectorInstanceIdentifierFromDatapathIdPortno(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion, org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Node,NodeKey> nodePath)
    • nodeConnectorUpdatedBuilderFromDatapathIdPortNo

      public static NodeConnectorUpdatedBuilder nodeConnectorUpdatedBuilderFromDatapathIdPortNo(org.opendaylight.yangtools.yang.common.Uint64 datapathId, org.opendaylight.yangtools.yang.common.Uint32 portNo, OpenflowVersion ofVersion)
    • nodeConnectorBuilderFromDatapathIdPortNo

      public static 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(NodeRef ref)