public class VirtualFlowsListCommand extends AbstractShellCommand
| Constructor and Description |
|---|
VirtualFlowsListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this command.
|
protected SortedMap<Device,List<FlowEntry>> |
getSortedFlows(DeviceService deviceService,
FlowRuleService service)
Returns the list of devices sorted using the device ID URIs.
|
protected void |
printFlows(Device d,
List<FlowEntry> flows,
CoreService coreService)
Prints flows.
|
annotations, annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printcheckInterrupted, executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodepublic static final String ANY
protected void execute()
AbstractShellCommandexecute in class AbstractShellCommandprotected SortedMap<Device,List<FlowEntry>> getSortedFlows(DeviceService deviceService, FlowRuleService service)
deviceService - device serviceservice - flow rule serviceprotected void printFlows(Device d, List<FlowEntry> flows, CoreService coreService)
d - the deviceflows - the set of flows for that devicecoreService - core system service