Fix yang source provisioning from MD-SAL netconf northbound
[netconf.git] / opendaylight / netconf / netconf-mdsal-config / src / main / resources / initial / 08-netconf-mdsal.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
4   ~
5   ~ This program and the accompanying materials are made available under the
6   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
9
10 <!-- vi: set et smarttab sw=4 tabstop=4: -->
11
12 <snapshot>
13   <configuration>
14     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
15       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
16
17           <module>
18               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper">prefix:netconf-mdsal-mapper</type>
19               <name>netconf-mdsal-mapper</name>
20               <root-schema-service>
21                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
22                   <name>yang-schema-service</name>
23               </root-schema-service>
24               <root-schema-source-provider>
25                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:yang-text-source-provider</type>
26                   <name>yang-text-source-provider</name>
27               </root-schema-source-provider>
28               <dom-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper">
29                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
30                   <name>dom-broker</name>
31               </dom-broker>
32               <mapper-aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper">
33                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
34                   <name>mapper-aggregator-registry</name>
35               </mapper-aggregator>
36           </module>
37
38           <module>
39               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">prefix:netconf-server-dispatcher-impl</type>
40               <name>netconf-mdsal-server-dispatcher</name>
41               <mappers xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
42                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">dom:netconf-northbound-mapper</type>
43                   <name>mapper-aggregator</name>
44               </mappers>
45               <server-monitor xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
46                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
47                   <name>server-monitor</name>
48               </server-monitor>
49               <boss-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
50                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
51                   <name>global-boss-group</name>
52               </boss-thread-group>
53               <worker-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
54                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
55                   <name>global-worker-group</name>
56               </worker-thread-group>
57               <timer xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
58                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-timer</type>
59                   <name>global-timer</name>
60               </timer>
61           </module>
62
63           <module>
64               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">prefix:netconf-mdsal-monitoring-mapper</type>
65               <name>netconf-mdsal-monitoring-mapper</name>
66               <server-monitoring xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">
67                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
68                   <name>server-monitor</name>
69               </server-monitoring>
70               <binding-aware-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">
71                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
72                   <name>binding-osgi-broker</name>
73               </binding-aware-broker>
74               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">
75                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
76                   <name>mapper-aggregator-registry</name>
77               </aggregator>
78           </module>
79
80           <module>
81               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">prefix:netconf-mapper-aggregator</type>
82               <name>mapper-aggregator</name>
83           </module>
84
85           <module>
86               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">prefix:netconf-server-monitoring-impl</type>
87               <name>server-monitor</name>
88               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
89                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">dom:netconf-northbound-mapper</type>
90                   <name>mapper-aggregator</name>
91               </aggregator>
92           </module>
93
94           <module>
95               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">prefix:netconf-northbound-ssh</type>
96               <name>netconf-mdsal-ssh-server</name>
97
98               <event-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
99                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-event-executor</type>
100                   <name>global-event-executor</name>
101               </event-executor>
102               <worker-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
103                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
104                   <name>global-worker-group</name>
105               </worker-thread-group>
106               <processing-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
107                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadpool</type>
108                   <name>global-netconf-ssh-scheduled-executor</name>
109               </processing-executor>
110               <dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
111                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
112                   <name>netconf-mdsal-server-dispatcher</name>
113               </dispatcher>
114               <auth-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
115                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:auth">prefix:netconf-auth-provider</type>
116                   <name>default-auth-provider</name>
117               </auth-provider>
118           </module>
119
120           <module>
121               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification:impl">prefix:netconf-notification-manager</type>
122               <name>netconf-notification-manager</name>
123           </module>
124
125           <module>
126               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">prefix:netconf-mdsal-notification-mapper</type>
127               <name>netconf-mdsal-notification-mapper</name>
128               <data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
129                   <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
130                   <name>binding-data-broker</name>
131               </data-broker>
132               <binding-aware-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
133                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
134                   <name>binding-osgi-broker</name>
135               </binding-aware-broker>
136               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
137                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
138                   <name>mapper-aggregator-registry</name>
139               </aggregator>
140               <notification-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
141                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-registry</type>
142                   <name>netconf-notification-manager</name>
143               </notification-registry>
144               <notification-collector>
145                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-collector</type>
146                   <name>netconf-notification-manager</name>
147               </notification-collector>
148           </module>
149
150
151
152           <!--TCP endpoint for MD-SAL netconf server -->
153           <!--<module>-->
154               <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp">prefix:netconf-northbound-tcp</type>-->
155               <!--<name>netconf-mdsal-tcp-server</name>-->
156               <!--<dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp">-->
157                   <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>-->
158                   <!--<name>netconf-mdsal-server-dispatcher</name>-->
159               <!--</dispatcher>-->
160           <!--</module>-->
161
162       </modules>
163
164         <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
165             <service>
166                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
167                 <instance>
168                     <name>server-monitor</name>
169                     <provider>/modules/module[type='netconf-server-monitoring-impl'][name='server-monitor']</provider>
170                 </instance>
171             </service>
172             <service>
173                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
174                 <instance>
175                     <name>netconf-mdsal-mapper</name>
176                     <provider>/modules/module[type='netconf-mdsal-mapper'][name='netconf-mdsal-mapper']</provider>
177                 </instance>
178             </service>
179             <service>
180                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
181                 <instance>
182                     <name>mapper-aggregator</name>
183                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
184                 </instance>
185             </service>
186             <service>
187                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
188                 <instance>
189                     <name>mapper-aggregator-registry</name>
190                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
191                 </instance>
192             </service>
193             <service>
194                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
195                 <instance>
196                     <name>netconf-mdsal-server-dispatcher</name>
197                     <provider>/modules/module[type='netconf-server-dispatcher-impl'][name='netconf-mdsal-server-dispatcher']</provider>
198                 </instance>
199             </service>
200             <service>
201                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
202                 <instance>
203                     <name>netconf-mdsal-notification-mapper</name>
204                     <provider>/modules/module[type='netconf-mdsal-notification-mapper'][name='netconf-mdsal-notification-mapper']</provider>
205                 </instance>
206             </service>
207             <service>
208                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-collector</type>
209                 <instance>
210                     <name>netconf-notification-manager</name>
211                     <provider>/modules/module[type='netconf-notification-manager'][name='netconf-notification-manager']</provider>
212                 </instance>
213             </service>
214             <service>
215                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-registry</type>
216                 <instance>
217                     <name>netconf-notification-manager</name>
218                     <provider>/modules/module[type='netconf-notification-manager'][name='netconf-notification-manager']</provider>
219                 </instance>
220             </service>
221         </services>
222
223     </data>
224   </configuration>
225   <required-capabilities>
226       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper?module=netconf-mdsal-mapper&amp;revision=2015-01-14</capability>
227       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring?module=netconf-mdsal-monitoring&amp;revision=2015-02-18</capability>
228       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh?module=netconf-northbound-ssh&amp;revision=2015-01-14</capability>
229       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp?module=netconf-northbound-tcp&amp;revision=2015-04-23</capability>
230       <capability>urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl?module=netconf-northbound-impl&amp;revision=2015-01-12</capability>
231       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled?module=threadpool-impl-scheduled&amp;revision=2013-12-01</capability>
232       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification?module=netconf-mdsal-notification&amp;revision=2015-08-03</capability>
233   </required-capabilities>
234 </snapshot>