commit | 913e9e1fdc4fe21ccb1d6c1f0e275e9bbf79e60f | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Tue Mar 08 14:09:09 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Mar 09 17:15:21 2016 +0000 |
tree | 68dd3ade6b01c2c74ad6a84234680f69e4d16e0b | |
parent | d35420fe1533235b721bec716c80a3170dcb4e83 [diff] [blame] |
Add CLI command to view provisioned subscribers Change-Id: I67a49d7fa569e9f4f28eb8eaea1b34ba2bd5a5fa
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 74d8a28..456e264 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
@@ -21,6 +21,7 @@ import org.onosproject.net.ConnectPoint; import org.onosproject.net.DeviceId; +import java.util.Collection; import java.util.Map; /** @@ -45,6 +46,13 @@ void removeSubscriber(ConnectPoint port); /** + * Returns information about the provisioned subscribers. + * + * @return subscribers + */ + Collection<Map.Entry<ConnectPoint, VlanId>> getSubscribers(); + + /** * Returns the map of configured OLTs. * * @return a map