Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Use normal identify messages first
[netconf.git]
/
opendaylight
/
netconf
/
netconf-topology
/
src
/
main
/
java
/
org
/
opendaylight
/
netconf
/
topology
/
impl
/
NetconfTopologyManagerCallback.java
diff --git
a/opendaylight/netconf/netconf-topology/src/main/java/org/opendaylight/netconf/topology/impl/NetconfTopologyManagerCallback.java
b/opendaylight/netconf/netconf-topology/src/main/java/org/opendaylight/netconf/topology/impl/NetconfTopologyManagerCallback.java
index 739aa66eb2df6e452d9ce0291d04fcde614a9450..3a9c8db73201749ebcb01425e91ae6e250806579 100644
(file)
--- a/
opendaylight/netconf/netconf-topology/src/main/java/org/opendaylight/netconf/topology/impl/NetconfTopologyManagerCallback.java
+++ b/
opendaylight/netconf/netconf-topology/src/main/java/org/opendaylight/netconf/topology/impl/NetconfTopologyManagerCallback.java
@@
-127,6
+127,9
@@
public class NetconfTopologyManagerCallback implements TopologyManagerCallback {
@Nonnull
@Override
public ListenableFuture<Node> getCurrentStatusForNode(@Nonnull NodeId nodeId) {
+ if (!nodes.containsKey(nodeId)) {
+ nodes.put(nodeId, createNodeManager(nodeId));
+ }
return nodes.get(nodeId).getCurrentStatusForNode(nodeId);
}