Package org.onosproject.cli.net
Class RegionAddPeerLocCommand
- java.lang.Object
-
- org.onosproject.cli.AbstractShellCommand
-
- org.onosproject.cli.net.RegionAddPeerLocCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
,CodecContext
public class RegionAddPeerLocCommand extends AbstractShellCommand
Annotate a region with a peer location. That is, when rendering the first region, where should the second (peer) region node be located on the layout. An example:region-add-peer-loc rUK rES 50.4060 -3.3860
When rendering the rUK region, the rES peer region node should be located at latitude 50.4060 and longitude -3.3860.region-add-peer-loc rUK rES 100.0 200.0 grid
When rendering the rUK region, the rES peer region node should be located at grid-Y 100 and grid-X 200.
-
-
Field Summary
-
Fields inherited from class org.onosproject.cli.AbstractShellCommand
log
-
-
Constructor Summary
Constructors Constructor Description RegionAddPeerLocCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
Body of the shell command.-
Methods inherited from class org.onosproject.cli.AbstractShellCommand
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onosproject.codec.CodecContext
decode, encode
-
-
-
-
Method Detail
-
doExecute
protected void doExecute()
Description copied from class:AbstractShellCommand
Body of the shell command.- Specified by:
doExecute
in classAbstractShellCommand
-
-