Bug7485 Make statistics poller parameters configurable.
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
index caabb2525ec953b1d31c6ae3da0f6d685e9a7406..d9497d7811b9e03f02af4b47263cec3f4f04b4de 100644 (file)
@@ -83,10 +83,10 @@ module openflow-provider-config {
             default 60;
         }
 
-        leaf notification-flow-removed-off {
-            description "Turning off flow removed notification";
+        leaf enable-flow-removed-notification {
+            description "Turning on flow removed notification";
             type boolean;
-            default "false";
+            default "true";
         }
 
         leaf skip-table-features {
@@ -95,5 +95,18 @@ module openflow-provider-config {
             type boolean;
             default "true";
         }
+
+        leaf basic-timer-delay {
+            description "initial delay used in polling the statistics, value is in milliseconds";
+            type non-zero-uint32-type;
+            default 3000;
+        }
+
+        leaf maximum-timer-delay {
+            description "maximum timer delay is the wait time to collect next statistics
+            used in polling the statistics, value is in milliseconds";
+            type non-zero-uint32-type;
+            default 900000;
+        }
     }
 }
\ No newline at end of file