Class PathUtil
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.util.PathUtil
-
public final class PathUtil extends Object
Purpose: utility class providing path andInstanceIdentifier
tools.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId
extractNodeId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef input)
Extracts node id from node reference.static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId
extractNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> input)
Extracts node id from instance identifier.
-
-
-
Method Detail
-
extractNodeId
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId extractNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> input)
Extracts node id from instance identifier.- Parameters:
input
- instance identifier- Returns:
- node-id from given instance identifier
-
extractNodeId
public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId extractNodeId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef input)
Extracts node id from node reference.- Parameters:
input
- reference toNode
- Returns:
- node-id from given reference
-
-