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