commit | aa7e7deae56d9bd15df280665244897e91a7bb0e | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Wed Nov 12 19:20:44 2014 -0800 |
committer | alshabib <alshabibi.ali@gmail.com> | Wed Nov 12 19:20:44 2014 -0800 |
tree | 5c9326089b688e88e545e90cd439906e803e0368 | |
parent | 28204e515d7a85411fc4c15b54089583fda55b29 [diff] [blame] |
adding getFlowRulesByGroupId to the flowservice Change-Id: Idfcc86277b28af99e201f3bdfdf139217d77244c
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleService.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleService.java index f40a0f1..8561f8a 100644 --- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleService.java +++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleService.java
@@ -84,6 +84,15 @@ Iterable<FlowRule> getFlowRulesById(ApplicationId id); /** + * Returns a list of rules filterd by application and group id. + * + * @param appId the application id to lookup + * @param groupId the groupid to lookup + * @return collection of flow rules + */ + Iterable<FlowRule> getFlowRulesByGroupId(ApplicationId appId, short groupId); + + /** * Applies a batch operation of FlowRules. * * @param batch batch operation to apply