Skip to content
Snippets Groups Projects
Commit fff3706e authored by Rob Adams's avatar Rob Adams
Browse files

Merge pull request #249 from sriniram/master

Schedule the link discovery task on startup.
parents 47331797 c95b1038
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