Memo for interfaces which we may want to remove at the end
Change-Id: I5163674aaf87a7e938c819c4a0a2d8f0eaec0dae
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraph.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraph.java
index 882ebbe..9040fe7 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraph.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraph.java
@@ -13,11 +13,13 @@
public interface NetworkGraph {
public Switch getSwitch(Long dpid);
public Iterable<? extends Switch> getSwitches();
-
+
+ // TODO Not sure about the use-case of this method? Remove if not used at the end.
public Iterable<? extends Link> getLinks();
+ // XXX next 2 method can be removed. getSwitch(dpid).getOutgoingLinks() is equivalent
public Iterable<? extends Link> getOutgoingLinksFromSwitch(Long dpid); // Toshi: unnecessary
public Iterable<? extends Link> getIncomingLinksFromSwitch(Long dpid); // Toshi: unnecessary
-
+
public Iterable<Device> getDeviceByIp(InetAddress ipAddress);
public Device getDeviceByMac(MACAddress address);
}