OPNFLWPLUG-981: per-capability configuration for stats polling
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
index 87fe5c2a6e16f9d2569349d2ebcb34d05b1e9d1b..8be0d43b7d3995c042edf65989f31ada759aabe6 100644 (file)
@@ -47,6 +47,48 @@ module openflow-provider-config {
 
         leaf is-statistics-polling-on {
             description "If enabled, periodic statistics gathering will be
+                turned on. If false takes precedence over the per-capability configuration.";
+            type boolean;
+            default "true";
+        }
+
+        leaf is-table-statistics-polling-on {
+            description "If enabled, periodic table statistics gathering will be
+                turned on";
+            type boolean;
+            default "true";
+        }
+
+        leaf is-flow-statistics-polling-on {
+            description "If enabled, periodic flow statistics gathering will be
+                turned on";
+            type boolean;
+            default "true";
+        }
+
+        leaf is-group-statistics-polling-on {
+            description "If enabled, periodic group statistics gathering will be
+                turned on";
+            type boolean;
+            default "true";
+        }
+
+        leaf is-meter-statistics-polling-on {
+            description "If enabled, periodic meter statistics gathering will be
+                turned on";
+            type boolean;
+            default "true";
+        }
+
+        leaf is-port-statistics-polling-on {
+            description "If enabled, periodic port statistics gathering will be
+                turned on";
+            type boolean;
+            default "true";
+        }
+
+        leaf is-queue-statistics-polling-on {
+            description "If enabled, periodic queue statistics gathering will be
                 turned on";
             type boolean;
             default "true";