Package org.onosproject.net.flow
Interface FlowRuleProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyFlowRule(FlowRule... flowRules)Instructs the provider to apply the specified flow rules to their respective devices.voidexecuteBatch(FlowRuleBatchOperation batch)Installs a batch of flow rules.voidremoveFlowRule(FlowRule... flowRules)Instructs the provider to remove the specified flow rules to their respective devices.
-
-
-
Method Detail
-
applyFlowRule
void applyFlowRule(FlowRule... flowRules)
Instructs the provider to apply the specified flow rules to their respective devices.- Parameters:
flowRules- one or more flow rules throws SomeKindOfException that indicates which ones were applied and which ones failed
-
removeFlowRule
void removeFlowRule(FlowRule... flowRules)
Instructs the provider to remove the specified flow rules to their respective devices.- Parameters:
flowRules- one or more flow rules throws SomeKindOfException that indicates which ones were applied and which ones failed
-
executeBatch
void executeBatch(FlowRuleBatchOperation batch)
Installs a batch of flow rules. Each flowrule is associated to an operation which results in either addition, removal or modification.- Parameters:
batch- a batch of flow rules
-
-