public class GroupsListCommand extends AbstractShellCommand
| Constructor and Description |
|---|
GroupsListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this command.
|
protected SortedMap<org.onosproject.net.Device,List<org.onosproject.net.group.Group>> |
getSortedGroups(org.onosproject.net.device.DeviceService deviceService,
org.onosproject.net.group.GroupService groupService)
Returns the list of devices sorted using the device ID URIs.
|
annotations, annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printcheckInterrupted, executepublic static final String ANY
protected void execute()
AbstractShellCommandexecute in class AbstractShellCommandprotected SortedMap<org.onosproject.net.Device,List<org.onosproject.net.group.Group>> getSortedGroups(org.onosproject.net.device.DeviceService deviceService, org.onosproject.net.group.GroupService groupService)
deviceService - device servicegroupService - group service