aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager-onf
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2020-03-25 08:35:03 +0100
committerMichael Dürre <michael.duerre@highstreet-technologies.com>2020-03-25 08:35:16 +0100
commita5e2f5a7f1c71954215615a58c1364c7bfe785bd (patch)
treeee9363dc1040e7774a569111b76042759a7ef394 /sdnr/wt/devicemanager-onf
parentbc9425a00d19b75b149fbbf0c4ea7345de8721d5 (diff)
fix connection state machine
fixed state handlers for netconf nodes Issue-ID: SDNC-1134 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: Ibd63e84e4cc891a03ef5bd499760804a8cb89e93
Diffstat (limited to 'sdnr/wt/devicemanager-onf')
-rw-r--r--sdnr/wt/devicemanager-onf/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/onf/ne/ONFCoreNetworkElement12Basic.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/sdnr/wt/devicemanager-onf/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/onf/ne/ONFCoreNetworkElement12Basic.java b/sdnr/wt/devicemanager-onf/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/onf/ne/ONFCoreNetworkElement12Basic.java
index de6947dd4..86d28fe4e 100644
--- a/sdnr/wt/devicemanager-onf/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/onf/ne/ONFCoreNetworkElement12Basic.java
+++ b/sdnr/wt/devicemanager-onf/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/onf/ne/ONFCoreNetworkElement12Basic.java
@@ -185,8 +185,10 @@ public class ONFCoreNetworkElement12Basic extends ONFCoreNetworkElement12Base {
// -- Register NE to performance manager
performanceManager.registration(mountPointNodeName, this);
- eventListenerHandler.registration(mountPointNodeName, acessor.getNetconfNode());
- eventListenerHandler.connectIndication(mountPointNodeName, getDeviceType());
+ //events will be already pushed by base devmgr (needs more clarification SDNC-1123)
+ //eventListenerHandler.registration(mountPointNodeName, acessor.getNetconfNode());
+ //LOG.debug("refresh necon entry for {} with type {} not",mountPointNodeName,this.getDeviceType());
+ //eventListenerHandler.connectIndication(mountPointNodeName, getDeviceType());
LOG.info("Starting Event listener finished. Added Netconf device:{} type:{}", mountPointNodeName, getDeviceType());
}