Skip to content
Snippets Groups Projects
Commit 9cbbace2 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Switch removed update must be passed on even when no links are connected to the switch.

parent 963a2a24
No related branches found
No related tags found
No related merge requests found
......@@ -1387,6 +1387,10 @@ IFloodlightModule, IInfoProvider, IHAListener {
// Thus, it is not necessary to explicitly add these updates
// to the queue.
deleteLinks(eraseList, "Switch Removed", updateList);
} else {
// Switch does not have any links.
updates.add(new LDUpdate(sw, null,
UpdateOperation.SWITCH_REMOVED));
}
} finally {
lock.writeLock().unlock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment