public final class LinkCollectionIntent extends ConnectivityIntent
| Modifier | Constructor and Description |
|---|---|
protected |
LinkCollectionIntent()
Constructor for serializer.
|
|
LinkCollectionIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<Link> links,
ConnectPoint egressPoint)
Creates a new actionable intent capable of funneling the selected traffic
along the specified convergent tree and out the given egress point.
|
|
LinkCollectionIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<Link> links,
ConnectPoint egressPoint,
List<Constraint> constraints)
Creates a new actionable intent capable of funneling the selected
traffic along the specified convergent tree and out the given egress point
satisfying the specified constraints.
|
|
LinkCollectionIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<Link> links,
Set<ConnectPoint> egressPoints,
List<Constraint> constraints)
Creates a new actionable intent capable of funneling the selected traffic
along the specified convergent tree and out the given egress point.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ConnectPoint> |
egressPoints()
Returns the egress point of the intent.
|
boolean |
isInstallable()
Indicates whether or not the intent is installable.
|
Set<Link> |
links()
Returns the set of links that represent the network connections needed
by this intent.
|
String |
toString() |
constraints, resources, selector, treatmentappId, bindIdGenerator, equals, hashCode, id, resources, unbindIdGeneratorpublic LinkCollectionIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, Set<Link> links, ConnectPoint egressPoint)
appId - application identifierselector - traffic matchtreatment - actionlinks - traversed linksegressPoint - egress pointNullPointerException - path is nullpublic LinkCollectionIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, Set<Link> links, ConnectPoint egressPoint, List<Constraint> constraints)
appId - application identifierselector - traffic matchtreatment - actionlinks - traversed linksegressPoint - egress pointconstraints - optional list of constraintsNullPointerException - path is nullpublic LinkCollectionIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, Set<Link> links, Set<ConnectPoint> egressPoints, List<Constraint> constraints)
appId - application identifierselector - traffic matchtreatment - actionlinks - traversed linksegressPoints - Set of egress pointconstraints - the constraintsNullPointerException - path is nullprotected LinkCollectionIntent()
public Set<Link> links()
public Set<ConnectPoint> egressPoints()
public boolean isInstallable()
IntentisInstallable in class IntentCopyright © 2015. All rights reserved.