| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultFlowRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
FlowRule.Builder |
FlowRule.Builder.forDevice(DeviceId deviceId)
Sets the deviceId for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.forDevice(DeviceId deviceId) |
FlowRule.Builder |
FlowRule.Builder.forTable(int tableId)
Sets the table id for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.forTable(int tableId) |
FlowRule.Builder |
FlowRule.Builder.fromApp(ApplicationId appId)
Assigns the application that built this flow rule to this object.
|
FlowRule.Builder |
DefaultFlowRule.Builder.fromApp(ApplicationId appId) |
FlowRule.Builder |
FlowRule.Builder.makePermanent()
Makes this rule permanent on the dataplane.
|
FlowRule.Builder |
DefaultFlowRule.Builder.makePermanent() |
FlowRule.Builder |
FlowRule.Builder.makeTemporary(int timeout)
Makes this rule temporary and timeout after the specified amount
of time.
|
FlowRule.Builder |
DefaultFlowRule.Builder.makeTemporary(int timeout) |
FlowRule.Builder |
FlowRule.Builder.withCookie(long cookie)
Assigns a cookie value to this flowrule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.withCookie(long cookie) |
FlowRule.Builder |
FlowRule.Builder.withPriority(int priority)
Sets the priority for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.withPriority(int priority) |
FlowRule.Builder |
FlowRule.Builder.withSelector(TrafficSelector selector)
Sets the selector (or match field) for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.withSelector(TrafficSelector selector) |
FlowRule.Builder |
FlowRule.Builder.withTreatment(TrafficTreatment treatment)
Sets the traffic treatment for this flow rule.
|
FlowRule.Builder |
DefaultFlowRule.Builder.withTreatment(TrafficTreatment treatment) |
Copyright © 2015. All rights reserved.