Implement rerouting feature in PathCalcRuntimeModule
Change-Id: Ie37ebd1fa6910e999d457481d7082adb0d1d9a3a
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Link.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Link.java
index ef74f73..4fd53af 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Link.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/Link.java
@@ -12,7 +12,7 @@
public Port getDestinationPort();
public Switch getSourceSwitch();
public Switch getDestinationSwitch();
-
+
public long getLastSeenTime();
public int getCost();
@@ -21,8 +21,12 @@
// Not sure if we want to expose these northbound
// Toshi: I think these are unnecessary because we can get them
// Toshi: like "this.getSourcePort().getSwitch()" etc.
+ @Deprecated
public Long getSourceSwitchDpid();
+ @Deprecated
public Long getSourcePortNumber();
+ @Deprecated
public Long getDestinationSwitchDpid();
+ @Deprecated
public Long getDestinationPortNumber();
}