Renamed interface name (for consistency with the rest of the code):
GetShortestpath -> GetShortestPath
diff --git a/src/main/java/net/floodlightcontroller/core/INetMapTopologyService.java b/src/main/java/net/floodlightcontroller/core/INetMapTopologyService.java
index da00e0f..27e0a05 100644
--- a/src/main/java/net/floodlightcontroller/core/INetMapTopologyService.java
+++ b/src/main/java/net/floodlightcontroller/core/INetMapTopologyService.java
@@ -24,7 +24,7 @@
}
public interface ITopoRouteService {
- List<NodePortTuple> GetShortestpath(NodePortTuple src, NodePortTuple dest);
+ List<NodePortTuple> GetShortestPath(NodePortTuple src, NodePortTuple dest);
Boolean RouteExists(NodePortTuple src, NodePortTuple dest);
}
diff --git a/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java b/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java
index be78494..9d921f5 100644
--- a/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java
+++ b/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java
@@ -45,7 +45,7 @@
SwitchStorageImpl swStore = store.get();
@Override
- public List<NodePortTuple> GetShortestpath(NodePortTuple src,
+ public List<NodePortTuple> GetShortestPath(NodePortTuple src,
NodePortTuple dest) {
List<NodePortTuple> result_list = new ArrayList<NodePortTuple>();
@@ -142,7 +142,7 @@
@Override
public Boolean RouteExists(NodePortTuple src, NodePortTuple dest) {
- List<NodePortTuple> route = GetShortestpath(src, dest);
+ List<NodePortTuple> route = GetShortestPath(src, dest);
if (route != null)
return true;
return false;
diff --git a/src/main/java/net/floodlightcontroller/topology/web/RouteResource.java b/src/main/java/net/floodlightcontroller/topology/web/RouteResource.java
index 56c9bf3..fe33f47 100644
--- a/src/main/java/net/floodlightcontroller/topology/web/RouteResource.java
+++ b/src/main/java/net/floodlightcontroller/topology/web/RouteResource.java
@@ -51,7 +51,7 @@
}
*/
List<NodePortTuple> result =
- onos_routing.GetShortestpath(new NodePortTuple(longSrcDpid, shortSrcPort),
+ onos_routing.GetShortestPath(new NodePortTuple(longSrcDpid, shortSrcPort),
new NodePortTuple(longDstDpid, shortDstPort));
if ((result != null) && (result.size() > 0)) {
return result;