Merge "BUG-1423 Fix distributed datastore error in config schemas(double case child)"
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / 05-clustering.xml.conf
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <snapshot>
11     <configuration>
12         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
13             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
14                 <module>
15                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>
16                     <name>inmemory-data-broker</name>
17
18                     <schema-service>
19                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
20                         <name>yang-schema-service</name>
21                     </schema-service>
22
23                     <config-data-store>
24                         <type xmlns:config-dom-store-spi="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:config-dom-store">config-dom-store-spi:config-dom-datastore</type>
25                         <name>distributed-config-store-service</name>
26                     </config-data-store>
27
28                     <operational-data-store>
29                         <type xmlns:operational-dom-store-spi="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:operational-dom-store">operational-dom-store-spi:operational-dom-datastore</type>
30                         <name>distributed-operational-store-service</name>
31                     </operational-data-store>
32                 </module>
33
34                 <module>
35                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider">prefix:distributed-operational-datastore-provider</type>
36                     <name>distributed-operational-store-module</name>
37                     <schema-service>
38                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
39                         <name>yang-schema-service</name>
40                     </schema-service>
41                 </module>
42
43                 <module>
44                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider">prefix:distributed-config-datastore-provider</type>
45                     <name>distributed-config-store-module</name>
46                     <schema-service>
47                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
48                         <name>yang-schema-service</name>
49                     </schema-service>
50                 </module>
51
52                 <module>
53                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">prefix:remote-rpc-connector</type>
54                     <name>remote-rpc-connector</name>
55                     <dom-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">
56                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
57                         <name>dom-broker</name>
58                     </dom-broker>
59                 </module>
60
61             </modules>
62             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
63
64                 <service>
65                     <type xmlns:config-dom-store-spi="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:config-dom-store">config-dom-store-spi:config-dom-datastore</type>
66                     <instance>
67                         <name>distributed-config-store-service</name>
68                         <provider>/modules/module[type='distributed-config-datastore-provider'][name='distributed-config-store-module']</provider>
69                     </instance>
70                 </service>
71                 <service>
72                     <type xmlns:operational-dom-store-spi="urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:operational-dom-store">operational-dom-store-spi:operational-dom-datastore</type>
73                     <instance>
74                         <name>distributed-operational-store-service</name>
75                         <provider>/modules/module[type='distributed-operational-datastore-provider'][name='distributed-operational-store-module']</provider>
76                     </instance>
77                 </service>
78
79             </services>
80         </data>
81     </configuration>
82     <required-capabilities>
83         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
84     </required-capabilities>
85 </snapshot>