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