Skip to content
Snippets Groups Projects
Commit 80146aad authored by Shudong Zhou's avatar Shudong Zhou
Browse files

Revert to sending LLDP on all switches on switch add

parent dcf9d05a
No related branches found
No related tags found
No related merge requests found
......@@ -857,7 +857,10 @@ public class TopologyImpl implements IOFMessageListener, IOFSwitchListener,
*/
@Override
public void addedSwitch(IOFSwitch sw) {
sendLLDPs(sw);
// It's probably overkill to send LLDP from all switches, but we don't
// know which switches might be connected to the new switch.
// Need to optimize when supporting a large number of switches.
sendLLDPs();
}
/**
......
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