Deprecate md-sal config modules
[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  NOTE: This file is deprecated as wiring is now done via blueprint. This file is kept for backwards
11        compatibility. Runtime modifications may not be honored.
12 -->
13 <snapshot>
14     <configuration>
15         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
16             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
17                 <module>
18                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:schema-service-singleton</type>
19                     <name>yang-schema-service</name>
20                 </module>
21                 <module>
22                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:runtime-generated-mapping</type>
23                     <name>runtime-mapping-singleton</name>
24                     <wait-for-schema xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">true</wait-for-schema>
25                 </module>
26                 <module>
27                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-notification-adapter</type>
28                     <name>binding-notification-adapter</name>
29                     <binding-notification-adapter xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
30                         <binding-mapping-service>
31                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
32                             <name>runtime-mapping-singleton</name>
33                         </binding-mapping-service>
34                         <dom-async-broker>
35                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
36                             <name>dom-broker</name>
37                         </dom-async-broker>
38                     </binding-notification-adapter>
39                 </module>
40                 <module>
41                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-notification-publish-adapter</type>
42                     <name>binding-notification-publish-adapter</name>
43                     <binding-notification-publish-adapter xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
44                         <binding-mapping-service>
45                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
46                             <name>runtime-mapping-singleton</name>
47                         </binding-mapping-service>
48                         <dom-async-broker>
49                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
50                             <name>dom-broker</name>
51                         </dom-async-broker>
52                     </binding-notification-publish-adapter>
53                 </module>
54                 <module>
55                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-notification-broker</type>
56                     <name>binding-notification-broker</name>
57                     <notification-adapter xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
58                          <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-new-notification-service</type>
59                          <name>binding-notification-adapter</name>
60                     </notification-adapter>
61                     <notification-publish-adapter xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
62                          <type  xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-new-notification-publish-service</type>
63                          <name>binding-notification-publish-adapter</name>
64                     </notification-publish-adapter>
65                 </module>
66                 <module>
67                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-broker-impl</type>
68                     <name>binding-broker-impl</name>
69                     <binding-broker-impl xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
70                         <binding-mapping-service>
71                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
72                             <name>runtime-mapping-singleton</name>
73                         </binding-mapping-service>
74                         <dom-async-broker>
75                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
76                             <name>dom-broker</name>
77                         </dom-async-broker>
78                         <notification-service>
79                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
80                             <name>binding-notification-broker</name>
81                         </notification-service>
82                         <data-broker>
83                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
84                             <name>binding-data-broker</name>
85                         </data-broker>
86                         <root-data-broker>
87                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
88                             <name>binding-data-broker</name>
89                         </root-data-broker>
90                         <notification-publish-service>
91                             <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-new-notification-publish-service</type>
92                             <name>binding-notification-publish-adapter</name>
93                         </notification-publish-service>
94                     </binding-broker-impl>
95                 </module>
96
97
98                 <module>
99                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-config-datastore-provider</type>
100                     <name>config-store-service</name>
101                     <inmemory-config-datastore-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">
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                     </inmemory-config-datastore-provider>
107                 </module>
108
109                 <module>
110                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-operational-datastore-provider</type>
111                     <name>operational-store-service</name>
112                     <inmemory-operational-datastore-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">
113                         <schema-service>
114                              <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
115                              <name>yang-schema-service</name>
116                         </schema-service>
117                     </inmemory-operational-datastore-provider>
118                 </module>
119
120                 <!-- PingPong broker -->
121                 <module>
122                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong">prefix:pingpong-data-broker</type>
123                     <name>pingpong-data-broker</name>
124                     <data-broker>
125                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
126                         <name>inmemory-data-broker</name>
127                     </data-broker>
128                 </module>
129                 <module>
130                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
131                     <name>pingpong-binding-data-broker</name>
132                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
133                         <dom-async-broker>
134                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
135                             <name>pingpong-broker</name>
136                         </dom-async-broker>
137                         <schema-service>
138                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
139                             <name>yang-schema-service</name>
140                         </schema-service>
141                         <binding-mapping-service>
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                     </binding-forwarded-data-broker>
146                 </module>
147
148                 <!--
149                      Tree-based in-memory data store. This is the data store which is currently
150                      recommended for single-node deployments.
151                 -->
152                 <module>
153                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>
154                     <name>inmemory-data-broker</name>
155
156                     <schema-service>
157                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
158                         <name>yang-schema-service</name>
159                     </schema-service>
160
161                    <config-data-store>
162                         <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>
163                         <name>config-store-service</name>
164                     </config-data-store>
165
166                     <operational-data-store>
167                         <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>
168                         <name>operational-store-service</name>
169                     </operational-data-store>
170                 </module>
171                 <module>
172                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-broker-impl</type>
173                     <name>inmemory-dom-broker</name>
174                     <async-data-broker>
175                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
176                         <name>inmemory-data-broker</name>
177                     </async-data-broker>
178                 </module>
179                 <module>
180                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-data-compatible-broker</type>
181                     <name>inmemory-binding-data-broker</name>
182                     <binding-data-compatible-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
183                         <data-broker>
184                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
185                             <name>binding-data-broker</name>
186                         </data-broker>
187                     </binding-data-compatible-broker>
188                 </module>
189                 <module>
190                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
191                     <name>binding-async-data-broker</name>
192                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
193                         <dom-async-broker>
194                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
195                             <name>inmemory-data-broker</name>
196                         </dom-async-broker>
197                         <schema-service>
198                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
199                             <name>yang-schema-service</name>
200                         </schema-service>
201                         <binding-mapping-service>
202                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
203                             <name>runtime-mapping-singleton</name>
204                         </binding-mapping-service>
205                     </binding-forwarded-data-broker>
206                 </module>
207             </modules>
208             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
209                 <service>
210                     <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
211                     <instance>
212                         <name>yang-schema-service</name>
213                         <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
214                     </instance>
215                 </service>
216                 <service>
217                     <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:yang-text-source-provider</type>
218                     <instance>
219                         <name>yang-text-source-provider</name>
220                         <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
221                     </instance>
222                 </service>
223
224                 <service>
225                     <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>
226                     <instance>
227                         <name>config-store-service</name>
228                         <provider>/modules/module[type='inmemory-config-datastore-provider'][name='config-store-service']</provider>
229                     </instance>
230                 </service>
231                 <service>
232                     <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>
233                     <instance>
234                         <name>operational-store-service</name>
235                         <provider>/modules/module[type='inmemory-operational-datastore-provider'][name='operational-store-service']</provider>
236                     </instance>
237                 </service>
238                     <service>
239                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-dom-mapping-service</type>
240                         <instance>
241                             <name>runtime-mapping-singleton</name>
242                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
243                         </instance>
244                     </service>
245                     <service>
246                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-codec-tree-factory</type>
247                         <instance>
248                             <name>runtime-mapping-singleton</name>
249                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
250                         </instance>
251                     </service>
252                     <service>
253                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-normalized-node-serializer</type>
254                         <instance>
255                             <name>runtime-mapping-singleton</name>
256                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
257                         </instance>
258                     </service>
259                     <service>
260                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-new-notification-service</type>
261                         <instance>
262                             <name>binding-notification-adapter</name>
263                             <provider>/modules/module[type='binding-notification-adapter'][name='binding-notification-adapter']</provider>
264                         </instance>
265                     </service>
266                     <service>
267                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-new-notification-publish-service</type>
268                         <instance>
269                             <name>binding-notification-publish-adapter</name>
270                             <provider>/modules/module[type='binding-notification-publish-adapter'][name='binding-notification-publish-adapter']</provider>
271                         </instance>
272                     </service>
273                     <service>
274                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
275                         <instance>
276                             <name>binding-notification-broker</name>
277                             <provider>/modules/module[type='binding-notification-broker'][name='binding-notification-broker']</provider>
278                         </instance>
279                     </service>
280                     <service>
281                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
282                         <instance>
283                             <name>binding-osgi-broker</name>
284                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
285                         </instance>
286                     </service>
287                     <service>
288                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
289                         <instance>
290                             <name>binding-rpc-broker</name>
291                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
292                         </instance>
293                     </service>
294
295                     <service>
296                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
297                         <instance>
298                             <name>dom-broker</name>
299                             <provider>/modules/module[type='dom-broker-impl'][name='inmemory-dom-broker']</provider>
300                         </instance>
301                     </service>
302
303                     <service>
304                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
305                         <instance>
306                             <name>binding-data-broker</name>
307                             <provider>/modules/module[type='binding-data-compatible-broker'][name='inmemory-binding-data-broker']</provider>
308                         </instance>
309                     </service>
310
311                     <service>
312                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
313                         <instance>
314                             <name>binding-data-broker</name>
315                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='binding-async-data-broker']</provider>
316                         </instance>
317                         <instance>
318                             <name>pingpong-binding-data-broker</name>
319                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='pingpong-binding-data-broker']</provider>
320                         </instance>
321                     </service>
322
323                     <service>
324                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
325                         <instance>
326                             <name>inmemory-data-broker</name>
327                             <provider>/modules/module[type='dom-inmemory-data-broker'][name='inmemory-data-broker']</provider>
328                         </instance>
329                         <instance>
330                             <name>pingpong-broker</name>
331                             <provider>/modules/module[type='pingpong-data-broker'][name='pingpong-data-broker']</provider>
332                         </instance>
333                     </service>
334
335             </services>
336         </data>
337     </configuration>
338     <required-capabilities>
339         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
340         <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool?module=threadpool&amp;revision=2013-04-09</capability>
341         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
342         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom?module=opendaylight-md-sal-dom&amp;revision=2013-10-28</capability>
343         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&amp;revision=2013-10-28</capability>
344         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong?module=opendaylight-pingpong-broker&amp;revision=2014-11-07</capability>
345         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
346         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:common?module=opendaylight-md-sal-common&amp;revision=2013-10-28</capability>
347         <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>
348         <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>
349         <capability>urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider?module=opendaylight-inmemory-datastore-provider&amp;revision=2014-06-17</capability>
350
351     </required-capabilities>
352 </snapshot>