Update openroadm-topology layer based on NETCONF event
[transportpce.git] / networkmodel / src / main / java / org / opendaylight / transportpce / networkmodel / NetConfTopologyListener.java
index e2bf2da7865756ee23c6626ff03e0712ad07002c..b2c5001d4aa484983a4a9f58c36fe63f192fd1b3 100644 (file)
@@ -106,7 +106,7 @@ public class NetConfTopologyListener implements DataTreeChangeListener<Node> {
                 notificationService.get().registerNotificationListener(deOperationsListener);
 
             final OrgOpenroadmDeviceListener deviceListener = new DeviceListener(this.deviceTransactionManager,
-                    nodeId);
+                    nodeId, this.networkModelService);
             LOG.info("Registering notification listener on OrgOpenroadmDeviceListener for node: {}", nodeId);
             final ListenerRegistration<OrgOpenroadmDeviceListener> accessDeviceNotificationListenerRegistration =
                 notificationService.get().registerNotificationListener(deviceListener);