Fix for Netconf device re-connection.
Unproprer issuing of Device_UNREGISTERED event was causing incorrect device
removal during session re-establishment.
Unconsistent state in ports and links resulted.
Change-Id: Ie07d9077ff0b197a1cb8936b1f307807fae34aeb
diff --git a/apps/odtn/api/src/test/resources/openconfig-devices.json b/apps/odtn/api/src/test/resources/openconfig-devices.json
index 95cc10b..12ef321 100644
--- a/apps/odtn/api/src/test/resources/openconfig-devices.json
+++ b/apps/odtn/api/src/test/resources/openconfig-devices.json
@@ -2,7 +2,7 @@
"devices" : {
"netconf:127.0.0.1:11002" : {
"basic" : {
- "driver":"infinera-xt3300"
+ "driver":"cassini-ocnos"
},
"netconf" : {
"ip" : "127.0.0.1",
@@ -13,7 +13,7 @@
},
"netconf:127.0.0.1:11003" : {
"basic" : {
- "driver":"infinera-xt3300"
+ "driver":"cassini-ocnos"
},
"netconf" : {
"ip" : "127.0.0.1",
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}