diff --git a/src/main/java/net/floodlightcontroller/topology/TopologyInstance.java b/src/main/java/net/floodlightcontroller/topology/TopologyInstance.java index 07a0404b504d828f9ffc8ad250be8ac8ad657b44..e7bf66ae9e98f624b873df9991a16283114c64fe 100644 --- a/src/main/java/net/floodlightcontroller/topology/TopologyInstance.java +++ b/src/main/java/net/floodlightcontroller/topology/TopologyInstance.java @@ -79,7 +79,7 @@ public class TopologyInstance { private Map<DatapathId, Set<NodePortTuple>> portsBroadcastPerArchipelago; /* broadcast ports in each archipelago ID */ private Map<PathId, List<Path>> pathcache; /* contains computed paths ordered best to worst */ - public TopologyInstance(Map<DatapathId, Set<OFPort>> portsWithLinks, + protected TopologyInstance(Map<DatapathId, Set<OFPort>> portsWithLinks, Set<NodePortTuple> portsBlocked, Map<NodePortTuple, Set<Link>> linksNonBcastNonTunnel, Set<NodePortTuple> portsWithMoreThanTwoLinks, @@ -135,7 +135,7 @@ public class TopologyInstance { this.archipelagoFromCluster = new HashMap<Cluster, Archipelago>(); } - public void compute() { + protected void compute() { /* * Step 1: Compute clusters ignoring ports with > 2 links and * blocked links.