Skip to content
Snippets Groups Projects
Commit e034cbb0 authored by abat's avatar abat
Browse files

Merge into master from pull request #158:

Document the new ITopologyService method (https://github.com/floodlight/floodlight/pull/158)
parents 99f0cd10 f5aa814e
No related branches found
No related tags found
No related merge requests found
......@@ -185,9 +185,10 @@ public interface ITopologyService extends IFloodlightService {
public Set<NodePortTuple> getBlockedPorts();
/**
* Returns a set of link updates, which had been applied
* in computing the new topology.
* ITopologyListener provides topologyChanged notification,
* but not *what* the changes were.
* This method returns the delta in the linkUpdates between the current and the previous topology instance.
* @return
*/
public Set<LDUpdate> getAppliedLinkUpdates();
public Set<LDUpdate> getLastLinkUpdates();
}
......@@ -429,7 +429,7 @@ public class TopologyManager implements
}
@Override
public Set<LDUpdate> getAppliedLinkUpdates() {
public Set<LDUpdate> getLastLinkUpdates() {
return appliedUpdates;
}
////////////////////////////////////////////////////////////////////////
......
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