Merge "Bug 2538: Remove redundant Augmentation checks and tests"
[controller.git] / opendaylight / netconf / netconf-config / src / main / resources / initial / 01-netconf.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <snapshot>
11   <configuration>
12     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
13       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
14
15         <!-- Netconf dispatcher to be used by all netconf-connectors -->
16         <module>
17           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:client:dispatcher">prefix:netconf-client-dispatcher</type>
18           <name>global-netconf-dispatcher</name>
19           <boss-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:client:dispatcher">
20             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
21             <name>global-boss-group</name>
22           </boss-thread-group>
23           <worker-thread-group xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:client:dispatcher">
24             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-threadgroup</type>
25             <name>global-worker-group</name>
26           </worker-thread-group>
27           <timer xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:netconf:client:dispatcher">
28             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-timer</type>
29             <name>global-timer</name>
30           </timer>
31         </module>
32
33         <!-- Thread factory to be used by all threadpools in netconf-connectors -->
34         <module>
35           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl">prefix:threadfactory-naming</type>
36           <name>global-netconf-processing-executor-threadfactory</name>
37           <name-prefix xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl">remote-connector-processing-executor</name-prefix>
38         </module>
39         <!-- flexible threadpool for all netconf connectors, Max thread count is set to 4.  -->
40         <module>
41           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible">prefix:threadpool-flexible</type>
42           <name>global-netconf-processing-executor</name>
43           <minThreadCount xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible">1</minThreadCount>
44           <max-thread-count xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible">4</max-thread-count>
45           <keepAliveMillis xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible">600000</keepAliveMillis>
46
47           <threadFactory xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible">
48             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadfactory</type>
49             <name>global-netconf-processing-executor-threadfactory</name>
50           </threadFactory>
51         </module>
52
53         <module>
54           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled">prefix:threadpool-scheduled</type>
55           <name>global-netconf-ssh-scheduled-executor</name>
56           <max-thread-count xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled">8</max-thread-count>
57
58           <threadFactory xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled">
59             <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadfactory</type>
60             <name>global-netconf-processing-executor-threadfactory</name>
61           </threadFactory>
62         </module>
63       </modules>
64
65       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
66         <service>
67           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf">prefix:netconf-client-dispatcher</type>
68           <instance>
69             <name>global-netconf-dispatcher</name>
70             <provider>/modules/module[type='netconf-client-dispatcher'][name='global-netconf-dispatcher']</provider>
71           </instance>
72         </service>
73         <service>
74           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadfactory</type>
75           <instance>
76             <name>global-netconf-processing-executor-threadfactory</name>
77             <provider>/modules/module[type='threadfactory-naming'][name='global-netconf-processing-executor-threadfactory']</provider>
78           </instance>
79         </service>
80         <service>
81           <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:threadpool</type>
82           <instance>
83             <name>global-netconf-processing-executor</name>
84             <provider>/modules/module[type='threadpool-flexible'][name='global-netconf-processing-executor']</provider>
85           </instance>
86             <instance>
87             <name>global-netconf-ssh-scheduled-executor</name>
88             <provider>/modules/module[type='threadpool-scheduled'][name='global-netconf-ssh-scheduled-executor']</provider>
89           </instance>
90         </service>
91       </services>
92
93     </data>
94   </configuration>
95   <required-capabilities>
96       <capability>urn:opendaylight:params:xml:ns:yang:controller:config:netconf:client:dispatcher?module=odl-netconfig-client-cfg&amp;revision=2014-04-08</capability>
97       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl?module=threadpool-impl&amp;revision=2013-04-05</capability>
98       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible?module=threadpool-impl-flexible&amp;revision=2013-12-01</capability>
99       <capability>urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled?module=threadpool-impl-scheduled&amp;revision=2013-12-01</capability>
100   </required-capabilities>
101 </snapshot>