Node node = getNodeFromDataStore(delInterface);
if((node != null) &&(node.getNodeConnector().isEmpty())) {
dbDpnEndpoints.remove(node.getId());
+ LOG.trace("dbDpnEndpoints: {}",dbDpnEndpoints);
}
}
}
void processPortUpdate(NodeConnector oldPort, NodeConnector update) {
//TODO: Currently nothing to do here.
- LOG.trace("ifMap: {}, dpnMap: {}", mapNcToInterfaceName, dbDpnEndpoints);
}
void processPortDelete(NodeConnector port) {
//TODO: This should be an MDSAL Util method
return Long.parseLong(IfmUtil.getDpnFromNodeConnectorId(port.getId()));
} catch (NullPointerException e) {
- LOG.error("OFPort for Interface {} not found", ifName);
+ LOG.error("dpn for Interface {} not found", ifName);
}
return 0L;
}