public class SinglePointToMultiPointIntent extends ConnectivityIntent
| Modifier | Constructor and Description |
|---|---|
protected |
SinglePointToMultiPointIntent()
Constructor for serializer.
|
|
SinglePointToMultiPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
Set<ConnectPoint> egressPoints)
Creates a new single-to-multi point connectivity intent.
|
|
SinglePointToMultiPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
Set<ConnectPoint> egressPoints,
List<Constraint> constraints)
Creates a new single-to-multi point connectivity intent.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ConnectPoint> |
egressPoints()
Returns the set of ports on which the traffic should egress.
|
ConnectPoint |
ingressPoint()
Returns the port on which the ingress traffic should be connected to the
egress.
|
String |
toString() |
constraints, resources, selector, treatmentappId, bindIdGenerator, equals, hashCode, id, isInstallable, resources, unbindIdGeneratorpublic SinglePointToMultiPointIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, ConnectPoint ingressPoint, Set<ConnectPoint> egressPoints)
appId - application identifierselector - traffic selectortreatment - treatmentingressPoint - port on which traffic will ingressegressPoints - set of ports on which traffic will egressNullPointerException - if ingressPoint or
egressPoints is nullIllegalArgumentException - if the size of egressPoints is
not more than 1public SinglePointToMultiPointIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, ConnectPoint ingressPoint, Set<ConnectPoint> egressPoints, List<Constraint> constraints)
appId - application identifierselector - traffic selectortreatment - treatmentingressPoint - port on which traffic will ingressegressPoints - set of ports on which traffic will egressconstraints - constraints to apply to the intentNullPointerException - if ingressPoint or
egressPoints is nullIllegalArgumentException - if the size of egressPoints is
not more than 1protected SinglePointToMultiPointIntent()
public ConnectPoint ingressPoint()
public Set<ConnectPoint> egressPoints()
Copyright © 2015. All rights reserved.