public interface FlowRule
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FlowRule.Builder
A flowrule builder.
|
static class |
FlowRule.Type
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_TIMEOUT |
static int |
MIN_PRIORITY |
| Modifier and Type | Method and Description |
|---|---|
short |
appId()
Returns the application id of this flow.
|
DeviceId |
deviceId()
Returns the identity of the device where this rule applies.
|
GroupId |
groupId()
Returns the group id of this flow.
|
FlowId |
id()
Returns the ID of this flow.
|
boolean |
isPermanent()
Returns whether the flow is permanent i.e.
|
FlowRuleExtPayLoad |
payLoad()
Returns the third party original flow rule.
|
int |
priority()
Returns the flow rule priority given in natural order; higher numbers
mean higher priorities.
|
TrafficSelector |
selector()
Returns the traffic selector that identifies what traffic this rule
should apply to.
|
int |
tableId()
Returns the table id for this rule.
|
int |
timeout()
Returns the timeout for this flow requested by an application.
|
TrafficTreatment |
treatment()
Returns the traffic treatment that applies to selected traffic.
|
static final int MAX_TIMEOUT
static final int MIN_PRIORITY
FlowId id()
short appId()
GroupId groupId()
int priority()
DeviceId deviceId()
TrafficSelector selector()
TrafficTreatment treatment()
int timeout()
boolean isPermanent()
int tableId()
FlowRuleExtPayLoad payLoad()
Copyright © 2015. All rights reserved.