b57a3f5f0bede2b7d93a880150818251f6247b14
[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                     
33                     <allow-concurrent-commits>true</allow-concurrent-commits>
34                 </module>
35
36                 <module>
37                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider">prefix:distributed-operational-datastore-provider</type>
38                     <name>distributed-operational-store-module</name>
39                     <operational-schema-service>
40                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
41                         <name>yang-schema-service</name>
42                     </operational-schema-service>
43                 </module>
44
45                 <module>
46                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider">prefix:distributed-config-datastore-provider</type>
47                     <name>distributed-config-store-module</name>
48                     <config-schema-service>
49                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
50                         <name>yang-schema-service</name>
51                     </config-schema-service>
52                 </module>
53
54                 <module>
55                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">prefix:remote-rpc-connector</type>
56                     <name>remote-rpc-connector</name>
57                     <dom-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">
58                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
59                         <name>dom-broker</name>
60                     </dom-broker>
61                     <enable-metric-capture xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">true</enable-metric-capture>
62                     <actor-system-name xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">odl-cluster-rpc</actor-system-name>
63                     <bounded-mailbox-capacity xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">1000</bounded-mailbox-capacity>
64                 </module>
65
66             </modules>
67             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
68
69                 <service>
70                     <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>
71                     <instance>
72                         <name>distributed-config-store-service</name>
73                         <provider>/modules/module[type='distributed-config-datastore-provider'][name='distributed-config-store-module']</provider>
74                     </instance>
75                 </service>
76                 <service>
77                     <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>
78                     <instance>
79                         <name>distributed-operational-store-service</name>
80                         <provider>/modules/module[type='distributed-operational-datastore-provider'][name='distributed-operational-store-module']</provider>
81                     </instance>
82                 </service>
83
84             </services>
85         </data>
86     </configuration>
87     <required-capabilities>
88         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
89     </required-capabilities>
90 </snapshot>