supporting multipart stats replies: tested upto 15K rules
Change-Id: I36fbd99d012a74c1f5240f37b60d3b58be85626c
diff --git a/core/net/src/main/java/org/onlab/onos/net/flow/impl/FlowRuleManager.java b/core/net/src/main/java/org/onlab/onos/net/flow/impl/FlowRuleManager.java
index 7b11798..b3481c1 100644
--- a/core/net/src/main/java/org/onlab/onos/net/flow/impl/FlowRuleManager.java
+++ b/core/net/src/main/java/org/onlab/onos/net/flow/impl/FlowRuleManager.java
@@ -138,7 +138,7 @@
public void flowMissing(FlowRule flowRule) {
checkNotNull(flowRule, FLOW_RULE_NULL);
checkValidity();
- log.info("Flow {} has not been installed.", flowRule);
+ log.debug("Flow {} has not been installed.", flowRule);
}
@@ -146,7 +146,7 @@
public void extraneousFlow(FlowRule flowRule) {
checkNotNull(flowRule, FLOW_RULE_NULL);
checkValidity();
- log.info("Flow {} is on switch but not in store.", flowRule);
+ log.debug("Flow {} is on switch but not in store.", flowRule);
}
@Override
@@ -188,8 +188,10 @@
}
}
for (FlowRule rule : storedRules) {
+
// there are rules in the store that aren't on the switch
flowMissing(rule);
+
}
}
}