Merge "BUG 2676 : Use custom client-dispatcher when configured"
[controller.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-async-data-broker</type>
26                   <name>inmemory-data-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
111               <username>admin</username>
112               <password>admin</password>
113           </module>
114
115       </modules>
116
117         <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
118             <service>
119                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-monitoring</type>
120                 <instance>
121                     <name>server-monitor</name>
122                     <provider>/modules/module[type='netconf-server-monitoring-impl'][name='server-monitor']</provider>
123                 </instance>
124             </service>
125             <service>
126                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
127                 <instance>
128                     <name>netconf-mdsal-mapper</name>
129                     <provider>/modules/module[type='netconf-mdsal-mapper'][name='netconf-mdsal-mapper']</provider>
130                 </instance>
131             </service>
132             <service>
133                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-northbound-mapper</type>
134                 <instance>
135                     <name>mapper-aggregator</name>
136                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
137                 </instance>
138             </service>
139             <service>
140                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper">prefix:netconf-mapper-registry</type>
141                 <instance>
142                     <name>mapper-aggregator-registry</name>
143                     <provider>/modules/module[type='netconf-mapper-aggregator'][name='mapper-aggregator']</provider>
144                 </instance>
145             </service>
146             <service>
147                 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound">prefix:netconf-server-dispatcher</type>
148                 <instance>
149                     <name>netconf-mdsal-server-dispatcher</name>
150                     <provider>/modules/module[type='netconf-server-dispatcher-impl'][name='netconf-mdsal-server-dispatcher']</provider>
151                 </instance>
152             </service>
153         </services>
154
155     </data>
156   </configuration>
157   <required-capabilities>
158       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:mapper?module=netconf-mdsal-mapper&amp;revision=2015-01-14</capability>
159       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:mdsal:monitoring?module=netconf-mdsal-monitoring&amp;revision=2015-02-18</capability>
160       <capability>urn:opendaylight:params:xml:ns:yang:controller:netconf:northbound:ssh?module=netconf-northbound-ssh&amp;revision=2015-01-14</capability>
161       <capability>urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl?module=netconf-northbound-impl&amp;revision=2015-01-12</capability>
162       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled?module=threadpool-impl-scheduled&amp;revision=2013-12-01</capability>
163   </required-capabilities>
164 </snapshot>