Add configuration parameter for single layer
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
index d9497d7811b9e03f02af4b47263cec3f4f04b4de..acaacd32c8acd7b1fef5c45d4f0dbcc6c7ea831f 100644 (file)
@@ -108,5 +108,13 @@ module openflow-provider-config {
             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
+}