HONEYCOMB-34: Configurable ConfigDataTree dependency
[honeycomb.git] / v3po / impl / src / main / config / default-config.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2015 Cisco and/or its affiliates.
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at:
8
9      http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16 -->
17 <snapshot>
18   <required-capabilities>
19       <capability>urn:opendaylight:params:xml:ns:yang:v3po:impl?module=v3po-impl&amp;revision=2014-12-10</capability>
20       <capability>urn:honeycomb:params:xml:ns:yang:translate:utils?module=translate-utils&amp;revision=2016-04-06</capability>
21       <capability>urn:honeycomb:params:xml:ns:yang:vpp:japi:cfg?module=vpp-japi-cfg&amp;revision=2016-04-06</capability>
22       <capability>urn:honeycomb:params:xml:ns:yang:vpp:data:init?module=vpp-cfg-init&amp;revision=2016-04-07</capability>
23       <capability>urn:honeycomb:params:xml:ns:yang:data:impl?module=data-impl&amp;revision=2016-04-11</capability>
24       <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
25   </required-capabilities>
26   <configuration>
27
28     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
29       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
30
31         <!--<module>-->
32           <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl">prefix:dom-inmemory-data-broker</type>-->
33           <!--<name>netconf-inmemory-data-broker</name>-->
34
35           <!--<schema-service>-->
36             <!--<type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>-->
37             <!--<name>yang-schema-service</name>-->
38           <!--</schema-service>-->
39
40           <!--<config-data-store>-->
41             <!--<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>-->
42             <!--<name>netconf-config-store-service</name>-->
43           <!--</config-data-store>-->
44
45           <!--<operational-data-store>-->
46             <!--<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>-->
47             <!--<name>netconf-operational-store-service</name>-->
48           <!--</operational-data-store>-->
49         <!--</module>-->
50
51         <!--<module>-->
52           <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-forwarded-data-broker</type>-->
53           <!--<name>honeycomb-binding-data-broker</name>-->
54           <!--<binding-forwarded-data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">-->
55
56             <!--&lt;!&ndash;TODO &ndash;&gt;-->
57             <!--&lt;!&ndash;<dom-async-broker>&ndash;&gt;-->
58               <!--&lt;!&ndash;<type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>&ndash;&gt;-->
59               <!--&lt;!&ndash;<name>honeycomb-dom-data-broker</name>&ndash;&gt;-->
60             <!--&lt;!&ndash;</dom-async-broker>&ndash;&gt;-->
61
62             <!--<dom-async-broker>-->
63               <!--<type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>-->
64               <!--<name>netconf-inmemory-data-broker</name>-->
65             <!--</dom-async-broker>-->
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             <!--<binding-mapping-service>-->
72               <!--<type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">binding:binding-dom-mapping-service</type>-->
73               <!--<name>runtime-mapping-singleton</name>-->
74             <!--</binding-mapping-service>-->
75           <!--</binding-forwarded-data-broker>-->
76         <!--</module>-->
77
78
79         <module>
80           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:utils">prefix:delegating-reader-registry</type>
81           <name>read-registry</name>
82         </module>
83         <module>
84           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:utils">prefix:delegating-writer-registry</type>
85           <name>write-registry</name>
86         </module>
87
88         <module>
89           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:data:impl">prefix:honeycomb-config-data-tree</type>
90           <name>config-data-tree</name>
91
92           <schema-service>
93             <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
94             <name>yang-schema-service</name>
95           </schema-service>
96           <binding-normalized-node-serializer>
97             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-dom-mapping-service</type>
98             <name>runtime-mapping-singleton</name>
99           </binding-normalized-node-serializer>
100           <writer-registry>
101             <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-writer-registry</type>
102             <name>write-registry</name>
103           </writer-registry>
104         </module>
105
106         <module>
107           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:v3po:impl">prefix:v3po</type>
108           <name>v3po-default</name>
109           <broker>
110             <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-broker-osgi-registry</type>
111             <name>binding-osgi-broker</name>
112           </broker>
113           <dom-broker>
114             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">prefix:dom-broker-osgi-registry</type>
115             <name>dom-broker</name>
116           </dom-broker>
117           <vpp-japi>
118             <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:vpp:japi:cfg">prefix:vpp-japi</type>
119             <name>vpp-japi</name>
120           </vpp-japi>
121           <reader-registry>
122             <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader-registry</type>
123             <name>read-registry</name>
124           </reader-registry>
125           <writer-registry>
126             <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-writer-registry</type>
127             <name>write-registry</name>
128           </writer-registry>
129           <binding-normalized-node-serializer>
130             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">prefix:binding-dom-mapping-service</type>
131             <name>runtime-mapping-singleton</name>
132           </binding-normalized-node-serializer>
133           <config-data-tree>
134             <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:data:api">prefix:honeycomb-modifiable-data-tree</type>
135             <name>config-data-tree</name>
136           </config-data-tree>
137         </module>
138
139         <module>
140           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:vpp:data:init">prefix:vpp-cfg-initializer-impl</type>
141           <name>vpp-cfg-initializer</name>
142           <reader-registry>
143             <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader-registry</type>
144             <name>read-registry</name>
145           </reader-registry>
146         </module>
147
148       </modules>
149
150       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
151
152         <!--<service>-->
153           <!--<type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-async-data-broker</type>-->
154           <!--<instance>-->
155             <!--<name>netconf-inmemory-data-broker</name>-->
156             <!--<provider>/modules/module[type='dom-inmemory-data-broker'][name='netconf-inmemory-data-broker']</provider>-->
157           <!--</instance>-->
158         <!--</service>-->
159
160         <!--<service>-->
161           <!--<type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>-->
162           <!--<instance>-->
163             <!--<name>honeycomb-binding-data-broker</name>-->
164             <!--<provider>/modules/module[type='binding-forwarded-data-broker'][name='honeycomb-binding-data-broker']</provider>-->
165           <!--</instance>-->
166         <!--</service>-->
167
168
169         <service>
170           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-reader-registry</type>
171           <instance>
172             <name>read-registry</name>
173             <provider>/modules/module[type='delegating-reader-registry'][name='read-registry']</provider>
174           </instance>
175         </service>
176         <service>
177           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:translate:api">prefix:honeycomb-writer-registry</type>
178           <instance>
179             <name>write-registry</name>
180             <provider>/modules/module[type='delegating-writer-registry'][name='write-registry']</provider>
181           </instance>
182         </service>
183         <service>
184           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:data:api">prefix:honeycomb-modifiable-data-tree</type>
185           <instance>
186             <name>config-data-tree</name>
187             <provider>/modules/module[type='honeycomb-config-data-tree'][name='config-data-tree']
188             </provider>
189           </instance>
190         </service>
191         <service>
192           <type xmlns:prefix="urn:honeycomb:params:xml:ns:yang:vpp:data:init">prefix:vpp-cfg-initializer</type>
193           <instance>
194             <name>vpp-cfg-initializer</name>
195             <provider>/modules/module[type='vpp-cfg-initializer-impl'][name='vpp-cfg-initializer']
196             </provider>
197           </instance>
198         </service>
199         <service>
200           <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">
201             dom:dom-broker-osgi-registry
202           </type>
203           <instance>
204             <name>vpp-dom-broker</name>
205             <provider>/modules/module[type='v3po'][name='v3po-default']</provider>
206           </instance>
207         </service>
208
209       </services>
210     </data>
211   </configuration>
212 </snapshot>