commit | 1cde50b4c18f8586f674d62f2318e02499f03cef | [log] [tgz] |
---|---|---|
author | Pankaj Berde <pankaj@onlab.us> | Tue Feb 19 20:16:06 2013 -0800 |
committer | Pankaj Berde <pankaj@onlab.us> | Tue Feb 19 20:16:06 2013 -0800 |
tree | ec88f6a795d29fc89df767772c387d7f753f256a | |
parent | b603134a255865ae96dda07d7b1e3eccf304b593 [diff] |
Cleanup interfaces and fix port state issue
diff --git a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkStorageImpl.java b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkStorageImpl.java index 966e180..503f2f3 100644 --- a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkStorageImpl.java +++ b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkStorageImpl.java
@@ -224,7 +224,7 @@ ITopoSwitchService swService = new TopoSwitchServiceImpl(); - Iterable<ISwitchObject> switches = swService.GetActiveSwitches(); + Iterable<ISwitchObject> switches = swService.getActiveSwitches(); List<Link> links = new ArrayList<Link>(); for (ISwitchObject sw : switches) {
diff --git a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java index 2dbb338..c452fcd 100644 --- a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java +++ b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java
@@ -19,14 +19,14 @@ LinkStorageImpl linkStore = store.get(); @Override - public List<Link> GetActiveLinks() { + public List<Link> getActiveLinks() { // TODO Auto-generated method stub List<Link> retval = linkStore.getActiveLinks(); return retval; } @Override - public List<Link> GetLinksOnSwitch(String dpid) { + public List<Link> getLinksOnSwitch(String dpid) { // TODO Auto-generated method stub return linkStore.getLinks(dpid); }