Package org.onosproject.cli.net
Class RandomIntentCommand
- java.lang.Object
 - 
- org.onosproject.cli.AbstractShellCommand
 - 
- org.onosproject.cli.net.RandomIntentCommand
 
 
 
- 
- All Implemented Interfaces:
 org.apache.karaf.shell.api.action.Action,CodecContext
public class RandomIntentCommand extends AbstractShellCommand
Installs bulk host-to-host intents between hosts of the network. 
- 
- 
Field Summary
- 
Fields inherited from class org.onosproject.cli.AbstractShellCommand
log 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RandomIntentCommand() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ApplicationIdappId()Returns application ID for the CLI.protected voiddoExecute()Body of the shell command.- 
Methods inherited from class org.onosproject.cli.AbstractShellCommand
annotations, annotations, annotations, 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:AbstractShellCommandBody of the shell command.- Specified by:
 doExecutein classAbstractShellCommand
 
- 
appId
protected ApplicationId appId()
Description copied from class:AbstractShellCommandReturns application ID for the CLI.- Overrides:
 appIdin classAbstractShellCommand- Returns:
 - command-line application identifier
 
 
 - 
 
 -