X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fdistributed-datastore-provider.yang;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fdistributed-datastore-provider.yang;h=d14c828809e727eb8bf8dca08f1cae8cbc8f4d8e;hp=2ae5f1878512ae0a90137604cd890c032e776530;hb=d796a8de8b208ca24bb57aebfc689f8be8bc2c7b;hpb=5ab22a0bea0492dd8f1541b2f0cde4ea7618a786 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang index 2ae5f18785..d14c828809 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang @@ -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.