Relaxing a strict check in updateNode in SwitchManager to handle a condition in which... 50/4750/1
authorMadhu Venugopal <mavenugo@gmail.com>
Sat, 25 Jan 2014 00:04:27 +0000 (16:04 -0800)
committerMadhu Venugopal <mavenugo@gmail.com>
Sat, 25 Jan 2014 00:04:27 +0000 (16:04 -0800)
commit82e3a5c7a6d2bbce5dffe0bae63393379a42ac75
treec583aec43e2dc878c7461a31fa7aa394a44bc2f9
parent7974eb6a8ede81ed2593fe3fb5cda65cee51ee5d
Relaxing a strict check in updateNode in SwitchManager to handle a condition in which the adaptor fails to call the addNode.

The existing ADSAL code is already robust enough to handle the scenario of NodeProps not containing the a node Key.
Also, there are cases in which an application might just want to see an update event for processing
(especially when the addNode events are missing).

Change-Id: I6561f2f34220b2372b142307754f086a2abe42fd
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManager.java