public class RolesCommand extends AbstractShellCommand
log| Constructor and Description |
|---|
RolesCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Body of the shell 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, error, execute, get, getService, jsonForEntity, mapper, outputJson, printprotected void doExecute()
AbstractShellCommanddoExecute in class AbstractShellCommandprotected void printRoles(org.onosproject.mastership.MastershipService service,
org.onosproject.net.DeviceId deviceId)
service - mastership servicedeviceId - the ID of the device