commit | e05596717df5c1b9b21eea001c786f4f7df02c6b | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Sun Feb 21 14:49:51 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Feb 22 21:07:10 2016 +0000 |
tree | b3a890e749b40563fb164ebea0b1fcafbf1cf5c2 | |
parent | faadd2ef67ce520d907a6120fead4e4e2a1c0c4b [diff] [blame] |
cleaning up more cord apps Change-Id: Ie48245b61926232ca9b2fa583492cb6e88f10990
diff --git a/api/src/main/java/org/onosproject/olt/AccessDeviceService.java b/api/src/main/java/org/onosproject/olt/AccessDeviceService.java index 831784c..74d8a28 100644 --- a/api/src/main/java/org/onosproject/olt/AccessDeviceService.java +++ b/api/src/main/java/org/onosproject/olt/AccessDeviceService.java
@@ -19,6 +19,9 @@ import org.onlab.packet.VlanId; import org.onosproject.event.ListenerService; import org.onosproject.net.ConnectPoint; +import org.onosproject.net.DeviceId; + +import java.util.Map; /** * Service for interacting with an access device (OLT). @@ -41,4 +44,11 @@ */ void removeSubscriber(ConnectPoint port); + /** + * Returns the map of configured OLTs. + * + * @return a map + */ + Map<DeviceId, AccessDeviceData> fetchOlts(); + }