Class PathUtil
java.lang.Object
org.opendaylight.openflowplugin.impl.util.PathUtil
Purpose: utility class providing path and
InstanceIdentifier
tools.-
Method Summary
Modifier and TypeMethodDescriptionstatic NodeId
extractNodeId
(NodeRef input) Extracts node id from node reference.static NodeId
extractNodeId
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> input) Extracts node id from instance identifier.
-
Method Details
-
extractNodeId
public static NodeId extractNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> input) Extracts node id from instance identifier.- Parameters:
input
- instance identifier- Returns:
- node-id from given instance identifier
-
extractNodeId
Extracts node id from node reference.- Parameters:
input
- reference toNode
- Returns:
- node-id from given reference
-