commit | ed0f4a82653fecb5e30dc9bc957ac69e04f68c81 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Mon Nov 04 16:38:36 2013 -0800 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Mon Nov 04 16:38:36 2013 -0800 |
tree | 99c3c9446d0cda587db52e579f08bae829a28c46 | |
parent | fb94edc8fd3b36369da972445a354fdc010a0b71 [diff] [blame] |
Update the REST shortest-path computation backend to use the in-memory topology, so the result is consistent with the shortest-path computation as done by the rest of the system.
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java index debb5b1..cb1e678 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java +++ b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java
@@ -74,6 +74,13 @@ } /** + * Get the network topology. + * + * @return the network topology. + */ + protected Topology getTopology() { return this.topology; } + + /** * Run the thread. */ @Override