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