Cleanup interfaces and fix port state issue
diff --git a/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java b/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java
index 90fdb6e..2c50d29 100644
--- a/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java
+++ b/src/main/java/net/floodlightcontroller/routing/TopoRouteService.java
@@ -33,7 +33,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>();
@@ -145,8 +145,8 @@
}
@Override
- public Boolean RouteExists(NodePortTuple src, NodePortTuple dest) {
- List<NodePortTuple> route = GetShortestPath(src, dest);
+ public Boolean routeExists(NodePortTuple src, NodePortTuple dest) {
+ List<NodePortTuple> route = getShortestPath(src, dest);
if (route != null)
return true;
return false;
diff --git a/src/main/java/net/floodlightcontroller/routing/TopoRouteServiceImpl.java b/src/main/java/net/floodlightcontroller/routing/TopoRouteServiceImpl.java
index 42ce6a8..2ba6097 100644
--- a/src/main/java/net/floodlightcontroller/routing/TopoRouteServiceImpl.java
+++ b/src/main/java/net/floodlightcontroller/routing/TopoRouteServiceImpl.java
@@ -8,14 +8,14 @@
public class TopoRouteServiceImpl implements ITopoRouteService {
@Override
- public List<NodePortTuple> GetShortestPath(NodePortTuple src,
+ public List<NodePortTuple> getShortestPath(NodePortTuple src,
NodePortTuple dest) {
// TODO Auto-generated method stub
return null;
}
@Override
- public Boolean RouteExists(NodePortTuple src, NodePortTuple dest) {
+ public Boolean routeExists(NodePortTuple src, NodePortTuple dest) {
// TODO Auto-generated method stub
return null;
}