Added hosttracker shell for karaf (rebased)
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / initial / 00-netty.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     <required-capabilities>
12         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&amp;revision=2013-11-19</capability>
13         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
14         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup?module=threadgroup&amp;revision=2013-11-07</capability>
15         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:timer?module=netty-timer&amp;revision=2013-11-19</capability>
16     </required-capabilities>
17     <configuration>
18     
19         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
20             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
21                 <module>
22                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup">netty:netty-threadgroup-fixed</type>
23                     <name>global-boss-group</name>
24                 </module>
25                 <module>
26                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup">netty:netty-threadgroup-fixed</type>
27                     <name>global-worker-group</name>
28                 </module>
29                 <module>
30                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:timer">netty:netty-hashed-wheel-timer</type>
31                     <name>global-timer</name>
32                 </module>
33                 <module>
34                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor">netty:netty-global-event-executor</type>
35                     <name>singleton</name>
36                 </module>
37             </modules>
38             
39             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
40                 <service>
41                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
42                     <instance>
43                         <name>global-boss-group</name>
44                         <provider>/modules/module[type='netty-threadgroup-fixed'][name='global-boss-group']</provider>
45                     </instance>
46                     <instance>
47                         <name>global-worker-group</name>
48                         <provider>/modules/module[type='netty-threadgroup-fixed'][name='global-worker-group']</provider>
49                     </instance>
50                 </service>
51                 <service>
52                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-event-executor</type>
53                     <instance>
54                         <name>global-event-executor</name>
55                         <provider>/modules/module[type='netty-global-event-executor'][name='singleton']</provider>
56                     </instance>
57                 </service>
58                 <service>
59                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-timer</type>
60                     <instance>
61                         <name>global-timer</name>
62                         <provider>/modules/module[type='netty-hashed-wheel-timer'][name='global-timer']</provider>
63                     </instance>
64                 </service>
65             </services>
66         </data>
67
68     </configuration>
69 </snapshot>