public class RolesCommand extends AbstractShellCommand
| Constructor and Description |
|---|
RolesCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this command.
|
protected void |
printRoles(org.onosproject.mastership.MastershipService service,
org.onosproject.net.DeviceId deviceId)
Prints the role information for a device.
|
annotations, annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printprotected void execute()
AbstractShellCommandexecute in class AbstractShellCommandprotected void printRoles(org.onosproject.mastership.MastershipService service,
org.onosproject.net.DeviceId deviceId)
service - mastership servicedeviceId - the ID of the device