e5f0ed5d419c132282f96ba83bec51a0ddbc0381
[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                     <timer>
74                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-timer</type>
75                         <name>global-timer</name>
76                     </timer>
77                     <boss-group>
78                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
79                         <name>global-boss-group</name>
80                     </boss-group>
81                     <worker-group>
82                         <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-threadgroup</type>
83                         <name>global-worker-group</name>
84                     </worker-group>
85
86                     <!--
87                          Uncomment this block to enable TCP MD5 Signature support
88
89                     <md5-channel-factory>
90                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">prefix:md5-channel-factory</type>
91                         <name>md5-client-channel-factory</name>
92                     </md5-channel-factory>
93
94                     <md5-server-channel-factory>
95                         <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:tcpmd5:netty:cfg">prefix:md5-server-channel-factory</type>
96                         <name>md5-server-channel-factory</name>
97                     </md5-server-channel-factory>
98                     -->
99                 </module>
100
101                 <module>
102                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
103                     <name>ipv4-unicast</name>
104                     <afi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:ipv4-address-family</afi>
105                     <safi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:unicast-subsequent-address-family</safi>
106                 </module>
107                 <module>
108                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
109                     <name>ipv6-unicast</name>
110                     <afi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:ipv6-address-family</afi>
111                     <safi xmlns:bgp="urn:opendaylight:params:xml:ns:yang:bgp-types">bgp:unicast-subsequent-address-family</safi>
112                 </module>
113                 <module>
114                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type-impl</type>
115                     <name>linkstate</name>
116                     <afi xmlns:linkstate="urn:opendaylight:params:xml:ns:yang:bgp-linkstate">linkstate:linkstate-address-family</afi>
117                     <safi xmlns:linkstate="urn:opendaylight:params:xml:ns:yang:bgp-linkstate">linkstate:linkstate-subsequent-address-family</safi>
118                 </module>
119             </modules>
120
121             <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
122                 <service>
123                     <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">bgpspi:bgp-peer-registry</type>
124                     <instance>
125                         <name>global-bgp-peer-registry</name>
126                         <provider>/modules/module[type='strict-bgp-peer-registry'][name='global-bgp-peer-registry']</provider>
127                     </instance>
128                 </service>
129                 <service>
130                     <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extensions</type>
131                     <instance>
132                         <name>global-bgp-extensions</name>
133                         <provider>/modules/module[type='bgp-extensions-impl'][name='global-bgp-extensions']</provider>
134                     </instance>
135                 </service>
136                 <service>
137                     <type xmlns:bgpspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:parser:spi">bgpspi:extension</type>
138                     <instance>
139                         <name>base-bgp-parser</name>
140                         <provider>/modules/module[type='base-bgp-parser'][name='base-bgp-parser']</provider>
141                     </instance>
142                     <instance>
143                         <name>bgp-linkstate</name>
144                         <provider>/modules/module[type='bgp-linkstate'][name='bgp-linkstate']</provider>
145                     </instance>
146                 </service>
147                 <service>
148                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
149                     <instance>
150                         <name>ipv4-unicast</name>
151                         <provider>/modules/module[type='bgp-table-type-impl'][name='ipv4-unicast']</provider>
152                     </instance>
153                     <instance>
154                         <name>ipv6-unicast</name>
155                         <provider>/modules/module[type='bgp-table-type-impl'][name='ipv6-unicast']</provider>
156                     </instance>
157                     <instance>
158                         <name>linkstate</name>
159                         <provider>/modules/module[type='bgp-table-type-impl'][name='linkstate']</provider>
160                     </instance>
161                 </service>
162                 <service>
163                     <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extension</type>
164                     <instance>
165                         <name>base-bgp-rib</name>
166                         <provider>/modules/module[type='base-bgp-rib'][name='base-bgp-rib']</provider>
167                     </instance>
168                     <instance>
169                         <name>bgp-linkstate</name>
170                         <provider>/modules/module[type='bgp-linkstate'][name='bgp-linkstate']</provider>
171                     </instance>
172                 </service>
173                 <service>
174                     <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
175                     <instance>
176                         <name>global-rib-extensions</name>
177                         <provider>/modules/module[type='bgp-rib-extensions-impl'][name='global-rib-extensions']</provider>
178                     </instance>
179                 </service>
180                 <service>
181                     <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
182                     <instance>
183                         <name>global-bgp-dispatcher</name>
184                         <provider>/modules/module[type='bgp-dispatcher-impl'][name='global-bgp-dispatcher']</provider>
185                     </instance>
186                 </service>
187             </services>
188         </data>
189
190     </configuration>
191 </snapshot>