public abstract class ConnectivityIntentCommand extends AbstractShellCommand
log
Constructor and Description |
---|
ConnectivityIntentCommand() |
Modifier and Type | Method and Description |
---|---|
protected ApplicationId |
appId()
Returns application ID for the CLI.
|
protected List<Constraint> |
buildConstraints()
Builds the constraint list for this command based on the command line
parameters.
|
protected TrafficSelector |
buildTrafficSelector()
Constructs a traffic selector based on the command line arguments
presented to the command.
|
protected TrafficTreatment |
buildTrafficTreatment()
Generates a traffic treatment for this intent based on command line
arguments presented to the command.
|
protected Key |
key()
Creates a key for an intent based on command line arguments.
|
protected int |
priority()
Gets the priority to use for the intent.
|
protected ResourceGroup |
resourceGroup() |
annotations, annotations, annotations, codec, doExecute, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected TrafficSelector buildTrafficSelector()
protected TrafficTreatment buildTrafficTreatment()
protected List<Constraint> buildConstraints()
protected ApplicationId appId()
AbstractShellCommand
appId
in class AbstractShellCommand
protected ResourceGroup resourceGroup()
protected Key key()
protected int priority()