public final class HostToHostIntent extends ConnectivityIntent
| Constructor and Description |
|---|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two)
Creates a new host-to-host intent with the supplied host pair and no
other traffic selection or treatment criteria.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two,
TrafficSelector selector,
TrafficTreatment treatment)
Creates a new host-to-host intent with the supplied host pair.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints)
Creates a new host-to-host intent with the supplied host pair.
|
| Modifier and Type | Method and Description |
|---|---|
HostId |
one()
Returns identifier of the first host.
|
String |
toString() |
HostId |
two()
Returns identifier of the second host.
|
constraints, resources, selector, treatmentappId, bindIdGenerator, equals, hashCode, id, isInstallable, resources, unbindIdGeneratorpublic HostToHostIntent(ApplicationId appId, HostId one, HostId two)
appId - application identifierone - first hosttwo - second hostNullPointerException - if one or two is null.public HostToHostIntent(ApplicationId appId, HostId one, HostId two, TrafficSelector selector, TrafficTreatment treatment)
appId - application identifierone - first hosttwo - second hostselector - actiontreatment - ingress portNullPointerException - if one or two is null.public HostToHostIntent(ApplicationId appId, HostId one, HostId two, TrafficSelector selector, TrafficTreatment treatment, List<Constraint> constraints)
appId - application identifierone - first hosttwo - second hostselector - actiontreatment - ingress portconstraints - optional prioritized list of path selection constraintsNullPointerException - if one or two is null.Copyright © 2015. All rights reserved.