public static final class MplsPathIntent.Builder extends PathIntent.Builder
constraints, selector, treatmentappId, key, priority, resources| Modifier and Type | Method and Description |
|---|---|
MplsPathIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
MplsPathIntent |
build()
Builds a host to host intent from the accumulated parameters.
|
MplsPathIntent.Builder |
constraints(List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
MplsPathIntent.Builder |
egressLabel(Optional<org.onlab.packet.MplsLabel> egressLabel)
Sets the ingress label of the intent that will be built.
|
MplsPathIntent.Builder |
ingressLabel(Optional<org.onlab.packet.MplsLabel> ingressLabel)
Sets the ingress label of the intent that will be built.
|
MplsPathIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
MplsPathIntent.Builder |
path(Path path)
Sets the path of the intent that will be built.
|
MplsPathIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
MplsPathIntent.Builder |
selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
MplsPathIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
setTyperesourcespublic MplsPathIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class PathIntent.BuilderappId - application id to use for built intentpublic MplsPathIntent.Builder key(Key key)
Intent.Builderkey in class PathIntent.Builderkey - key to use for built intentpublic MplsPathIntent.Builder selector(TrafficSelector selector)
ConnectivityIntent.Builderselector in class PathIntent.Builderselector - selector to use for built intentpublic MplsPathIntent.Builder treatment(TrafficTreatment treatment)
ConnectivityIntent.Buildertreatment in class PathIntent.Buildertreatment - treatment to use for built intentpublic MplsPathIntent.Builder constraints(List<Constraint> constraints)
ConnectivityIntent.Builderconstraints in class PathIntent.Builderconstraints - constraints to use for built intentpublic MplsPathIntent.Builder priority(int priority)
Intent.Builderpriority in class PathIntent.Builderpriority - priority to use for built intentpublic MplsPathIntent.Builder path(Path path)
PathIntent.Builderpath in class PathIntent.Builderpath - path for the intentpublic MplsPathIntent.Builder ingressLabel(Optional<org.onlab.packet.MplsLabel> ingressLabel)
ingressLabel - ingress labelpublic MplsPathIntent.Builder egressLabel(Optional<org.onlab.packet.MplsLabel> egressLabel)
egressLabel - ingress labelpublic MplsPathIntent build()
build in class PathIntent.Builder