03da7f0ccd6cd37a4044404e3426a8f5307f580b
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / initial / 01-md-sal.xml
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:schema-service-singleton</type>
16                     <name>yang-schema-service</name>
17                 </module>
18
19                 <module>
20                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:runtime-generated-mapping</type>
21                     <name>runtime-mapping-singleton</name>
22                 </module>
23                 <module>
24                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-notification-broker</type>
25                     <name>binding-notification-broker</name>
26                 </module>
27                 <module>
28                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-broker-impl</type>
29                     <name>binding-broker-impl</name>
30                     <notification-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
31                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
32                         <name>binding-notification-broker</name>
33                     </notification-service>
34                     <data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
35                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
36                         <name>binding-data-broker</name>
37                     </data-broker>
38                     <root-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
39                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
40                         <name>binding-data-broker</name>
41                     </root-data-broker>
42                 </module>
43
44
45                 <module>
46                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-config-datastore-provider</type>
47                     <name>config-store-service</name>
48                     <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                     </schema-service>
52                 </module>
53
54                 <!-- DISTRIBUTED_DATA_STORE -->
55                 <!-- Enable the following modules if you want to use the Distributed Data Store instead of the InMemoryDataStore -->
56                 <!--
57                 <module>
58                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider">prefix:distributed-operational-datastore-provider</type>
59                     <name>distributed-operational-store-module</name>
60                     <schema-service>
61                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
62                         <name>yang-schema-service</name>
63                     </schema-service>
64                 </module>
65
66                 <module>
67                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider">prefix:distributed-config-datastore-provider</type>
68                     <name>distributed-config-store-module</name>
69                     <schema-service>
70                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
71                         <name>yang-schema-service</name>
72                     </schema-service>
73                 </module>
74                 -->
75                 <!-- Cluster RPC -->
76                 <!-- Enable the following module if you want to use remote rpc connector
77                 <module>
78                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">prefix:remote-rpc-connector</type>
79                     <name>remote-rpc-connector</name>
80                     <dom-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector">
81                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
82                         <name>dom-broker</name>
83                     </dom-broker>
84                 </module>
85                 -->
86                 <module>
87                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-operational-datastore-provider</type>
88                     <name>operational-store-service</name>
89                     <operational-schema-service>
90                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
91                         <name>yang-schema-service</name>
92                     </operational-schema-service>
93                 </module>
94                 <!--
95                      Tree-based in-memory data store. This is the data store which is currently
96                      recommended for single-node deployments.
97                 -->
98                 <module>
99                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>
100                     <name>inmemory-data-broker</name>
101
102                     <schema-service>
103                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
104                         <name>yang-schema-service</name>
105                     </schema-service>
106
107                    <config-data-store>
108                         <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>
109                         <name>config-store-service</name>
110                         <!-- DISTRIBUTED_DATA_STORE -->
111                         <!--
112                         <name>distributed-config-store-service</name>
113                         -->
114                     </config-data-store>
115
116                     <operational-data-store>
117                         <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>
118                         <name>operational-store-service</name>
119                         <!-- DISTRIBUTED_DATA_STORE -->
120                         <!--
121                         <name>distributed-operational-store-service</name>
122                         -->
123
124                     </operational-data-store>
125                 </module>
126                 <module>
127                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-broker-impl</type>
128                     <name>inmemory-dom-broker</name>
129                     <async-data-broker>
130                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
131                         <name>inmemory-data-broker</name>
132                     </async-data-broker>
133                 </module>
134                 <module>
135                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-data-compatible-broker</type>
136                     <name>inmemory-binding-data-broker</name>
137                     <dom-async-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
138                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
139                         <name>dom-broker</name>
140                     </dom-async-broker>
141                     <binding-mapping-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
142                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
143                         <name>runtime-mapping-singleton</name>
144                     </binding-mapping-service>
145                 </module>
146                 <module>
147                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
148                     <name>binding-async-data-broker</name>
149                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
150                         <dom-async-broker>
151                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
152                             <name>dom-broker</name>
153                         </dom-async-broker>
154                         <binding-mapping-service>
155                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
156                             <name>runtime-mapping-singleton</name>
157                         </binding-mapping-service>
158                     </binding-forwarded-data-broker>
159                 </module>
160             </modules>
161             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
162                     <service>
163                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
164                         <instance>
165                             <name>yang-schema-service</name>
166                             <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
167                         </instance>
168                     </service>
169
170                 <!-- DISTRIBUTED_DATA_STORE -->
171                 <!-- Enable the following if you want to use the Distributed Data Store instead of the InMemory Data Store -->
172                 <!-- Note that you MUST delete the InMemoryDataStore related services which provide config-dom-datastore and operational-dom-datastore -->
173                 <!--
174                 <service>
175                     <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>
176                     <instance>
177                         <name>distributed-config-store-service</name>
178                         <provider>/modules/module[type='distributed-config-datastore-provider'][name='distributed-config-store-module']</provider>
179                     </instance>
180                 </service>
181                 <service>
182                     <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>
183                     <instance>
184                         <name>distributed-operational-store-service</name>
185                         <provider>/modules/module[type='distributed-operational-datastore-provider'][name='distributed-operational-store-module']</provider>
186                     </instance>
187                 </service>
188                 -->
189
190                 <!-- DISTRIBUTED_DATA_STORE -->
191                 <!-- Delete the following two services (config-store-service and operational-store-service) if you want to use the distributed data store instead -->
192                 <service>
193                     <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>
194                     <instance>
195                         <name>config-store-service</name>
196                         <provider>/modules/module[type='inmemory-config-datastore-provider'][name='config-store-service']</provider>
197                     </instance>
198                 </service>
199                 <service>
200                     <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>
201                     <instance>
202                         <name>operational-store-service</name>
203                         <provider>/modules/module[type='inmemory-operational-datastore-provider'][name='operational-store-service']</provider>
204                     </instance>
205                 </service>
206                     <service>
207                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-dom-mapping-service</type>
208                         <instance>
209                             <name>runtime-mapping-singleton</name>
210                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
211                         </instance>
212                     </service>
213                     <service>
214                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
215                         <instance>
216                             <name>binding-notification-broker</name>
217                             <provider>/modules/module[type='binding-notification-broker'][name='binding-notification-broker']</provider>
218                         </instance>
219                     </service>
220                     <service>
221                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
222                         <instance>
223                             <name>binding-osgi-broker</name>
224                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
225                         </instance>
226                     </service>
227                     <service>
228                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
229                         <instance>
230                             <name>binding-rpc-broker</name>
231                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
232                         </instance>
233                     </service>
234
235                     <service>
236                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
237                         <instance>
238                             <name>dom-broker</name>
239                             <provider>/modules/module[type='dom-broker-impl'][name='inmemory-dom-broker']</provider>
240                         </instance>
241                     </service>
242
243                     <service>
244                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
245                         <instance>
246                             <name>binding-data-broker</name>
247                             <provider>/modules/module[type='binding-data-compatible-broker'][name='inmemory-binding-data-broker']</provider>
248                         </instance>
249                     </service>
250
251                     <service>
252                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
253                         <instance>
254                             <name>binding-data-broker</name>
255                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='binding-async-data-broker']</provider>
256                         </instance>
257                     </service>
258
259                     <service>
260                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
261                         <instance>
262                             <name>inmemory-data-broker</name>
263                             <provider>/modules/module[type='dom-inmemory-data-broker'][name='inmemory-data-broker']</provider>
264                         </instance>
265                     </service>
266             </services>
267         </data>
268     </configuration>
269     <required-capabilities>
270         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
271         <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool?module=threadpool&amp;revision=2013-04-09</capability>
272         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
273         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom?module=opendaylight-md-sal-dom&amp;revision=2013-10-28</capability>
274         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&amp;revision=2013-10-28</capability>
275         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
276         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:common?module=opendaylight-md-sal-common&amp;revision=2013-10-28</capability>
277         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:config-dom-store?module=opendaylight-config-dom-datastore&amp;revision=2014-06-17</capability>
278         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:operational-dom-store?module=opendaylight-operational-dom-datastore&amp;revision=2014-06-17</capability>
279         <capability>urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider?module=opendaylight-inmemory-datastore-provider&amp;revision=2014-06-17</capability>
280
281     </required-capabilities>
282 </snapshot>