48260353a9091f70261ae32d517bd2a21d79856e
[netconf.git] / 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               <scheduled-threadpool xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
93                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadpool</type>
94                   <name>global-netconf-ssh-scheduled-executor</name>
95               </scheduled-threadpool>
96               <monitoring-update-interval xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">6</monitoring-update-interval>
97           </module>
98
99           <module>
100               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">prefix:netconf-northbound-ssh</type>
101               <name>netconf-mdsal-ssh-server</name>
102
103               <event-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
104                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-event-executor</type>
105                   <name>global-event-executor</name>
106               </event-executor>
107               <worker-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
108                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
109                   <name>global-worker-group</name>
110               </worker-thread-group>
111               <processing-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
112                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadpool</type>
113                   <name>global-netconf-ssh-scheduled-executor</name>
114               </processing-executor>
115               <dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
116                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
117                   <name>netconf-mdsal-server-dispatcher</name>
118               </dispatcher>
119               <auth-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
120                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:auth">prefix:netconf-auth-provider</type>
121                   <name>default-auth-provider</name>
122               </auth-provider>
123           </module>
124
125           <module>
126               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification:impl">prefix:netconf-notification-manager</type>
127               <name>netconf-notification-manager</name>
128           </module>
129
130           <module>
131               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">prefix:netconf-mdsal-notification-mapper</type>
132               <name>netconf-mdsal-notification-mapper</name>
133               <data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
134                   <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
135                   <name>binding-data-broker</name>
136               </data-broker>
137               <binding-aware-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
138                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
139                   <name>binding-osgi-broker</name>
140               </binding-aware-broker>
141               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
142                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
143                   <name>mapper-aggregator-registry</name>
144               </aggregator>
145               <notification-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
146                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-registry</type>
147                   <name>netconf-notification-manager</name>
148               </notification-registry>
149               <notification-collector>
150                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-collector</type>
151                   <name>netconf-notification-manager</name>
152               </notification-collector>
153           </module>
154
155           <module>
156               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:yang:library">prefix:netconf-mdsal-yanglib</type>
157               <name>netconf-mdsal-yanglib</name>
158               <binding-aware-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:yang:library">
159                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
160                   <name>binding-osgi-broker</name>
161               </binding-aware-broker>
162               <root-schema-service xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:yang:library">
163               <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:schema-service</type>
164               <name>yang-schema-service</name>
165           </root-schema-service>
166           </module>
167
168
169
170           <!--TCP endpoint for MD-SAL netconf server -->
171           <!--<module>-->
172               <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp">prefix:netconf-northbound-tcp</type>-->
173               <!--<name>netconf-mdsal-tcp-server</name>-->
174               <!--<dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp">-->
175                   <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>-->
176                   <!--<name>netconf-mdsal-server-dispatcher</name>-->
177               <!--</dispatcher>-->
178           <!--</module>-->
179
180       </modules>
181
182         <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
183             <service>
184                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
185                 <instance>
186                     <name>server-monitor</name>
187                     <provider>/modules/module[type='netconf-server-monitoring-impl'][name='server-monitor']</provider>
188                 </instance>
189             </service>
190             <service>
191                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
192                 <instance>
193                     <name>netconf-mdsal-mapper</name>
194                     <provider>/modules/module[type='netconf-mdsal-mapper'][name='netconf-mdsal-mapper']</provider>
195                 </instance>
196             </service>
197             <service>
198                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
199                 <instance>
200                     <name>mapper-aggregator</name>
201                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
202                 </instance>
203             </service>
204             <service>
205                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
206                 <instance>
207                     <name>mapper-aggregator-registry</name>
208                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
209                 </instance>
210             </service>
211             <service>
212                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
213                 <instance>
214                     <name>netconf-mdsal-server-dispatcher</name>
215                     <provider>/modules/module[type='netconf-server-dispatcher-impl'][name='netconf-mdsal-server-dispatcher']</provider>
216                 </instance>
217             </service>
218             <service>
219                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
220                 <instance>
221                     <name>netconf-mdsal-notification-mapper</name>
222                     <provider>/modules/module[type='netconf-mdsal-notification-mapper'][name='netconf-mdsal-notification-mapper']</provider>
223                 </instance>
224             </service>
225             <service>
226                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-collector</type>
227                 <instance>
228                     <name>netconf-notification-manager</name>
229                     <provider>/modules/module[type='netconf-notification-manager'][name='netconf-notification-manager']</provider>
230                 </instance>
231             </service>
232             <service>
233                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-registry</type>
234                 <instance>
235                     <name>netconf-notification-manager</name>
236                     <provider>/modules/module[type='netconf-notification-manager'][name='netconf-notification-manager']</provider>
237                 </instance>
238             </service>
239         </services>
240
241     </data>
242   </configuration>
243   <required-capabilities>
244       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper?module=netconf-mdsal-mapper&amp;revision=2015-01-14</capability>
245       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring?module=netconf-mdsal-monitoring&amp;revision=2015-02-18</capability>
246       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh?module=netconf-northbound-ssh&amp;revision=2015-01-14</capability>
247       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp?module=netconf-northbound-tcp&amp;revision=2015-04-23</capability>
248       <capability>urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl?module=netconf-northbound-impl&amp;revision=2015-01-12</capability>
249       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled?module=threadpool-impl-scheduled&amp;revision=2013-12-01</capability>
250       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification?module=netconf-mdsal-notification&amp;revision=2015-08-03</capability>
251       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:yang:library?module=netconf-mdsal-yang-library&amp;revision=2016-06-17</capability>
252   </required-capabilities>
253 </snapshot>