commit | f544c01845c89ef823add445fc18d1a311cfc548 | [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 | dd768e6222f1ce571f763ef5d7ab06fa1621299e | |
parent | 484480899175ffe72431ce7d212613dce1e20fb9 [diff] [blame] |
cleaning up more cord apps Change-Id: Ie48245b61926232ca9b2fa583492cb6e88f10990
diff --git a/apps/olt/api/src/main/java/org/onosproject/olt/AccessDeviceService.java b/apps/olt/api/src/main/java/org/onosproject/olt/AccessDeviceService.java index 831784c..74d8a28 100644 --- a/apps/olt/api/src/main/java/org/onosproject/olt/AccessDeviceService.java +++ b/apps/olt/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(); + }