+ val ncref = e.tailNodeConnector.toNodeConnectorRef
+ if(ncref == null) {
+ LOG.debug("Edge {} ncref {}",e,ncref)
+ return null;
+ }
+ val ncInstanceId = (ncref.value as InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector>)
+ if(ncInstanceId == null) {
+ LOG.debug("Edge {} ncref {}",e,ncref)
+ return null;
+ }
+ val nc = reader.readOperationalData(ncInstanceId)
+ if(nc == null) {
+ return null;
+ }