X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fyang%2Fopendaylight-dom-broker-impl.yang;h=7655a921ec7973e4a6a06ba870cbd06d02e30a56;hb=79d7cc9bdb75fa015c8cadc0bd02314d646f2d57;hp=f06ff627222aed882f87f1ce7012d5db86f71371;hpb=412db94945c5db5d2da918f5e23bd3abcecc4d10;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang b/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang index f06ff62722..7655a921ec 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang +++ b/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang @@ -40,6 +40,12 @@ module opendaylight-sal-dom-broker-impl { config:java-name-prefix SchemaServiceImplSingleton; } + typedef max-queue-depth { + type uint32 { + range 1..1073741824; + } + } + augment "/config:modules/config:module/config:configuration" { case dom-broker-impl { when "/config:modules/config:module/config:type = 'dom-broker-impl'"; @@ -61,6 +67,24 @@ module opendaylight-sal-dom-broker-impl { } } } + + leaf notification-queue-depth { + description "Maximum number of elements in the notification queue, must be power-of-two."; + type max-queue-depth; + default 65536; + } + leaf notification-queue-spin { + description "Number of milliseconds notification queue should spin for new requests before parking."; + type uint16; + units milliseconds; + default 1; + } + leaf notification-queue-park { + description "Number of milliseconds notification queue should park for new requests before blocking."; + type uint16; + units milliseconds; + default 30; + } } }