commit | 7e40c011188aed1520c306df112931d4bd36a46d | [log] [tgz] |
---|---|---|
author | Patryk Konopka <p.konopka2@samsung.com> | Tue Jun 06 13:38:06 2017 +0200 |
committer | Yuta HIGUCHI <y-higuchi@opennetworking.org> | Tue Jun 20 15:43:27 2017 +0000 |
tree | a2be7af224a4f007c5c4108c2be9649f2affab58 | |
parent | 644472eaf9294f909c937cf99393856adee84fee [diff] [blame] |
[ONOS-6607] Get active flow entries count in FlowRuleService Change-Id: I68b4d916f92427c06a82d3622fcc05738f64541c
diff --git a/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java b/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java index 7e601f2..6c47560 100644 --- a/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java +++ b/core/net/src/main/java/org/onosproject/net/flow/impl/FlowRuleManager.java
@@ -704,6 +704,11 @@ return store.getTableStatistics(deviceId); } + @Override + public long getActiveFlowRuleCount(DeviceId deviceId) { + return store.getActiveFlowRuleCount(deviceId); + } + private class InternalDeviceListener implements DeviceListener { @Override public void event(DeviceEvent event) {