1464f8b0ab13971efc7d77721369f48eb68653ed
[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                         <root-data-broker>
83                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
84                             <name>binding-data-broker</name>
85                         </root-data-broker>
86                         <notification-publish-service>
87                             <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-new-notification-publish-service</type>
88                             <name>binding-notification-publish-adapter</name>
89                         </notification-publish-service>
90                     </binding-broker-impl>
91                 </module>
92
93
94                 <module>
95                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-config-datastore-provider</type>
96                     <name>config-store-service</name>
97                     <inmemory-config-datastore-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">
98                         <schema-service>
99                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
100                             <name>yang-schema-service</name>
101                         </schema-service>
102                     </inmemory-config-datastore-provider>
103                 </module>
104
105                 <module>
106                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-operational-datastore-provider</type>
107                     <name>operational-store-service</name>
108                     <inmemory-operational-datastore-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">
109                         <schema-service>
110                              <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
111                              <name>yang-schema-service</name>
112                         </schema-service>
113                     </inmemory-operational-datastore-provider>
114                 </module>
115
116                 <!-- PingPong broker -->
117                 <module>
118                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong">prefix:pingpong-data-broker</type>
119                     <name>pingpong-data-broker</name>
120                     <data-broker>
121                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
122                         <name>inmemory-data-broker</name>
123                     </data-broker>
124                 </module>
125                 <module>
126                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
127                     <name>pingpong-binding-data-broker</name>
128                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
129                         <dom-async-broker>
130                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
131                             <name>pingpong-broker</name>
132                         </dom-async-broker>
133                         <schema-service>
134                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
135                             <name>yang-schema-service</name>
136                         </schema-service>
137                         <binding-mapping-service>
138                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
139                             <name>runtime-mapping-singleton</name>
140                         </binding-mapping-service>
141                     </binding-forwarded-data-broker>
142                 </module>
143
144                 <!--
145                      Tree-based in-memory data store. This is the data store which is currently
146                      recommended for single-node deployments.
147                 -->
148                 <module>
149                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>
150                     <name>inmemory-data-broker</name>
151
152                     <schema-service>
153                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
154                         <name>yang-schema-service</name>
155                     </schema-service>
156
157                    <config-data-store>
158                         <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>
159                         <name>config-store-service</name>
160                     </config-data-store>
161
162                     <operational-data-store>
163                         <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>
164                         <name>operational-store-service</name>
165                     </operational-data-store>
166                 </module>
167                 <module>
168                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-broker-impl</type>
169                     <name>inmemory-dom-broker</name>
170                     <async-data-broker>
171                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
172                         <name>inmemory-data-broker</name>
173                     </async-data-broker>
174                 </module>
175                 <module>
176                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
177                     <name>binding-async-data-broker</name>
178                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
179                         <dom-async-broker>
180                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
181                             <name>inmemory-data-broker</name>
182                         </dom-async-broker>
183                         <schema-service>
184                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
185                             <name>yang-schema-service</name>
186                         </schema-service>
187                         <binding-mapping-service>
188                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
189                             <name>runtime-mapping-singleton</name>
190                         </binding-mapping-service>
191                     </binding-forwarded-data-broker>
192                 </module>
193             </modules>
194             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
195                 <service>
196                     <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
197                     <instance>
198                         <name>yang-schema-service</name>
199                         <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
200                     </instance>
201                 </service>
202                 <service>
203                     <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:yang-text-source-provider</type>
204                     <instance>
205                         <name>yang-text-source-provider</name>
206                         <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
207                     </instance>
208                 </service>
209
210                 <service>
211                     <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>
212                     <instance>
213                         <name>config-store-service</name>
214                         <provider>/modules/module[type='inmemory-config-datastore-provider'][name='config-store-service']</provider>
215                     </instance>
216                 </service>
217                 <service>
218                     <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>
219                     <instance>
220                         <name>operational-store-service</name>
221                         <provider>/modules/module[type='inmemory-operational-datastore-provider'][name='operational-store-service']</provider>
222                     </instance>
223                 </service>
224                     <service>
225                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-dom-mapping-service</type>
226                         <instance>
227                             <name>runtime-mapping-singleton</name>
228                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
229                         </instance>
230                     </service>
231                     <service>
232                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-codec-tree-factory</type>
233                         <instance>
234                             <name>runtime-mapping-singleton</name>
235                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
236                         </instance>
237                     </service>
238                     <service>
239                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-normalized-node-serializer</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:v1:codec">binding:binding-v1-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:v1:codec">binding:binding-v1-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-async-data-broker</type>
305                         <instance>
306                             <name>binding-data-broker</name>
307                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='binding-async-data-broker']</provider>
308                         </instance>
309                         <instance>
310                             <name>pingpong-binding-data-broker</name>
311                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='pingpong-binding-data-broker']</provider>
312                         </instance>
313                     </service>
314
315                     <service>
316                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
317                         <instance>
318                             <name>inmemory-data-broker</name>
319                             <provider>/modules/module[type='dom-inmemory-data-broker'][name='inmemory-data-broker']</provider>
320                         </instance>
321                         <instance>
322                             <name>pingpong-broker</name>
323                             <provider>/modules/module[type='pingpong-data-broker'][name='pingpong-data-broker']</provider>
324                         </instance>
325                     </service>
326
327             </services>
328         </data>
329     </configuration>
330     <required-capabilities>
331         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
332         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
333         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom?module=opendaylight-md-sal-dom&amp;revision=2013-10-28</capability>
334         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&amp;revision=2013-10-28</capability>
335         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong?module=opendaylight-pingpong-broker&amp;revision=2014-11-07</capability>
336         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
337         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:common?module=opendaylight-md-sal-common&amp;revision=2013-10-28</capability>
338         <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>
339         <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>
340         <capability>urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider?module=opendaylight-inmemory-datastore-provider&amp;revision=2014-06-17</capability>
341
342     </required-capabilities>
343 </snapshot>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.