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=odl-bgp-rib-cfg&revision=2013-07-01</capability>
13 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi?module=odl-bgp-rib-spi-cfg&revision=2013-11-15</capability>
14 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=odl-bgp-rib-impl-cfg&revision=2013-04-09</capability>
15 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider?module=odl-bgp-topology-provider-cfg&revision=2013-11-15</capability>
16 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:reachability:ipv6?module=odl-bgp-treachability-ipv6-cfg&revision=2013-11-15</capability>
17 <capability>urn:opendaylight:params:xml:ns:yang:controller:bgp:reachability:ipv4?module=odl-bgp-treachability-ipv4-cfg&revision=2013-11-15</capability>
18 <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28</capability>
19 <capability>urn:opendaylight:params:xml:ns:yang:controller:netty?module=netty&revision=2013-11-19</capability>
20 <capability>urn:opendaylight:params:xml:ns:yang:controller:protocol:framework?module=protocol-framework&revision=2014-03-13</capability>
21 <capability>urn:opendaylight:params:xml:ns:yang:controller:topology?module=odl-topology-api-cfg&revision=2013-11-15</capability>
22 </required-capabilities>
25 <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
26 <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
28 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:timed-reconnect-strategy-factory</type>
29 <name>example-reconnect-strategy-factory</name>
30 <min-sleep>1000</min-sleep>
31 <max-sleep>180000</max-sleep>
32 <sleep-factor>2.00</sleep-factor>
33 <connect-time>5000</connect-time>
34 <timed-reconnect-executor>
35 <type xmlns:netty="urn:opendaylight:params:xml:ns:yang:controller:netty">netty:netty-event-executor</type>
36 <name>global-event-executor</name>
37 </timed-reconnect-executor>
41 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-acceptor</type>
42 <name>bgp-peer-server</name>
44 <!--Default parameters-->
45 <!--<binding-address>0.0.0.0</binding-address>-->
47 <!--Default binding-port 179-->
48 <binding-port>1790</binding-port>
50 <accepting-bgp-dispatcher>
51 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
52 <name>global-bgp-dispatcher</name>
53 </accepting-bgp-dispatcher>
54 <accepting-peer-registry>
55 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-registry</type>
56 <name>global-bgp-peer-registry</name>
57 </accepting-peer-registry>
62 A single BGP peer. Note this section is deactivated because a misconfigured peer
63 tends to log rather nasty error messages.
65 For TCP-MD5 support, make sure the dispatcher associated with the rib has
66 "md5-channel-factory" attribute set and then add a "password" attribute here.
67 Note that the peer has to have the same password configured, otherwise the
68 connection will not be established.
70 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer</type>
71 <name>example-bgp-peer</name>
72 <host>192.0.2.1</host>
73 <holdtimer>180</holdtimer>
75 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
76 <name>example-bgp-rib</name>
79 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-registry</type>
80 <name>global-bgp-peer-registry</name>
83 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
84 <name>ipv4-unicast</name>
87 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
88 <name>ipv6-unicast</name>
91 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
92 <name>linkstate</name>
98 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-impl</type>
99 <name>example-bgp-rib</name>
100 <rib-id>example-bgp-rib</rib-id>
101 <local-as>64496</local-as>
102 <bgp-rib-id>192.0.2.2</bgp-rib-id>
104 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
105 <name>ipv4-unicast</name>
108 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
109 <name>ipv6-unicast</name>
112 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-table-type</type>
113 <name>linkstate</name>
116 <type xmlns:ribspi="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">ribspi:extensions</type>
117 <name>global-rib-extensions</name>
120 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-dispatcher</type>
121 <name>global-bgp-dispatcher</name>
124 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
125 <name>pingpong-binding-data-broker</name>
127 <session-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 </session-reconnect-strategy>
131 <tcp-reconnect-strategy>
132 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:reconnect-strategy-factory</type>
133 <name>example-reconnect-strategy-factory</name>
134 </tcp-reconnect-strategy>
137 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:reachability:ipv4">prefix:bgp-reachability-ipv4</type>
138 <name>example-ipv4-topology</name>
140 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
141 <name>pingpong-binding-data-broker</name>
144 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
145 <name>example-bgp-rib</name>
147 <topology-id>example-ipv4-topology</topology-id>
150 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:reachability:ipv6">prefix:bgp-reachability-ipv6</type>
151 <name>example-ipv6-topology</name>
153 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
154 <name>pingpong-binding-data-broker</name>
157 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
158 <name>example-bgp-rib</name>
160 <topology-id>example-ipv6-topology</topology-id>
163 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider">prefix:bgp-linkstate-topology</type>
164 <name>example-linkstate-topology</name>
166 <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
167 <name>pingpong-binding-data-broker</name>
170 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
171 <name>example-bgp-rib</name>
173 <topology-id>example-linkstate-topology</topology-id>
177 <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
179 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:protocol:framework">prefix:reconnect-strategy-factory</type>
181 <name>example-reconnect-strategy-factory</name>
182 <provider>/config/modules/module[name='timed-reconnect-strategy-factory']/instance[name='example-reconnect-strategy-factory']</provider>
186 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
188 <name>example-ipv4-topology</name>
189 <provider>/config/modules/module[name='bgp-reachability-ipv4']/instance[name='example-ipv4-topology']</provider>
193 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:cfg">prefix:rib</type>
195 <name>example-bgp-rib</name>
196 <provider>/config/modules/module[name='rib-impl']/instance[name='example-bgp-rib']</provider>
200 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-instance</type>
202 <name>example-bgp-rib</name>
203 <provider>/config/modules/module[name='rib-impl']/instance[name='example-bgp-rib']</provider>
207 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
209 <name>example-ipv6-topology</name>
210 <provider>/config/modules/module[name='bgp-reachability-ipv6']/instance[name='example-ipv6-topology']</provider>
214 <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:topology">prefix:topology-reference</type>
216 <name>example-linkstate-topology</name>
217 <provider>/config/modules/module[name='bgp-linkstate-topology']/instance[name='example-linkstate-topology']</provider>