The ODL controller exposes a northbound netconf connector automatically
loaded at karaf start-up under the node-id 'controller-config'.
This connector advertises supported (openroadm) southbound capabilities
but, strictly spoken, it is not an openroadm device.
The renderer should not interact with it.
Change-Id: I366065360b9ba0d90073a9f8739a749eb78315da
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
nodeId = rootNode.getDataAfter().getKey().getNodeId().getValue();
}
if (nnode != null) {
+ if (nodeId.equals("controller-config")) {
+ // We shouldn't process controller-config as an OpenROAM device
+ LOG.info("{} ignored: org-openroadm-device advertised but not a real ROADM device", nodeId);
+ return;
+ }
if (rootNode.getModificationType() == ModificationType.WRITE) {
LOG.info("Node added " + nodeId);
}
}
}
-}
\ No newline at end of file
+}