8b645274db771aef1d595316d180d290f2980168
[controller.git] / opendaylight / md-sal / md-sal-config / src / main / resources / initial / 01-md-sal.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <snapshot>
11     <configuration>
12         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
13             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
14                 <module>
15                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:schema-service-singleton</type>
16                     <name>yang-schema-service</name>
17                 </module>
18
19                 <module>
20                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:runtime-generated-mapping</type>
21                     <name>runtime-mapping-singleton</name>
22                 </module>
23                 <module>
24                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-notification-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                 </module>
55                 <module>
56                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-broker-impl</type>
57                     <name>binding-broker-impl</name>
58                     <notification-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
59                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
60                         <name>binding-notification-broker</name>
61                     </notification-service>
62                     <data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
63                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
64                         <name>binding-data-broker</name>
65                     </data-broker>
66                     <root-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
67                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
68                         <name>binding-data-broker</name>
69                     </root-data-broker>
70                 </module>
71
72
73                 <module>
74                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-config-datastore-provider</type>
75                     <name>config-store-service</name>
76                     <inmemory-config-datastore-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">
77                         <schema-service>
78                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
79                             <name>yang-schema-service</name>
80                         </schema-service>
81                     </inmemory-config-datastore-provider>
82                 </module>
83
84                 <module>
85                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-operational-datastore-provider</type>
86                     <name>operational-store-service</name>
87                     <inmemory-operational-datastore-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">
88                         <schema-service>
89                              <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
90                              <name>yang-schema-service</name>
91                         </schema-service>
92                     </inmemory-operational-datastore-provider>
93                 </module>
94
95                 <!-- PingPong broker -->
96                 <module>
97                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong">prefix:pingpong-data-broker</type>
98                     <name>pingpong-data-broker</name>
99                     <data-broker>
100                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
101                         <name>inmemory-data-broker</name>
102                     </data-broker>
103                 </module>
104                 <module>
105                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
106                     <name>pingpong-binding-data-broker</name>
107                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
108                         <dom-async-broker>
109                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
110                             <name>pingpong-broker</name>
111                         </dom-async-broker>
112                         <schema-service>
113                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
114                             <name>yang-schema-service</name>
115                         </schema-service>
116                         <binding-mapping-service>
117                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
118                             <name>runtime-mapping-singleton</name>
119                         </binding-mapping-service>
120                     </binding-forwarded-data-broker>
121                 </module>
122
123                 <!--
124                      Tree-based in-memory data store. This is the data store which is currently
125                      recommended for single-node deployments.
126                 -->
127                 <module>
128                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>
129                     <name>inmemory-data-broker</name>
130
131                     <schema-service>
132                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
133                         <name>yang-schema-service</name>
134                     </schema-service>
135
136                    <config-data-store>
137                         <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>
138                         <name>config-store-service</name>
139                     </config-data-store>
140
141                     <operational-data-store>
142                         <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>
143                         <name>operational-store-service</name>
144                     </operational-data-store>
145                 </module>
146                 <module>
147                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-broker-impl</type>
148                     <name>inmemory-dom-broker</name>
149                     <async-data-broker>
150                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
151                         <name>inmemory-data-broker</name>
152                     </async-data-broker>
153                 </module>
154                 <module>
155                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-data-compatible-broker</type>
156                     <name>inmemory-binding-data-broker</name>
157                     <dom-async-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
158                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
159                         <name>dom-broker</name>
160                     </dom-async-broker>
161                     <binding-mapping-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
162                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
163                         <name>runtime-mapping-singleton</name>
164                     </binding-mapping-service>
165                 </module>
166                 <module>
167                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
168                     <name>binding-async-data-broker</name>
169                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
170                         <dom-async-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                         </dom-async-broker>
174                         <schema-service>
175                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
176                             <name>yang-schema-service</name>
177                         </schema-service>
178                         <binding-mapping-service>
179                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
180                             <name>runtime-mapping-singleton</name>
181                         </binding-mapping-service>
182                     </binding-forwarded-data-broker>
183                 </module>
184             </modules>
185             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
186                     <service>
187                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
188                         <instance>
189                             <name>yang-schema-service</name>
190                             <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
191                         </instance>
192                     </service>
193
194                 <service>
195                     <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>
196                     <instance>
197                         <name>config-store-service</name>
198                         <provider>/modules/module[type='inmemory-config-datastore-provider'][name='config-store-service']</provider>
199                     </instance>
200                 </service>
201                 <service>
202                     <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>
203                     <instance>
204                         <name>operational-store-service</name>
205                         <provider>/modules/module[type='inmemory-operational-datastore-provider'][name='operational-store-service']</provider>
206                     </instance>
207                 </service>
208                     <service>
209                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-dom-mapping-service</type>
210                         <instance>
211                             <name>runtime-mapping-singleton</name>
212                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
213                         </instance>
214                     </service>
215                     <service>
216                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-new-notification-service</type>
217                         <instance>
218                             <name>binding-notification-adapter</name>
219                             <provider>/modules/module[type='binding-notification-adapter'][name='binding-notification-adapter']</provider>
220                         </instance>
221                     </service>
222                     <service>
223                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-new-notification-publish-service</type>
224                         <instance>
225                             <name>binding-notification-publish-adapter</name>
226                             <provider>/modules/module[type='binding-notification-publish-adapter'][name='binding-notification-publish-adapter']</provider>
227                         </instance>
228                     </service>
229                     <service>
230                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
231                         <instance>
232                             <name>binding-notification-broker</name>
233                             <provider>/modules/module[type='binding-notification-broker'][name='binding-notification-broker']</provider>
234                         </instance>
235                     </service>
236                     <service>
237                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
238                         <instance>
239                             <name>binding-osgi-broker</name>
240                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
241                         </instance>
242                     </service>
243                     <service>
244                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
245                         <instance>
246                             <name>binding-rpc-broker</name>
247                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
248                         </instance>
249                     </service>
250
251                     <service>
252                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
253                         <instance>
254                             <name>dom-broker</name>
255                             <provider>/modules/module[type='dom-broker-impl'][name='inmemory-dom-broker']</provider>
256                         </instance>
257                     </service>
258
259                     <service>
260                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
261                         <instance>
262                             <name>binding-data-broker</name>
263                             <provider>/modules/module[type='binding-data-compatible-broker'][name='inmemory-binding-data-broker']</provider>
264                         </instance>
265                     </service>
266
267                     <service>
268                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
269                         <instance>
270                             <name>binding-data-broker</name>
271                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='binding-async-data-broker']</provider>
272                         </instance>
273                         <instance>
274                             <name>pingpong-binding-data-broker</name>
275                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='pingpong-binding-data-broker']</provider>
276                         </instance>
277                     </service>
278
279                     <service>
280                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
281                         <instance>
282                             <name>inmemory-data-broker</name>
283                             <provider>/modules/module[type='dom-inmemory-data-broker'][name='inmemory-data-broker']</provider>
284                         </instance>
285                         <instance>
286                             <name>pingpong-broker</name>
287                             <provider>/modules/module[type='pingpong-data-broker'][name='pingpong-data-broker']</provider>
288                         </instance>
289                     </service>
290             </services>
291         </data>
292     </configuration>
293     <required-capabilities>
294         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
295         <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool?module=threadpool&amp;revision=2013-04-09</capability>
296         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
297         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom?module=opendaylight-md-sal-dom&amp;revision=2013-10-28</capability>
298         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&amp;revision=2013-10-28</capability>
299         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong?module=opendaylight-pingpong-broker&amp;revision=2014-11-07</capability>
300         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
301         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:common?module=opendaylight-md-sal-common&amp;revision=2013-10-28</capability>
302         <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>
303         <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>
304         <capability>urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider?module=opendaylight-inmemory-datastore-provider&amp;revision=2014-06-17</capability>
305
306     </required-capabilities>
307 </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.