@Test public void testCreateNodePath() throws Exception { InstanceIdentifier<Node> insId = InstanceIdentifierUtils.createNodePath(new NodeId(STR_ID_1)); assertNotNull(insId); assertNotNull(insId.firstIdentifierOf(Nodes.class)); assertEquals(STR_ID_1, insId.firstKeyOf(Node.class, NodeKey.class).getId().getValue()); }
public static InstanceIdentifier<Node> createNodePath(final NodeId nodeId) { return InstanceIdentifier.builder(Nodes.class) .child(Node.class, new NodeKey(nodeId)) .build(); }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> createNodePath(final NodeId nodeId) { return InstanceIdentifier.builder(Nodes.class) .child(Node.class, new NodeKey(nodeId)) .build(); } }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> createNodePath(final NodeId nodeId) { return InstanceIdentifier.builder(Nodes.class) .child(Node.class, new NodeKey(nodeId)) .build(); } private  InstanceIdentifierUtils(); }
InstanceIdentifierUtils { public static InstanceIdentifier<Node> createNodePath(final NodeId nodeId) { return InstanceIdentifier.builder(Nodes.class) .child(Node.class, new NodeKey(nodeId)) .build(); } 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> createNodePath(final NodeId nodeId) { return InstanceIdentifier.builder(Nodes.class) .child(Node.class, new NodeKey(nodeId)) .build(); } 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);  }