public class PointToPointIntent extends ConnectivityIntent
| Modifier | Constructor and Description |
|---|---|
protected |
PointToPointIntent()
Constructor for serializer.
|
|
PointToPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
ConnectPoint egressPoint)
Creates a new point-to-point intent with the supplied ingress/egress
ports and with built-in link type constraint to avoid optical links.
|
|
PointToPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
ConnectPoint egressPoint,
List<Constraint> constraints)
Creates a new point-to-point intent with the supplied ingress/egress
ports and constraints.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectPoint |
egressPoint()
Returns the port 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 PointToPointIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, ConnectPoint ingressPoint, ConnectPoint egressPoint)
appId - application identifierselector - traffic selectortreatment - treatmentingressPoint - ingress portegressPoint - egress portNullPointerException - if ingressPoint or egressPoints is null.public PointToPointIntent(ApplicationId appId, TrafficSelector selector, TrafficTreatment treatment, ConnectPoint ingressPoint, ConnectPoint egressPoint, List<Constraint> constraints)
appId - application identifierselector - traffic selectortreatment - treatmentingressPoint - ingress portegressPoint - egress portconstraints - optional list of constraintsNullPointerException - if ingressPoint or egressPoints is null.protected PointToPointIntent()
public ConnectPoint ingressPoint()
public ConnectPoint egressPoint()
Copyright © 2015. All rights reserved.