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