- @Override
- public void notifyNode(org.opendaylight.controller.sal.core.Node openFlowNode,
- UpdateType type, Map<String, Property> propMap) {
- logger.debug("notifyNode: Node {} update {} from Controller's inventory Service", openFlowNode, type);
-
- // Add the Node Type check back once the Consistency issue is resolved between MD-SAL and AD-SAL
- if (!type.equals(UpdateType.REMOVED) && !nodeCache.contains(openFlowNode)) {
- nodeCache.add(openFlowNode);
- networkingProviderManager.getProvider(NodeUtils.getMdsalNode(openFlowNode))
- .initializeOFFlowRules(openFlowNode);
- } else if (type.equals(UpdateType.REMOVED)){
- nodeCache.remove(openFlowNode);
- }
- }
-
- @Override
- public void notifyNodeConnector(NodeConnector nodeConnector, UpdateType type, Map<String, Property> propMap) {
- //We are not interested in the nodeConnectors at this moment
- }
-