Unit tests for ClientBackedDataStore class
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / yang / distributed-datastore-provider.yang
index 2ae5f1878512ae0a90137604cd890c032e776530..d14c828809e727eb8bf8dca08f1cae8cbc8f4d8e 100644 (file)
@@ -240,6 +240,14 @@ module distributed-datastore-provider {
             description "Use a newer protocol between the frontend and backend. This feature is considered
                          exprerimental at this point.";
         }
+
+        leaf file-backed-streaming-threshold-in-megabytes {
+            default 128;
+            type non-zero-uint32-type;
+            description "When streaming large amounts of data, eg when sending a snapshot to a follower, this
+                is the threshold in terms of number of megabytes before it should switch from storing in memory to
+                buffering to a file.";
+        }
     }
 
     // Augments the 'configuration' choice node under modules/module.