Bug7485 Make statistics poller parameters configurable.
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
index 2d180acbc0119a6c58feaac77c7848b9f789e8fa..d9497d7811b9e03f02af4b47263cec3f4f04b4de 100644 (file)
@@ -39,9 +39,9 @@ module openflow-provider-config {
             default 64000;
         }
 
-        leaf is-statistics-polling-off {
+        leaf is-statistics-polling-on {
             type boolean;
-            default "false";
+            default "true";
         }
 
         leaf is-statistics-rpc-enabled {
@@ -82,5 +82,31 @@ module openflow-provider-config {
             type uint32;
             default 60;
         }
+
+        leaf enable-flow-removed-notification {
+            description "Turning on flow removed notification";
+            type boolean;
+            default "true";
+        }
+
+        leaf skip-table-features {
+            description "Ability to skip pulling and storing of large table features. These features are still
+            available via rpc but if set to true then maintenance in DS will be omitted";
+            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