commit | 86294db0e1999dcc89c1c44e610ed5a6d9c40288 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@onlab.us> | Mon Mar 07 11:42:49 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Mar 08 19:42:18 2016 +0000 |
tree | cd2c97a3eacfa9b65d2610b556b9bfe6bdc0bed0 | |
parent | ee9e371b1cd81af80bc72a904271c3f3cbaeea6e [diff] [blame] |
Removing Rest and Netconf devices when the providers are disabled Change-Id: Icac7146fea1295c11972ae4cbf87f8ef9689c671
diff --git a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java index 74d49b2..0b2906e 100644 --- a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java +++ b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java
@@ -182,6 +182,7 @@ null, null, Optional.of(-1), netconfDeviceInfo); netconfDeviceEventListeners.forEach( listener -> listener.event(event)); + this.interrupt(); } else { deviceReply = deviceReply.replace(END_PATTERN, ""); if (deviceReply.contains(RPC_REPLY) ||