@Test public void testGetNodePath() throws Exception { InstanceIdentifier<NodeConnector> ncInsId = InstanceIdentifier.builder(Nodes.class).child(Node.class) .child(NodeConnector.class).build(); assertNotNull(InstanceIdentifierUtils.getNodePath(ncInsId)); }
public static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild) { return nodeChild.firstIdentifierOf(Node.class); }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild) { return nodeChild.firstIdentifierOf(Node.class); } }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild) { return nodeChild.firstIdentifierOf(Node.class); } private  InstanceIdentifierUtils(); }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild) { return nodeChild.firstIdentifierOf(Node.class); } private  InstanceIdentifierUtils(); static InstanceIdentifier<Node> createNodePath(final NodeId nodeId); static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild); static InstanceIdentifier<Table> createTablePath(final InstanceIdentifier<Node> nodePath,
            final TableKey tableKey); static InstanceIdentifier<Flow> createFlowPath(final InstanceIdentifier<Table> table,
            final FlowKey flowKey); static Short getTableId(final InstanceIdentifier<Table> tablePath); static NodeConnectorKey getNodeConnectorKey(final InstanceIdentifier<?> nodeConnectorPath); static NodeKey getNodeKey(final InstanceIdentifier<?> nodePath); static InstanceIdentifier<NodeConnector> createNodeConnectorIdentifier(final String nodeIdValue,
            final String nodeConnectorIdValue); static InstanceIdentifier<Node> generateNodeInstanceIdentifier(final NodeConnectorRef nodeConnectorRef); static InstanceIdentifier<Table> generateFlowTableInstanceIdentifier(final NodeConnectorRef nodeConnectorRef,
            final TableKey flowTableKey); static InstanceIdentifier<Flow> generateFlowInstanceIdentifier(final NodeConnectorRef nodeConnectorRef,
            final TableKey flowTableKey, final FlowKey flowKey); static InstanceIdentifier<Topology> generateTopologyInstanceIdentifier(final String topologyId); }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild) { return nodeChild.firstIdentifierOf(Node.class); } private  InstanceIdentifierUtils(); static InstanceIdentifier<Node> createNodePath(final NodeId nodeId); static InstanceIdentifier<Node> getNodePath(final InstanceIdentifier<?> nodeChild); static InstanceIdentifier<Table> createTablePath(final InstanceIdentifier<Node> nodePath,
            final TableKey tableKey); static InstanceIdentifier<Flow> createFlowPath(final InstanceIdentifier<Table> table,
            final FlowKey flowKey); static Short getTableId(final InstanceIdentifier<Table> tablePath); static NodeConnectorKey getNodeConnectorKey(final InstanceIdentifier<?> nodeConnectorPath); static NodeKey getNodeKey(final InstanceIdentifier<?> nodePath); static InstanceIdentifier<NodeConnector> createNodeConnectorIdentifier(final String nodeIdValue,
            final String nodeConnectorIdValue); static InstanceIdentifier<Node> generateNodeInstanceIdentifier(final NodeConnectorRef nodeConnectorRef); static InstanceIdentifier<Table> generateFlowTableInstanceIdentifier(final NodeConnectorRef nodeConnectorRef,
            final TableKey flowTableKey); static InstanceIdentifier<Flow> generateFlowInstanceIdentifier(final NodeConnectorRef nodeConnectorRef,
            final TableKey flowTableKey, final FlowKey flowKey); static InstanceIdentifier<Topology> generateTopologyInstanceIdentifier(final String topologyId);  }