Bug 488: Removed BundleContext usage for registering to DOM Components.
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / 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-broker</type>
25                     <name>binding-notification-broker</name>
26                 </module>
27                 <module>
28                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-broker-impl</type>
29                     <name>binding-broker-impl</name>
30                     <notification-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
31                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
32                         <name>binding-notification-broker</name>
33                     </notification-service>
34                     <data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
35                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
36                         <name>binding-data-broker</name>
37                     </data-broker>
38                     <root-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
39                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
40                         <name>binding-data-broker</name>
41                     </root-data-broker>
42                 </module>
43
44
45                 <module>
46                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-config-datastore-provider</type>
47                     <name>config-store-service</name>
48                     <schema-service>
49                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
50                         <name>yang-schema-service</name>
51                     </schema-service>
52                 </module>
53
54                 <module>
55                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider">prefix:inmemory-operational-datastore-provider</type>
56                     <name>operational-store-service</name>
57                     <schema-service>
58                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
59                         <name>yang-schema-service</name>
60                     </schema-service>
61                 </module>
62
63                 <!--
64                      Tree-based in-memory data store. This is the data store which is currently
65                      recommended for single-node deployments.
66                 -->
67                 <module>
68                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>
69                     <name>inmemory-data-broker</name>
70
71                     <schema-service>
72                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
73                         <name>yang-schema-service</name>
74                     </schema-service>
75
76                    <config-data-store>
77                         <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>
78                         <name>config-store-service</name>
79                     </config-data-store>
80
81                     <operational-data-store>
82                         <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>
83                         <name>operational-store-service</name>
84                     </operational-data-store>
85                 </module>
86                 <module>
87                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-broker-impl</type>
88                     <name>inmemory-dom-broker</name>
89                     <async-data-broker>
90                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
91                         <name>inmemory-data-broker</name>
92                     </async-data-broker>
93                 </module>
94                 <module>
95                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-data-compatible-broker</type>
96                     <name>inmemory-binding-data-broker</name>
97                     <dom-async-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
98                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
99                         <name>dom-broker</name>
100                     </dom-async-broker>
101                     <binding-mapping-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
102                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
103                         <name>runtime-mapping-singleton</name>
104                     </binding-mapping-service>
105                 </module>
106                 <module>
107                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>
108                     <name>binding-async-data-broker</name>
109                     <binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
110                         <dom-async-broker>
111                             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
112                             <name>dom-broker</name>
113                         </dom-async-broker>
114                         <binding-mapping-service>
115                             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>
116                             <name>runtime-mapping-singleton</name>
117                         </binding-mapping-service>
118                     </binding-forwarded-data-broker>
119                 </module>
120             </modules>
121             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
122                     <service>
123                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
124                         <instance>
125                             <name>yang-schema-service</name>
126                             <provider>/modules/module[type='schema-service-singleton'][name='yang-schema-service']</provider>
127                         </instance>
128                     </service>
129                 <service>
130                     <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>
131                     <instance>
132                         <name>config-store-service</name>
133                         <provider>/modules/module[type='inmemory-config-datastore-provider'][name='config-store-service']</provider>
134                     </instance>
135                 </service>
136                 <service>
137                     <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>
138                     <instance>
139                         <name>operational-store-service</name>
140                         <provider>/modules/module[type='inmemory-operational-datastore-provider'][name='operational-store-service']</provider>
141                     </instance>
142                 </service>
143                     <service>
144                         <type xmlns:binding-impl="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding-impl:binding-dom-mapping-service</type>
145                         <instance>
146                             <name>runtime-mapping-singleton</name>
147                             <provider>/modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton']</provider>
148                         </instance>
149                     </service>
150                     <service>
151                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-notification-service</type>
152                         <instance>
153                             <name>binding-notification-broker</name>
154                             <provider>/modules/module[type='binding-notification-broker'][name='binding-notification-broker']</provider>
155                         </instance>
156                     </service>
157                     <service>
158                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
159                         <instance>
160                             <name>binding-osgi-broker</name>
161                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
162                         </instance>
163                     </service>
164                     <service>
165                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
166                         <instance>
167                             <name>binding-rpc-broker</name>
168                             <provider>/modules/module[type='binding-broker-impl'][name='binding-broker-impl']</provider>
169                         </instance>
170                     </service>
171
172                     <service>
173                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
174                         <instance>
175                             <name>dom-broker</name>
176                             <provider>/modules/module[type='dom-broker-impl'][name='inmemory-dom-broker']</provider>
177                         </instance>
178                     </service>
179
180                     <service>
181                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
182                         <instance>
183                             <name>binding-data-broker</name>
184                             <provider>/modules/module[type='binding-data-compatible-broker'][name='inmemory-binding-data-broker']</provider>
185                         </instance>
186                     </service>
187
188                     <service>
189                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
190                         <instance>
191                             <name>binding-data-broker</name>
192                             <provider>/modules/module[type='binding-forwarded-data-broker'][name='binding-async-data-broker']</provider>
193                         </instance>
194                     </service>
195
196                     <service>
197                         <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>
198                         <instance>
199                             <name>inmemory-data-broker</name>
200                             <provider>/modules/module[type='dom-inmemory-data-broker'][name='inmemory-data-broker']</provider>
201                         </instance>
202                     </service>
203             </services>
204         </data>
205     </configuration>
206     <required-capabilities>
207         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
208         <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool?module=threadpool&amp;revision=2013-04-09</capability>
209         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
210         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom?module=opendaylight-md-sal-dom&amp;revision=2013-10-28</capability>
211         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&amp;revision=2013-10-28</capability>
212         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&amp;revision=2013-10-28</capability>
213         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:common?module=opendaylight-md-sal-common&amp;revision=2013-10-28</capability>
214         <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>
215         <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>
216         <capability>urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider?module=opendaylight-inmemory-datastore-provider&amp;revision=2014-06-17</capability>
217
218     </required-capabilities>
219 </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.