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