| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.flowobjective |
Abstractions for objective-based flow programming of data plane without
requiring device pipeline structure awareness. This subsystem is
experimental and its interfaces will change in the upcoming release.
|
| org.onosproject.net.group |
Abstractions for interacting with device port groups.
|
| 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.
|
| org.onosproject.net.packet |
Mechanism for processing inbound packets intercepted from the data plane and
for emitting outbound packets onto the data plane.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTrafficTreatment
Default traffic treatment implementation.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficTreatment |
TrafficTreatment.Builder.build()
Builds an immutable traffic treatment descriptor.
|
TrafficTreatment |
DefaultTrafficTreatment.Builder.build() |
static TrafficTreatment |
DefaultTrafficTreatment.emptyTreatment()
Returns an empty traffic treatment.
|
TrafficTreatment |
FlowRule.treatment()
Returns the traffic treatment that applies to selected traffic.
|
TrafficTreatment |
DefaultFlowRule.treatment() |
| Modifier and Type | Method and Description |
|---|---|
static TrafficTreatment.Builder |
DefaultTrafficTreatment.builder(TrafficTreatment treatment)
Returns a new traffic treatment builder primed to produce entities
patterned after the supplied treatment.
|
FlowRule.Builder |
FlowRule.Builder.withTreatment(TrafficTreatment treatment)
Sets the traffic treatment for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.withTreatment(TrafficTreatment treatment) |
| 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)
Deprecated.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
GroupId groupId,
int timeout,
boolean permanent,
FlowRuleExtPayLoad payLoad)
Support for the third party flow rule.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
int timeout,
boolean permanent)
Deprecated.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
int timeout,
boolean permanent,
FlowRule.Type type)
Deprecated.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
int timeout,
boolean permanent,
FlowRuleExtPayLoad payLoad)
Support for the third party flow rule.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
long flowId,
int timeout,
boolean permanent)
Deprecated.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
long flowId,
int timeout,
boolean permanent,
FlowRule.Type tableType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficTreatment |
ForwardingObjective.treatment()
A traffic treatment for this forwarding objective.
|
TrafficTreatment |
DefaultForwardingObjective.treatment() |
| Modifier and Type | Method and Description |
|---|---|
Collection<TrafficTreatment> |
NextObjective.next()
The collection of treatments that need to be applied to a set of traffic.
|
Collection<TrafficTreatment> |
DefaultNextObjective.next() |
| Modifier and Type | Method and Description |
|---|---|
NextObjective.Builder |
NextObjective.Builder.addTreatment(TrafficTreatment treatment)
Adds a treatment to this next step.
|
DefaultNextObjective.Builder |
DefaultNextObjective.Builder.addTreatment(TrafficTreatment treatment) |
ForwardingObjective.Builder |
ForwardingObjective.Builder.withTreatment(TrafficTreatment treatment)
Assigns the treatment for this forwarding objective.
|
DefaultForwardingObjective.Builder |
DefaultForwardingObjective.Builder.withTreatment(TrafficTreatment treatment) |
| Modifier and Type | Method and Description |
|---|---|
TrafficTreatment |
GroupBucket.treatment()
Returns list of Traffic instructions that are part of the bucket.
|
TrafficTreatment |
DefaultGroupBucket.treatment()
Returns list of Traffic instructions that are part of the bucket.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupBucket |
DefaultGroupBucket.createFailoverGroupBucket(TrafficTreatment treatment,
PortNumber watchPort,
GroupId watchGroup)
Creates failover group bucket with watchport or watchgroup.
|
static GroupBucket |
DefaultGroupBucket.createIndirectGroupBucket(TrafficTreatment treatment)
Creates indirect group bucket.
|
static GroupBucket |
DefaultGroupBucket.createSelectGroupBucket(TrafficTreatment treatment)
Creates select group bucket with weight as 1.
|
static GroupBucket |
DefaultGroupBucket.createSelectGroupBucket(TrafficTreatment treatment,
short weight)
Creates select group bucket with specified weight.
|
| Modifier and Type | Field and Description |
|---|---|
protected TrafficTreatment |
ConnectivityIntent.Builder.treatment |
| Modifier and Type | Method and Description |
|---|---|
TrafficTreatment |
ConnectivityIntent.treatment()
Returns the action applied to the traffic.
|
| Constructor and Description |
|---|
ConnectivityIntent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints,
int priority)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
PathIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Path path,
List<Constraint> constraints,
int priority)
Creates a new point-to-point intent with the supplied ingress/egress
ports and using the specified explicit path.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficTreatment |
OutboundPacket.treatment()
Returns how the outbound packet should be treated.
|
TrafficTreatment |
DefaultOutboundPacket.treatment() |
| Constructor and Description |
|---|
DefaultOutboundPacket(DeviceId sendThrough,
TrafficTreatment treatment,
ByteBuffer data)
Creates an immutable outbound packet.
|
Copyright © 2015. All rights reserved.