Add configuration parameter for single layer
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
index 49fd7c3aa68c78b56a83f4a702441a0986e06bb2..acaacd32c8acd7b1fef5c45d4f0dbcc6c7ea831f 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 {
@@ -83,10 +83,38 @@ 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 "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;
+        }
+
+        leaf use-single-layer-serialization {
+            description "When true, Yang models are serialized and deserialized directly to and from format supported
+            by device, so serialization and deserialization is faster. Otherwise, models are first serialized to
+            Openflow specification models and then to format supported by device, and reversed when deserializing.";
             type boolean;
             default "false";
         }
     }
-}
\ No newline at end of file
+}