| 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.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 |
DefaultTrafficSelector
Default traffic selector implementation.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficSelector |
TrafficSelector.Builder.build()
Builds an immutable traffic selector.
|
TrafficSelector |
DefaultTrafficSelector.Builder.build() |
static TrafficSelector |
DefaultTrafficSelector.emptySelector()
Returns an empty traffic selector.
|
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.
|
FlowRule.Builder |
FlowRule.Builder.withSelector(TrafficSelector selector)
Sets the selector (or match field) for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.withSelector(TrafficSelector 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)
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 |
|---|---|
TrafficSelector |
ForwardingObjective.selector()
Obtain the selector for this objective.
|
TrafficSelector |
DefaultForwardingObjective.selector() |
| Modifier and Type | Method and Description |
|---|---|
ForwardingObjective.Builder |
ForwardingObjective.Builder.withSelector(TrafficSelector selector)
Assigns a selector to the forwarding objective.
|
DefaultForwardingObjective.Builder |
DefaultForwardingObjective.Builder.withSelector(TrafficSelector selector) |
| Modifier and Type | Field and Description |
|---|---|
protected TrafficSelector |
ConnectivityIntent.Builder.selector |
| Modifier and Type | Method and Description |
|---|---|
TrafficSelector |
ConnectivityIntent.selector()
Returns the match specifying the type of traffic.
|
| Modifier and Type | Method and Description |
|---|---|
TwoWayP2PIntent.Builder |
TwoWayP2PIntent.Builder.selector(TrafficSelector selector) |
SinglePointToMultiPointIntent.Builder |
SinglePointToMultiPointIntent.Builder.selector(TrafficSelector selector) |
PointToPointIntent.Builder |
PointToPointIntent.Builder.selector(TrafficSelector selector) |
PathIntent.Builder |
PathIntent.Builder.selector(TrafficSelector selector) |
MultiPointToSinglePointIntent.Builder |
MultiPointToSinglePointIntent.Builder.selector(TrafficSelector selector) |
MplsPathIntent.Builder |
MplsPathIntent.Builder.selector(TrafficSelector selector) |
MplsIntent.Builder |
MplsIntent.Builder.selector(TrafficSelector selector) |
LinkCollectionIntent.Builder |
LinkCollectionIntent.Builder.selector(TrafficSelector selector) |
HostToHostIntent.Builder |
HostToHostIntent.Builder.selector(TrafficSelector selector) |
ConnectivityIntent.Builder |
ConnectivityIntent.Builder.selector(TrafficSelector selector)
Sets the traffic selector for the intent that will be built.
|
| 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 |
|---|---|
TrafficSelector |
PacketRequest.selector()
Obtain the traffic selector.
|
TrafficSelector |
DefaultPacketRequest.selector() |
| Modifier and Type | Method and Description |
|---|---|
void |
PacketService.requestPackets(TrafficSelector selector,
PacketPriority priority,
ApplicationId appId)
Requests that packets matching the given selector are punted from the
dataplane to the controller.
|
void |
PacketService.requestPackets(TrafficSelector selector,
PacketPriority priority,
ApplicationId appId,
FlowRule.Type tableType)
Requests that packets matching the given selector are punted from the
dataplane to the controller.
|
| Constructor and Description |
|---|
DefaultPacketRequest(TrafficSelector selector,
PacketPriority priority,
ApplicationId appId,
FlowRule.Type tableType) |
Copyright © 2015. All rights reserved.