Add configuration parameter for single layer
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
index 96556def3124678ad99661398c9c00f28600ae39..acaacd32c8acd7b1fef5c45d4f0dbcc6c7ea831f 100644 (file)
@@ -95,5 +95,26 @@ 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;
+        }
+
+        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
+}