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

Move initialization of topology from startUp() to init().

parent 6dbfddb2
No related branches found
No related tags found
No related merge requests found
......@@ -616,7 +616,7 @@ public class TopologyManager implements
ldUpdates = new LinkedBlockingQueue<LDUpdate>();
appliedUpdates = new HashSet<LDUpdate>();
lastUpdateTime = new Date();
clearCurrentTopology();
}
@Override
......@@ -624,7 +624,6 @@ public class TopologyManager implements
ScheduledExecutorService ses = threadPool.getScheduledExecutor();
newInstanceTask = new SingletonTask(ses, new NewInstanceWorker());
linkDiscovery.addListener(this);
clearCurrentTopology();
floodlightProvider.addOFMessageListener(OFType.PACKET_IN, this);
floodlightProvider.addHAListener(this);
addRestletRoutable();
......
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