});
} catch (final Exception e) {
LOG.warn(" FlowNodeConnectorInventoryTranslatorImpl listener registration fail!");
- LOG.debug("FlowNodeConnectorInventoryTranslatorImpl DataChange listener registration fail ..", e);
+ LOG.debug("FlowNodeConnectorInventoryTranslatorImpl DataTreeChangeListener registration fail ..", e);
throw new IllegalStateException("FlowNodeConnectorInventoryTranslatorImpl startup fail! System needs restart.", e);
}
}
String sNodeConnectorIdentifier = nodeConnIdent
.firstKeyOf(NodeConnector.class, NodeConnectorKey.class).getId().getValue();
BigInteger nDpId = getDpIdFromPortName(sNodeConnectorIdentifier);
- String portName = del.getName();
dpnToPortMultiMap.remove(nDpId, sNodeConnectorIdentifier);
}
public void update(InstanceIdentifier<FlowCapableNodeConnector> identifier, FlowCapableNodeConnector original, FlowCapableNodeConnector update, InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) {
if(compareInstanceIdentifierTail(identifier,II_TO_FLOW_CAPABLE_NODE_CONNECTOR)){
LOG.debug("Node Connector updated");
- //donot need to do anything as we are not considering updates here
+ //Don't need to do anything as we are not considering updates here
}
}
.firstKeyOf(NodeConnector.class, NodeConnectorKey.class).getId().getValue();
BigInteger nDpId = getDpIdFromPortName(sNodeConnectorIdentifier);
- String portName = add.getName();
if(!dpnToPortMultiMap.containsEntry(nDpId,sNodeConnectorIdentifier)) {
dpnToPortMultiMap.put(nDpId, sNodeConnectorIdentifier);
}else{