Archetypes for karaf support
[controller.git] / opendaylight / archetypes / opendaylight-configfile-archetype / src / main / resources / archetype-resources / src / main / resources / 80-configfile.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2013 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 <snapshot>
10     <required-capabilities>
11         <!-- Necessary TODO put your required capabilities here
12
13         Examples:
14         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&amp;revision=2013-11-19</capability>
15         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&amp;revision=2013-11-12</capability>
16         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup?module=threadgroup&amp;revision=2013-11-07</capability>
17         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty:timer?module=netty-timer&amp;revision=2013-11-19</capability>
18         -->
19     </required-capabilities>
20     <configuration>
21
22         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
23             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
24                 <!-- Optional TODO: Add your modules definitions here
25                 Examples:
26                 <module>
27                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup">netty:netty-threadgroup-fixed</type>
28                     <name>global-boss-group</name>
29                 </module>
30                 <module>
31                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup">netty:netty-threadgroup-fixed</type>
32                     <name>global-worker-group</name>
33                 </module>
34                 <module>
35                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:timer">netty:netty-hashed-wheel-timer</type>
36                     <name>global-timer</name>
37                 </module>
38                 <module>
39                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor">netty:netty-global-event-executor</type>
40                     <name>singleton</name>
41                 </module>
42                 -->
43             </modules>
44
45             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
46                 <!-- Optional TODO: Put your service instance definitions here
47                 Examples:
48                 <service>
49                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
50                     <instance>
51                         <name>global-boss-group</name>
52                         <provider>/modules/module[type='netty-threadgroup-fixed'][name='global-boss-group']</provider>
53                     </instance>
54                     <instance>
55                         <name>global-worker-group</name>
56                         <provider>/modules/module[type='netty-threadgroup-fixed'][name='global-worker-group']</provider>
57                     </instance>
58                 </service>
59                 <service>
60                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-event-executor</type>
61                     <instance>
62                         <name>global-event-executor</name>
63                         <provider>/modules/module[type='netty-global-event-executor'][name='singleton']</provider>
64                     </instance>
65                 </service>
66                 <service>
67                     <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-timer</type>
68                     <instance>
69                         <name>global-timer</name>
70                         <provider>/modules/module[type='netty-hashed-wheel-timer'][name='global-timer']</provider>
71                     </instance>
72                 </service>
73                 -->
74             </services>
75         </data>
76
77     </configuration>
78 </snapshot>