| 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.
|
| 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() |
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.
|
| 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 |
|---|---|
TrafficTreatment |
ConnectivityIntent.treatment()
Returns the action applied to the 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.
|
| 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.