| 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.statistic |
Service for looking up statistics on links.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FlowEntry
Represents a generalized match & action pair to be applied to
an infrastucture device.
|
interface |
StoredFlowEntry |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultFlowEntry |
class |
DefaultFlowRule |
| Modifier and Type | Method and Description |
|---|---|
FlowRule |
FlowRule.Builder.build()
Builds a flow rule object.
|
FlowRule |
DefaultFlowRule.Builder.build() |
FlowRule |
FlowRuleOperation.rule()
Returns the flow rule.
|
| Modifier and Type | Method and Description |
|---|---|
Set<FlowRule> |
CompletedBatchOperation.failedItems() |
Iterable<FlowRule> |
FlowRuleService.getFlowRulesByGroupId(ApplicationId appId,
short groupId)
Returns a list of rules filterd by application and group id.
|
Iterable<FlowRule> |
FlowRuleService.getFlowRulesById(ApplicationId id)
Returns a list of rules with this application id.
|
| Modifier and Type | Method and Description |
|---|---|
FlowRuleOperations.Builder |
FlowRuleOperations.Builder.add(FlowRule flowRule)
Appends a flow rule add to the current stage.
|
void |
FlowRuleProvider.applyFlowRule(FlowRule... flowRules)
Instructs the provider to apply the specified flow rules to their
respective devices.
|
void |
FlowRuleService.applyFlowRules(FlowRule... flowRules)
Applies the specified flow rules onto their respective devices.
|
void |
FlowRuleStore.deleteFlowRule(FlowRule rule)
Marks a flow rule for deletion.
|
FlowEntry |
FlowRuleStore.getFlowEntry(FlowRule rule)
Returns the stored flow.
|
FlowRuleOperations.Builder |
FlowRuleOperations.Builder.modify(FlowRule flowRule)
Appends a flow rule modify to the current stage.
|
FlowRuleOperations.Builder |
FlowRuleOperations.Builder.remove(FlowRule flowRule)
Appends a flow rule remove to the current stage.
|
void |
FlowRuleProvider.removeFlowRule(FlowRule... flowRules)
Instructs the provider to remove the specified flow rules to their
respective devices.
|
void |
FlowRuleService.removeFlowRules(FlowRule... flowRules)
Removes the specified flow rules from their respective devices.
|
void |
FlowRuleProvider.removeRulesById(ApplicationId id,
FlowRule... flowRules)
Removes rules by their id.
|
void |
FlowRuleStore.storeFlowRule(FlowRule rule)
Deprecated.
|
| Constructor and Description |
|---|
DefaultFlowEntry(FlowRule rule) |
DefaultFlowEntry(FlowRule rule,
FlowEntry.FlowEntryState state,
long life,
long packets,
long bytes) |
DefaultFlowEntry(FlowRule rule,
int errType,
int errCode) |
DefaultFlowRule(FlowRule rule) |
FlowRuleBatchEntry(FlowRuleBatchEntry.FlowRuleOperation operator,
FlowRule target) |
FlowRuleBatchEntry(FlowRuleBatchEntry.FlowRuleOperation operator,
FlowRule target,
Long id) |
FlowRuleEvent(FlowRuleEvent.Type type,
FlowRule flowRule)
Creates an event of a given type and for the specified flow rule and the
current time.
|
FlowRuleEvent(FlowRuleEvent.Type type,
FlowRule flowRule,
long time)
Creates an event of a given type and for the specified flow rule and time.
|
FlowRuleOperation(FlowRule rule,
FlowRuleOperation.Type type) |
| Constructor and Description |
|---|
CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures,
DeviceId deviceId)
Creates a new batch completion result.
|
CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures,
Set<Long> failedIds,
DeviceId deviceId)
Creates a new batch completion result.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<FlowRule> |
FlowRuleIntent.flowRules()
Returns a collection of flow rules to be set.
|
| Constructor and Description |
|---|
FlowRuleIntent(ApplicationId appId,
Key key,
Collection<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates an flow rule intent with the specified key, flow rules to be set, and
required network resources.
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules)
Deprecated.
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates a flow rule intent with the specified flow rules and resources.
|
| Modifier and Type | Method and Description |
|---|---|
FlowRule |
StatisticService.highestHitter(ConnectPoint connectPoint)
Returns the highest hitter (a flow rule) for a given port, ie.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatisticStore.prepareForStatistics(FlowRule rule)
Lay the foundation for receiving flow stats for this rule.
|
void |
StatisticStore.removeFromStatistics(FlowRule rule)
Remove entries associated with this rule.
|
Copyright © 2015. All rights reserved.