public abstract class ConnectivityIntentCommand extends AbstractShellCommand
| Constructor and Description |
|---|
ConnectivityIntentCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected org.onosproject.core.ApplicationId |
appId()
Returns application ID for the CLI.
|
protected List<org.onosproject.net.intent.Constraint> |
buildConstraints()
Builds the constraint list for this command based on the command line
parameters.
|
protected org.onosproject.net.flow.TrafficSelector |
buildTrafficSelector()
Constructs a traffic selector based on the command line arguments
presented to the command.
|
protected org.onosproject.net.flow.TrafficTreatment |
buildTrafficTreatment()
Generates a traffic treatment for this intent based on command line
arguments presented to the command.
|
protected org.onosproject.net.intent.Key |
key()
Creates a key for an intent based on command line arguments.
|
protected int |
priority()
Gets the priority to use for the intent.
|
annotations, annotations, annotations, codec, doExecute, error, execute, get, getService, jsonForEntity, mapper, outputJson, printprotected org.onosproject.net.flow.TrafficSelector buildTrafficSelector()
protected org.onosproject.net.flow.TrafficTreatment buildTrafficTreatment()
protected List<org.onosproject.net.intent.Constraint> buildConstraints()
protected org.onosproject.core.ApplicationId appId()
AbstractShellCommandappId in class AbstractShellCommandprotected org.onosproject.net.intent.Key key()
protected int priority()