Class PathUtil


  • public final class PathUtil
    extends Object
    Purpose: utility class providing path and InstanceIdentifier tools.
    • Method Detail

      • 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

        public static NodeId extractNodeId​(NodeRef input)
        Extracts node id from node reference.
        Parameters:
        input - reference to Node
        Returns:
        node-id from given reference