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.3860When 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 gridWhen 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.AbstractShellCommandlog
 
- 
 - 
Constructor SummaryConstructors Constructor Description RegionAddPeerLocCommand()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute()Body of the shell command.- 
Methods inherited from class org.onosproject.cli.AbstractShellCommandannotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.onosproject.codec.CodecContextdecode, encode
 
- 
 
- 
- 
- 
Method Detail- 
doExecuteprotected void doExecute() Description copied from class:AbstractShellCommandBody of the shell command.- Specified by:
- doExecutein class- AbstractShellCommand
 
 
- 
 
-