81add4d4522e9bce9f13f3692ba24008109b9259
[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               <dom-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper">
25                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">dom:dom-broker-osgi-registry</type>
26                   <name>dom-broker</name>
27               </dom-broker>
28               <mapper-aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper">
29                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
30                   <name>mapper-aggregator-registry</name>
31               </mapper-aggregator>
32           </module>
33
34           <module>
35               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">prefix:netconf-server-dispatcher-impl</type>
36               <name>netconf-mdsal-server-dispatcher</name>
37               <mappers xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
38                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">dom:netconf-northbound-mapper</type>
39                   <name>mapper-aggregator</name>
40               </mappers>
41               <server-monitor xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
42                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
43                   <name>server-monitor</name>
44               </server-monitor>
45               <boss-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
46                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
47                   <name>global-boss-group</name>
48               </boss-thread-group>
49               <worker-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-worker-group</name>
52               </worker-thread-group>
53               <timer 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-timer</type>
55                   <name>global-timer</name>
56               </timer>
57           </module>
58
59           <module>
60               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">prefix:netconf-mdsal-monitoring-mapper</type>
61               <name>netconf-mdsal-monitoring-mapper</name>
62               <server-monitoring xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">
63                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
64                   <name>server-monitor</name>
65               </server-monitoring>
66               <binding-aware-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">
67                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
68                   <name>binding-osgi-broker</name>
69               </binding-aware-broker>
70               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring">
71                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
72                   <name>mapper-aggregator-registry</name>
73               </aggregator>
74           </module>
75
76           <module>
77               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">prefix:netconf-mapper-aggregator</type>
78               <name>mapper-aggregator</name>
79           </module>
80
81           <module>
82               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">prefix:netconf-server-monitoring-impl</type>
83               <name>server-monitor</name>
84               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl">
85                   <type xmlns:dom="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">dom:netconf-northbound-mapper</type>
86                   <name>mapper-aggregator</name>
87               </aggregator>
88           </module>
89
90           <module>
91               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">prefix:netconf-northbound-ssh</type>
92               <name>netconf-mdsal-ssh-server</name>
93
94               <event-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
95                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-event-executor</type>
96                   <name>global-event-executor</name>
97               </event-executor>
98               <worker-thread-group 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-threadgroup</type>
100                   <name>global-worker-group</name>
101               </worker-thread-group>
102               <processing-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
103                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadpool</type>
104                   <name>global-netconf-ssh-scheduled-executor</name>
105               </processing-executor>
106               <dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
107                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
108                   <name>netconf-mdsal-server-dispatcher</name>
109               </dispatcher>
110               <auth-provider xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh">
111                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:auth">prefix:netconf-auth-provider</type>
112                   <name>default-auth-provider</name>
113               </auth-provider>
114           </module>
115
116           <module>
117               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification:impl">prefix:netconf-notification-manager</type>
118               <name>netconf-notification-manager</name>
119           </module>
120
121           <module>
122               <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">prefix:netconf-mdsal-notification-mapper</type>
123               <name>netconf-mdsal-notification-mapper</name>
124               <data-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
125                   <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
126                   <name>binding-data-broker</name>
127               </data-broker>
128               <binding-aware-broker xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
129                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type>
130                   <name>binding-osgi-broker</name>
131               </binding-aware-broker>
132               <aggregator xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
133                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
134                   <name>mapper-aggregator-registry</name>
135               </aggregator>
136               <notification-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification">
137                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-registry</type>
138                   <name>netconf-notification-manager</name>
139               </notification-registry>
140               <notification-collector>
141                   <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-collector</type>
142                   <name>netconf-notification-manager</name>
143               </notification-collector>
144           </module>
145
146
147
148           <!--TCP endpoint for MD-SAL netconf server -->
149           <!--<module>-->
150               <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp">prefix:netconf-northbound-tcp</type>-->
151               <!--<name>netconf-mdsal-tcp-server</name>-->
152               <!--<dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp">-->
153                   <!--<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>-->
154                   <!--<name>netconf-mdsal-server-dispatcher</name>-->
155               <!--</dispatcher>-->
156           <!--</module>-->
157
158       </modules>
159
160         <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
161             <service>
162                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
163                 <instance>
164                     <name>server-monitor</name>
165                     <provider>/modules/module[type='netconf-server-monitoring-impl'][name='server-monitor']</provider>
166                 </instance>
167             </service>
168             <service>
169                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
170                 <instance>
171                     <name>netconf-mdsal-mapper</name>
172                     <provider>/modules/module[type='netconf-mdsal-mapper'][name='netconf-mdsal-mapper']</provider>
173                 </instance>
174             </service>
175             <service>
176                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
177                 <instance>
178                     <name>mapper-aggregator</name>
179                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
180                 </instance>
181             </service>
182             <service>
183                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
184                 <instance>
185                     <name>mapper-aggregator-registry</name>
186                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
187                 </instance>
188             </service>
189             <service>
190                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
191                 <instance>
192                     <name>netconf-mdsal-server-dispatcher</name>
193                     <provider>/modules/module[type='netconf-server-dispatcher-impl'][name='netconf-mdsal-server-dispatcher']</provider>
194                 </instance>
195             </service>
196             <service>
197                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
198                 <instance>
199                     <name>netconf-mdsal-notification-mapper</name>
200                     <provider>/modules/module[type='netconf-mdsal-notification-mapper'][name='netconf-mdsal-notification-mapper']</provider>
201                 </instance>
202             </service>
203             <service>
204                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-collector</type>
205                 <instance>
206                     <name>netconf-notification-manager</name>
207                     <provider>/modules/module[type='netconf-notification-manager'][name='netconf-notification-manager']</provider>
208                 </instance>
209             </service>
210             <service>
211                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:notification">prefix:netconf-notification-registry</type>
212                 <instance>
213                     <name>netconf-notification-manager</name>
214                     <provider>/modules/module[type='netconf-notification-manager'][name='netconf-notification-manager']</provider>
215                 </instance>
216             </service>
217         </services>
218
219     </data>
220   </configuration>
221   <required-capabilities>
222       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper?module=netconf-mdsal-mapper&amp;revision=2015-01-14</capability>
223       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring?module=netconf-mdsal-monitoring&amp;revision=2015-02-18</capability>
224       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh?module=netconf-northbound-ssh&amp;revision=2015-01-14</capability>
225       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:tcp?module=netconf-northbound-tcp&amp;revision=2015-04-23</capability>
226       <capability>urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl?module=netconf-northbound-impl&amp;revision=2015-01-12</capability>
227       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled?module=threadpool-impl-scheduled&amp;revision=2013-12-01</capability>
228       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:notification?module=netconf-mdsal-notification&amp;revision=2015-08-03</capability>
229   </required-capabilities>
230 </snapshot>