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