1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
11 <required-capabilities>
12 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg?module=config-bgp-rib&revision=2013-07-01</capability>
13 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi?module=config-bgp-rib-spi&revision=2013-11-15</capability>
14 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=bgp-rib-impl&revision=2013-04-09</capability>
15 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider?module=config-bgp-topology-provider&revision=2013-11-15</capability>
16 <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28</capability>
17 <capability>urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&revision=2013-11-19</capability>
18 <capability>urn:opendaylight:params:xml:ns:yang:controller:protocol:framework?module=protocol-framework&revision=2014-03-13</capability>
19 <capability>urn:opendaylight:params:xml:ns:yang:controller:topology?module=config-topology-api&revision=2013-11-15</capability>
20 </required-capabilities>
23 <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
24 <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
26 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:timed-reconnect-strategy-factory</type>
27 <name>example-reconnect-strategy-factory</name>
28 <min-sleep>1000</min-sleep>
29 <max-sleep>180000</max-sleep>
30 <sleep-factor>2.00</sleep-factor>
31 <connect-time>5000</connect-time>
33 <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-event-executor</type>
34 <name>global-event-executor</name>
39 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-acceptor</type>
40 <name>bgp-peer-server</name>
42 <!--Default parameters-->
43 <!--<binding-address>0.0.0.0</binding-address>-->
44 <!--<binding-port>179</binding-port>-->
47 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
48 <name>global-bgp-dispatcher</name>
51 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-registry</type>
52 <name>global-bgp-peer-registry</name>
58 A single BGP peer. Note this section is deactivated because a misconfigured peer
59 tends to log rather nasty error messages.
61 For TCP-MD5 support, make sure the dispatcher associated with the rib has
62 "md5-channel-factory" attribute set and then add a "password" attribute here.
63 Note that the peer has to have the same password configured, otherwise the
64 connection will not be established.
66 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer</type>
67 <name>example-bgp-peer</name>
68 <host>192.0.2.1</host>
69 <holdtimer>180</holdtimer>
71 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
72 <name>example-bgp-rib</name>
75 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-registry</type>
76 <name>global-bgp-peer-registry</name>
79 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
80 <name>ipv4-unicast</name>
83 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
84 <name>ipv6-unicast</name>
87 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
88 <name>linkstate</name>
94 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-impl</type>
95 <name>example-bgp-rib</name>
96 <rib-id>example-bgp-rib</rib-id>
97 <local-as>64496</local-as>
98 <bgp-id>192.0.2.2</bgp-id>
100 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
101 <name>ipv4-unicast</name>
104 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
105 <name>ipv6-unicast</name>
108 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
109 <name>linkstate</name>
112 <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
113 <name>global-rib-extensions</name>
116 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
117 <name>global-bgp-dispatcher</name>
120 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
121 <name>binding-data-broker</name>
123 <session-reconnect-strategy>
124 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:reconnect-strategy-factory</type>
125 <name>example-reconnect-strategy-factory</name>
126 </session-reconnect-strategy>
127 <tcp-reconnect-strategy>
128 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:reconnect-strategy-factory</type>
129 <name>example-reconnect-strategy-factory</name>
130 </tcp-reconnect-strategy>
133 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-reachability-ipv4</type>
134 <name>example-ipv4-topology</name>
136 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
137 <name>binding-data-broker</name>
140 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
141 <name>example-bgp-rib</name>
143 <topology-id>example-ipv4-topology</topology-id>
146 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-reachability-ipv6</type>
147 <name>example-ipv6-topology</name>
149 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
150 <name>binding-data-broker</name>
153 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
154 <name>example-bgp-rib</name>
156 <topology-id>example-ipv6-topology</topology-id>
159 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-linkstate-topology</type>
160 <name>example-linkstate-topology</name>
162 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-data-broker</type>
163 <name>binding-data-broker</name>
166 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
167 <name>example-bgp-rib</name>
169 <topology-id>example-linkstate-topology</topology-id>
173 <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
175 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:reconnect-strategy-factory</type>
177 <name>example-reconnect-strategy-factory</name>
178 <provider>/config/modules/module[name='timed-reconnect-strategy-factory']/instance[name='example-reconnect-strategy-factory']</provider>
182 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
184 <name>example-ipv4-topology</name>
185 <provider>/config/modules/module[name='bgp-reachability-ipv4']/instance[name='example-ipv4-topology']</provider>
189 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
191 <name>example-bgp-rib</name>
192 <provider>/config/modules/module[name='rib-impl']/instance[name='example-bgp-rib']</provider>
196 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-instance</type>
198 <name>example-bgp-rib</name>
199 <provider>/config/modules/module[name='rib-impl']/instance[name='example-bgp-rib']</provider>
203 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
205 <name>example-ipv6-topology</name>
206 <provider>/config/modules/module[name='bgp-reachability-ipv6']/instance[name='example-ipv6-topology']</provider>
210 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
212 <name>example-linkstate-topology</name>
213 <provider>/config/modules/module[name='bgp-linkstate-topology']/instance[name='example-linkstate-topology']</provider>