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

Schedule the link discovery task on startup.

parent 47331797
No related branches found
No related tags found
No related merge requests found
......@@ -309,9 +309,6 @@ IFloodlightModule, IInfoProvider, IHAListener {
if (lldpClock == 0) {
discoverOnAllPorts();
return;
} else {
discoverOnKnownLinkPorts();
}
}
......@@ -1607,6 +1604,7 @@ IFloodlightModule, IInfoProvider, IHAListener {
}}, "Topology Updates");
updatesThread.start();
discoveryTask.reschedule(DISCOVERY_TASK_INTERVAL, TimeUnit.SECONDS);
// Register for the OpenFlow messages we want to receive
floodlightProvider.addOFMessageListener(OFType.PACKET_IN, this);
floodlightProvider.addOFMessageListener(OFType.PORT_STATUS, this);
......
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