1 module opendaylight-sal-dom-broker-impl {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl";
6 import config { prefix config; revision-date 2013-04-05; }
7 import opendaylight-md-sal-dom {prefix sal;}
8 import opendaylight-md-sal-common {prefix common;}
9 import opendaylight-config-dom-datastore {prefix config-dom-store-spi;}
10 import opendaylight-operational-dom-datastore {prefix operational-dom-store-spi;}
13 "Service definition for Binding Aware MD-SAL.
14 Note: The dom-inmemory-data-broker utilizes configurable config-dom-datastore
15 and operation-dom-datastore. If configuration is not done for this stores
16 then it defaults to InMemoryDOMDataStore";
18 revision "2013-10-28" {
23 identity dom-broker-impl {
24 base config:module-type;
25 config:provided-service sal:dom-broker-osgi-registry;
26 config:java-name-prefix DomBrokerImpl;
30 identity dom-inmemory-data-broker {
31 base config:module-type;
32 config:provided-service sal:dom-async-data-broker;
35 identity schema-service-singleton {
36 base config:module-type;
37 config:provided-service sal:schema-service;
38 config:java-name-prefix SchemaServiceImplSingleton;
41 augment "/config:modules/config:module/config:configuration" {
42 case dom-broker-impl {
43 when "/config:modules/config:module/config:type = 'dom-broker-impl'";
44 container data-store {
45 uses config:service-ref {
48 config:required-identity sal:dom-data-store;
53 container async-data-broker {
54 uses config:service-ref {
57 config:required-identity sal:dom-async-data-broker;
62 container root-schema-service {
63 uses config:service-ref {
66 config:required-identity sal:schema-service;
73 augment "/config:modules/config:module/config:configuration" {
74 case dom-inmemory-data-broker {
75 when "/config:modules/config:module/config:type = 'dom-inmemory-data-broker'";
78 container schema-service {
79 uses config:service-ref {
82 config:required-identity sal:schema-service;
88 container config-data-store{
89 uses config:service-ref {
92 config:required-identity config-dom-store-spi:config-dom-datastore;
97 container operational-data-store{
98 uses config:service-ref {
101 config:required-identity operational-dom-store-spi:operational-dom-datastore;
106 leaf max-data-broker-future-callback-queue-size {
109 description "The maximum queue size for the data broker's commit future callback executor.";
112 leaf max-data-broker-future-callback-pool-size {
115 description "The maximum thread pool size for the data broker's commit future callback executor.";
118 leaf max-data-broker-commit-queue-size {
121 description "The maximum queue size for the data broker's commit executor.";
126 augment "/config:modules/config:module/config:state" {
127 case schema-service-singleton {
128 when "/config:modules/config:module/config:type = 'schema-service-singleton'";
132 augment "/config:modules/config:module/config:state" {
133 case dom-broker-impl {
134 when "/config:modules/config:module/config:type = 'dom-broker-impl'";
136 uses common:data-state;