Package org.onosproject.cli.net
Class TopologyCommand
- java.lang.Object
-
- org.onosproject.cli.AbstractShellCommand
-
- org.onosproject.cli.net.TopologyCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
,org.onosproject.codec.CodecContext
- Direct Known Subclasses:
ClustersListCommand
,PathListCommand
public class TopologyCommand extends AbstractShellCommand
Lists summary of the current topology.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.onosproject.net.topology.TopologyService
service
protected org.onosproject.net.topology.Topology
topology
-
Fields inherited from class org.onosproject.cli.AbstractShellCommand
log
-
-
Constructor Summary
Constructors Constructor Description TopologyCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
Body of the shell command.protected void
init()
Initializes the context for all cluster commands.-
Methods inherited from class org.onosproject.cli.AbstractShellCommand
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
-
-
-
-
Method Detail
-
init
protected void init()
Initializes the context for all cluster commands.
-
doExecute
protected void doExecute()
Description copied from class:AbstractShellCommand
Body of the shell command.- Specified by:
doExecute
in classAbstractShellCommand
-
-