| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| 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 |
|---|---|
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.
|
List<FlowRule> |
FlowRuleBatchRequest.toAdd() |
List<FlowRule> |
FlowRuleBatchRequest.toRemove() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
// TODO: Better description of method behavior.
|
| 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.
|
| Constructor and Description |
|---|
CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures)
Creates a new batch completion result.
|
CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures,
Set<Long> failedIds)
Creates a new batch completion result.
|
| 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.