public class GroupsListCommand extends AbstractShellCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
ANY |
log| Constructor and Description |
|---|
GroupsListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Body of the shell 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, error, execute, get, getService, jsonForEntity, mapper, outputJson, printpublic static final String ANY
protected void doExecute()
AbstractShellCommanddoExecute 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