Merge "Remove unnecessary declaration of <prerequisites> in features"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / yang / odl-sal-cds-cfg.yang
1 module odl-concurrent-data-broker-cfg {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:concurrent-data-broker";
4     prefix "cdb";
5
6     import config { prefix config; revision-date 2013-04-05; }
7     import opendaylight-config-dom-datastore {prefix config-dom-store-spi;}
8     import opendaylight-operational-dom-datastore {prefix operational-dom-store-spi;}
9     import opendaylight-md-sal-dom {prefix sal; }
10     import opendaylight-sal-dom-broker-impl { prefix broker; }
11     import rpc-context { prefix rpcx; revision-date 2013-06-17; }
12
13     description
14         "Service definition for concurrent dom broker.";
15
16     revision "2014-11-24" {
17         description
18             "Initial revision";
19     }
20
21     identity dom-concurrent-data-broker {
22         base config:module-type;
23         config:provided-service sal:dom-async-data-broker;
24     }
25
26     augment "/config:modules/config:module/config:configuration" {
27         case dom-concurrent-data-broker {
28             when "/config:modules/config:module/config:type = 'dom-concurrent-data-broker'";
29
30             uses broker:dom-broker-config;
31         }
32     }
33
34     augment "/config:modules/config:module/config:state" {
35         case dom-concurrent-data-broker {
36             when "/config:modules/config:module/config:type = 'dom-concurrent-data-broker'";
37
38             uses broker:dom-broker-operational;
39         }
40     }
41 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.