| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.intent |
Set of abstractions for conveying high-level intents for treatment of
selected network traffic by allowing applications to express the
what rather than the how.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTrafficSelector
Default traffic selector implementation.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficSelector |
TrafficSelector.Builder.build()
Builds an immutable traffic selector.
|
TrafficSelector |
DefaultTrafficSelector.Builder.build() |
TrafficSelector |
FlowRule.selector()
Returns the traffic selector that identifies what traffic this
rule should apply to.
|
TrafficSelector |
DefaultFlowRule.selector() |
| Modifier and Type | Method and Description |
|---|---|
static TrafficSelector.Builder |
DefaultTrafficSelector.builder(TrafficSelector selector)
Returns a new traffic selector builder primed to produce entities
patterned after the supplied selector.
|
| Constructor and Description |
|---|
DefaultFlowEntry(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
FlowEntry.FlowEntryState state,
long life,
long packets,
long bytes,
long flowId,
int timeout) |
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
GroupId groupId,
int timeout,
boolean permanent) |
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
int timeout,
boolean permanent) |
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
short groupId,
int timeout,
boolean permanent)
Deprecated.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
long flowId,
int timeout,
boolean permanent) |
| Modifier and Type | Method and Description |
|---|---|
TrafficSelector |
ConnectivityIntent.selector()
Returns the match specifying the type of traffic.
|
| Constructor and Description |
|---|
ConnectivityIntent(ApplicationId appId,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
ConnectivityIntent(ApplicationId appId,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
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.
|
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.
|
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.
|
PathIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Path path)
Creates a new point-to-point intent with the supplied ingress/egress
ports and using the specified explicit path.
|
PathIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Path path,
List<Constraint> constraints)
Creates a new point-to-point intent with the supplied ingress/egress
ports and using the specified explicit path.
|
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.
|
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.
|
Copyright © 2015. All rights reserved.