Rework BGP timers to work with channel
[bgpcep.git] / bgp / controller-config / src / main / resources / initial / 31-bgp.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:bgp-linkstate?module=bgp-linkstate&amp;revision=2013-11-25</capability>
13         <capability>urn:opendaylight:params:xml:ns:yang:bgp-types?module=bgp-types&amp;revision=2013-09-19</capability>
14         <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:linkstate?module=odl-bgp-linkstate-cfg&amp;revision=2013-11-15</capability>
15         <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi?module=odl-bgp-parser-spi-cfg&amp;revision=2013-11-15</capability>
16         <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi?module=odl-bgp-rib-spi-cfg&amp;revision=2013-11-15</capability>
17         <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=odl-bgp-rib-impl-cfg&amp;revision=2013-04-09</capability>
18         <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&amp;revision=2013-10-28</capability>
19         <capability>urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&amp;revision=2013-11-19</capability>
20     </required-capabilities>
21     <configuration>
22
23         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
24             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
25                 <module>
26                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">prefix:bgp-extensions-impl</type>
27                     <name>global-bgp-extensions</name>
28                     <extension>
29                         <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
30                         <name>base-bgp-parser</name>
31                     </extension>
32                     <extension>
33                         <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
34                         <name>bgp-linkstate</name>
35                     </extension>
36                 </module>
37                 <module>
38                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:base-bgp-parser</type>
39                     <name>base-bgp-parser</name>
40                 </module>
41                 <!-- Global bgp peer registry that should contain all configured bgp peers -->
42                 <module>
43                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:strict-bgp-peer-registry</type>
44                     <name>global-bgp-peer-registry</name>
45                 </module>
46                 <module>
47                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">prefix:bgp-rib-extensions-impl</type>
48                     <name>global-rib-extensions</name>
49                     <extension>
50                         <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
51                         <name>base-bgp-rib</name>
52                     </extension>
53                     <extension>
54                         <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
55                         <name>bgp-linkstate</name>
56                     </extension>
57                 </module>
58                 <module>
59                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:base-bgp-rib</type>
60                     <name>base-bgp-rib</name>
61                 </module>
62                 <module>
63                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:linkstate">prefix:bgp-linkstate</type>
64                     <name>bgp-linkstate</name>
65                 </module>
66                 <module>
67                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher-impl</type>
68                     <name>global-bgp-dispatcher</name>
69                     <bgp-extensions>
70                         <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extensions</type>
71                         <name>global-bgp-extensions</name>
72                     </bgp-extensions>
73                     <boss-group>
74                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
75                         <name>global-boss-group</name>
76                     </boss-group>
77                     <worker-group>
78                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
79                         <name>global-worker-group</name>
80                     </worker-group>
81
82                     <!--
83                          Uncomment this block to enable TCP MD5 Signature support
84
85                     <md5-channel-factory>
86                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">prefix:md5-channel-factory</type>
87                         <name>md5-client-channel-factory</name>
88                     </md5-channel-factory>
89
90                     <md5-server-channel-factory>
91                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">prefix:md5-server-channel-factory</type>
92                         <name>md5-server-channel-factory</name>
93                     </md5-server-channel-factory>
94                     -->
95                 </module>
96
97                 <module>
98                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
99                     <name>ipv4-unicast</name>
100                     <afi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:ipv4-address-family</afi>
101                     <safi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:unicast-subsequent-address-family</safi>
102                 </module>
103                 <module>
104                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
105                     <name>ipv6-unicast</name>
106                     <afi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:ipv6-address-family</afi>
107                     <safi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:unicast-subsequent-address-family</safi>
108                 </module>
109                 <module>
110                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
111                     <name>linkstate</name>
112                     <afi xmlns:linkstate="urn:opendaylight:params:xml:ns:yang:bgp-linkstate">linkstate:linkstate-address-family</afi>
113                     <safi xmlns:linkstate="urn:opendaylight:params:xml:ns:yang:bgp-linkstate">linkstate:linkstate-subsequent-address-family</safi>
114                 </module>
115             </modules>
116
117             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
118                 <service>
119                     <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">bgpspi:bgp-peer-registry</type>
120                     <instance>
121                         <name>global-bgp-peer-registry</name>
122                         <provider>/modules/module[type='strict-bgp-peer-registry'][name='global-bgp-peer-registry']</provider>
123                     </instance>
124                 </service>
125                 <service>
126                     <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extensions</type>
127                     <instance>
128                         <name>global-bgp-extensions</name>
129                         <provider>/modules/module[type='bgp-extensions-impl'][name='global-bgp-extensions']</provider>
130                     </instance>
131                 </service>
132                 <service>
133                     <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
134                     <instance>
135                         <name>base-bgp-parser</name>
136                         <provider>/modules/module[type='base-bgp-parser'][name='base-bgp-parser']</provider>
137                     </instance>
138                     <instance>
139                         <name>bgp-linkstate</name>
140                         <provider>/modules/module[type='bgp-linkstate'][name='bgp-linkstate']</provider>
141                     </instance>
142                 </service>
143                 <service>
144                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
145                     <instance>
146                         <name>ipv4-unicast</name>
147                         <provider>/modules/module[type='bgp-table-type-impl'][name='ipv4-unicast']</provider>
148                     </instance>
149                     <instance>
150                         <name>ipv6-unicast</name>
151                         <provider>/modules/module[type='bgp-table-type-impl'][name='ipv6-unicast']</provider>
152                     </instance>
153                     <instance>
154                         <name>linkstate</name>
155                         <provider>/modules/module[type='bgp-table-type-impl'][name='linkstate']</provider>
156                     </instance>
157                 </service>
158                 <service>
159                     <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
160                     <instance>
161                         <name>base-bgp-rib</name>
162                         <provider>/modules/module[type='base-bgp-rib'][name='base-bgp-rib']</provider>
163                     </instance>
164                     <instance>
165                         <name>bgp-linkstate</name>
166                         <provider>/modules/module[type='bgp-linkstate'][name='bgp-linkstate']</provider>
167                     </instance>
168                 </service>
169                 <service>
170                     <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
171                     <instance>
172                         <name>global-rib-extensions</name>
173                         <provider>/modules/module[type='bgp-rib-extensions-impl'][name='global-rib-extensions']</provider>
174                     </instance>
175                 </service>
176                 <service>
177                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
178                     <instance>
179                         <name>global-bgp-dispatcher</name>
180                         <provider>/modules/module[type='bgp-dispatcher-impl'][name='global-bgp-dispatcher']</provider>
181                     </instance>
182                 </service>
183             </services>
184         </data>
185
186     </configuration>
187 </snapshot>