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