This method has been long-deprecated, do not use it.
Change-Id: I2bec3b7a70025e4c64f9a89d4d95c6723558f6a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
InstanceIdentifier<NodeConnector> srcInstanceId = InstanceIdentifier.builder(Nodes.class)
.child(Node.class, new NodeKey(srcNodeId))
.child(NodeConnector.class, new NodeConnectorKey(srcNodeConnectorId))
- .toInstance();
+ .build();
nodeConnectorRef = new NodeConnectorRef(srcInstanceId);
} catch (Exception e) {
LOG.debug("Caught exception while parsing out lldp optional and custom fields", e);