/src/frr/yang/frr-bgp.yang.c
Line | Count | Source |
1 | | /* autogenerated by embedmodel.py. DO NOT EDIT */ |
2 | | |
3 | | #include <zebra.h> |
4 | | #include "yang.h" |
5 | | |
6 | | static const char model[] = |
7 | | "// SPDX-License-Identifier: BSD-2-Clause\n" |
8 | | "module frr-bgp {\n" |
9 | | " yang-version 1.1;\n" |
10 | | " namespace \"http://frrouting.org/yang/bgp\";\n" |
11 | | " prefix frr-bgp;\n" |
12 | | "\n" |
13 | | " import frr-routing {\n" |
14 | | " prefix frr-rt;\n" |
15 | | " }\n" |
16 | | "\n" |
17 | | " import ietf-inet-types {\n" |
18 | | " prefix inet;\n" |
19 | | " }\n" |
20 | | "\n" |
21 | | " import frr-interface {\n" |
22 | | " prefix frr-interface;\n" |
23 | | " }\n" |
24 | | "\n" |
25 | | " import frr-bgp-types {\n" |
26 | | " prefix frr-bt;\n" |
27 | | " }\n" |
28 | | "\n" |
29 | | " import frr-route-types {\n" |
30 | | " prefix frr-route-types;\n" |
31 | | " }\n" |
32 | | "\n" |
33 | | " include \"frr-bgp-common\";\n" |
34 | | "\n" |
35 | | " include \"frr-bgp-common-structure\";\n" |
36 | | "\n" |
37 | | " include \"frr-bgp-common-multiprotocol\";\n" |
38 | | "\n" |
39 | | " include \"frr-bgp-neighbor\";\n" |
40 | | "\n" |
41 | | " include \"frr-bgp-peer-group\";\n" |
42 | | "\n" |
43 | | " include \"frr-bgp-bmp\";\n" |
44 | | "\n" |
45 | | " organization\n" |
46 | | " \"FRRouting\";\n" |
47 | | " contact\n" |
48 | | " \"FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development\n" |
49 | | " List: <mailto:dev@lists.frrouting.org>\";\n" |
50 | | " description\n" |
51 | | " \"This module defines a model for managing FRR bgpd daemon.\n" |
52 | | "\n" |
53 | | " Copyright 2020 FRRouting\n" |
54 | | "\n" |
55 | | " Redistribution and use in source and binary forms, with or without\n" |
56 | | " modification, are permitted provided that the following conditions\n" |
57 | | " are met:\n" |
58 | | "\n" |
59 | | " 1. Redistributions of source code must retain the above copyright notice,\n" |
60 | | " this list of conditions and the following disclaimer.\n" |
61 | | "\n" |
62 | | " 2. Redistributions in binary form must reproduce the above copyright\n" |
63 | | " notice, this list of conditions and the following disclaimer in the\n" |
64 | | " documentation and/or other materials provided with the distribution.\n" |
65 | | "\n" |
66 | | " THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n" |
67 | | " \\\"AS IS\\\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n" |
68 | | " LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n" |
69 | | " A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n" |
70 | | " HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n" |
71 | | " SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n" |
72 | | " LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n" |
73 | | " DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n" |
74 | | " THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n" |
75 | | " (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n" |
76 | | " OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\";\n" |
77 | | "\n" |
78 | | " revision 2019-12-03 {\n" |
79 | | " description\n" |
80 | | " \"Initial revision.\";\n" |
81 | | " }\n" |
82 | | "\n" |
83 | | " identity bgp {\n" |
84 | | " base frr-rt:routing-protocol;\n" |
85 | | " description\n" |
86 | | " \"BGP protocol.\";\n" |
87 | | " }\n" |
88 | | "\n" |
89 | | " grouping mp-afi-unicast-common {\n" |
90 | | " uses global-group-use-multiple-paths;\n" |
91 | | "\n" |
92 | | " uses global-redistribute;\n" |
93 | | "\n" |
94 | | " uses admin-distance;\n" |
95 | | " }\n" |
96 | | "\n" |
97 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol\" {\n" |
98 | | " container bgp {\n" |
99 | | " when \"../frr-rt:type = \'frr-bgp:bgp\'\" {\n" |
100 | | " description\n" |
101 | | " \"BGP protocol augmentation of ietf-routing module\n" |
102 | | " control-plane-protocol.\";\n" |
103 | | " }\n" |
104 | | " presence \"Enables configuration of BGP\";\n" |
105 | | " description\n" |
106 | | " \"Top-level configuration for the BGP router.\";\n" |
107 | | " container global {\n" |
108 | | " description\n" |
109 | | " \"Global configuration for the BGP router.\";\n" |
110 | | " leaf local-as {\n" |
111 | | " type inet:as-number;\n" |
112 | | " mandatory true;\n" |
113 | | " description\n" |
114 | | " \"Local autonomous system number of the router. Uses\n" |
115 | | " the 32-bit as-number type from the model in RFC 6991.\";\n" |
116 | | " }\n" |
117 | | "\n" |
118 | | " uses frr-rt:router-id;\n" |
119 | | "\n" |
120 | | " container confederation {\n" |
121 | | " description\n" |
122 | | " \"Configuration options specifying parameters when the\n" |
123 | | " local router is within an autonomous system which is\n" |
124 | | " part of a BGP confederation.\";\n" |
125 | | " leaf identifier {\n" |
126 | | " type inet:as-number;\n" |
127 | | " description\n" |
128 | | " \"Confederation identifier for the autonomous system.\";\n" |
129 | | " }\n" |
130 | | "\n" |
131 | | " leaf-list member-as {\n" |
132 | | " type inet:as-number;\n" |
133 | | " description\n" |
134 | | " \"Remote autonomous systems that are to be treated\n" |
135 | | " as part of the local confederation.\";\n" |
136 | | " }\n" |
137 | | " }\n" |
138 | | "\n" |
139 | | " uses med-config;\n" |
140 | | "\n" |
141 | | " uses route-reflector-config;\n" |
142 | | "\n" |
143 | | " uses route-selection-options;\n" |
144 | | "\n" |
145 | | " uses global-neighbor-config;\n" |
146 | | "\n" |
147 | | " container graceful-restart {\n" |
148 | | " description\n" |
149 | | " \"Parameters relating the graceful restart mechanism for\n" |
150 | | " BGP.\";\n" |
151 | | " uses graceful-restart-config;\n" |
152 | | " }\n" |
153 | | "\n" |
154 | | " uses global-update-group-config;\n" |
155 | | "\n" |
156 | | " uses global-config-timers;\n" |
157 | | "\n" |
158 | | " uses global-bgp-config;\n" |
159 | | "\n" |
160 | | " uses global-network-config;\n" |
161 | | "\n" |
162 | | " uses global-graceful-shutdown;\n" |
163 | | "\n" |
164 | | " uses global-bmp-config;\n" |
165 | | "\n" |
166 | | " container afi-safis {\n" |
167 | | " description\n" |
168 | | " \"List of address-families associated with the BGP\n" |
169 | | " instance.\";\n" |
170 | | " list afi-safi {\n" |
171 | | " key \"afi-safi-name\";\n" |
172 | | " description\n" |
173 | | " \"AFI, SAFI configuration available for the\n" |
174 | | " neighbour or group.\";\n" |
175 | | " uses mp-afi-safi-config;\n" |
176 | | "\n" |
177 | | " uses mp-all-afi-safi-list-contents;\n" |
178 | | " }\n" |
179 | | " }\n" |
180 | | " }\n" |
181 | | "\n" |
182 | | " container neighbors {\n" |
183 | | " description\n" |
184 | | " \"Configuration for BGP neighbors.\";\n" |
185 | | " list neighbor {\n" |
186 | | " key \"remote-address\";\n" |
187 | | " description\n" |
188 | | " \"List of BGP neighbors configured on the local system,\n" |
189 | | " uniquely identified by remote IPv[46] address.\";\n" |
190 | | " leaf remote-address {\n" |
191 | | " type inet:ip-address;\n" |
192 | | " description\n" |
193 | | " \"The remote IP address of this entry\'s BGP peer.\";\n" |
194 | | " }\n" |
195 | | "\n" |
196 | | " leaf local-interface {\n" |
197 | | " type frr-interface:interface-ref {\n" |
198 | | " require-instance false;\n" |
199 | | " }\n" |
200 | | " description\n" |
201 | | " \"Neighbor\'s interface name.\";\n" |
202 | | " }\n" |
203 | | "\n" |
204 | | " leaf local-port {\n" |
205 | | " type inet:port-number {\n" |
206 | | " range \"0..65535\";\n" |
207 | | " }\n" |
208 | | " description\n" |
209 | | " \"Neighbor\'s BGP TCP port number.\";\n" |
210 | | " }\n" |
211 | | "\n" |
212 | | " leaf peer-group {\n" |
213 | | " type leafref {\n" |
214 | | " path \"../../../peer-groups/peer-group/peer-group-name\";\n" |
215 | | " }\n" |
216 | | " description\n" |
217 | | " \"The peer-group with which this neighbor is associated.\";\n" |
218 | | " }\n" |
219 | | "\n" |
220 | | " container neighbor-remote-as {\n" |
221 | | " leaf remote-as-type {\n" |
222 | | " type frr-bt:as-type;\n" |
223 | | " mandatory true;\n" |
224 | | " description\n" |
225 | | " \"Remote AS type.\";\n" |
226 | | " }\n" |
227 | | "\n" |
228 | | " leaf remote-as {\n" |
229 | | " when \"../remote-as-type = \'as-specified\'\";\n" |
230 | | " type inet:as-number;\n" |
231 | | " description\n" |
232 | | " \"The remote autonomous system number received in\n" |
233 | | " the BGP OPEN message.\";\n" |
234 | | " reference\n" |
235 | | " \"RFC 4271\";\n" |
236 | | " }\n" |
237 | | " }\n" |
238 | | "\n" |
239 | | " uses neighbor-parameters;\n" |
240 | | "\n" |
241 | | " uses structure-neighbor-group-capability-options;\n" |
242 | | " }\n" |
243 | | "\n" |
244 | | " list unnumbered-neighbor {\n" |
245 | | " key \"interface\";\n" |
246 | | " description\n" |
247 | | " \"List of BGP neighbors configured on the local system,\n" |
248 | | " uniquely identified by interfaces.\";\n" |
249 | | " leaf interface {\n" |
250 | | " type frr-interface:interface-ref {\n" |
251 | | " require-instance false;\n" |
252 | | " }\n" |
253 | | " description\n" |
254 | | " \"The local interface of this entry\'s BGP peer.\";\n" |
255 | | " }\n" |
256 | | "\n" |
257 | | " leaf v6only {\n" |
258 | | " type boolean;\n" |
259 | | " default \"false\";\n" |
260 | | " description\n" |
261 | | " \"When set to \'true\' it will create a neighbor with v6\n" |
262 | | " link local only.\";\n" |
263 | | " }\n" |
264 | | "\n" |
265 | | " leaf peer-group {\n" |
266 | | " type leafref {\n" |
267 | | " path \"../../../peer-groups/peer-group/peer-group-name\";\n" |
268 | | " }\n" |
269 | | " description\n" |
270 | | " \"The peer-group with which this neighbor is associated.\";\n" |
271 | | " }\n" |
272 | | "\n" |
273 | | " uses neighbor-remote-as;\n" |
274 | | "\n" |
275 | | " uses neighbor-parameters;\n" |
276 | | "\n" |
277 | | " uses structure-neighbor-group-capability-options {\n" |
278 | | " refine \"frr-bgp:capability-options/extended-nexthop-capability\" {\n" |
279 | | " default \"true\";\n" |
280 | | " }\n" |
281 | | " }\n" |
282 | | " }\n" |
283 | | " }\n" |
284 | | "\n" |
285 | | " container peer-groups {\n" |
286 | | " description\n" |
287 | | " \"Configuration for BGP peer-groups.\";\n" |
288 | | " uses bgp-peer-group-list;\n" |
289 | | " }\n" |
290 | | " }\n" |
291 | | " }\n" |
292 | | "\n" |
293 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-unicast\" {\n" |
294 | | " list network-config {\n" |
295 | | " key \"prefix\";\n" |
296 | | " description\n" |
297 | | " \"A list of network routes.\";\n" |
298 | | " leaf prefix {\n" |
299 | | " type inet:ipv4-prefix;\n" |
300 | | " description\n" |
301 | | " \"IPv4 destination prefix.\";\n" |
302 | | " }\n" |
303 | | "\n" |
304 | | " leaf backdoor {\n" |
305 | | " type boolean;\n" |
306 | | " default \"false\";\n" |
307 | | " description\n" |
308 | | " \"Specify a BGP backdoor route.\";\n" |
309 | | " }\n" |
310 | | "\n" |
311 | | " uses mp-afi-safi-network-config;\n" |
312 | | " }\n" |
313 | | "\n" |
314 | | " list aggregate-route {\n" |
315 | | " key \"prefix\";\n" |
316 | | " description\n" |
317 | | " \"A list of aggregated routes.\";\n" |
318 | | " leaf prefix {\n" |
319 | | " type inet:ipv4-prefix;\n" |
320 | | " description\n" |
321 | | " \"IPv4 destination prefix.\";\n" |
322 | | " }\n" |
323 | | "\n" |
324 | | " uses mp-afi-safi-agg-route-config;\n" |
325 | | " }\n" |
326 | | "\n" |
327 | | " list admin-distance-route {\n" |
328 | | " key \"prefix\";\n" |
329 | | " description\n" |
330 | | " \"A list of routes with a particular admin distance.\";\n" |
331 | | " leaf prefix {\n" |
332 | | " type inet:ipv4-prefix;\n" |
333 | | " description\n" |
334 | | " \"IPv4 destination prefix.\";\n" |
335 | | " }\n" |
336 | | "\n" |
337 | | " uses distance-per-route-config;\n" |
338 | | " }\n" |
339 | | "\n" |
340 | | " uses route-flap-dampening;\n" |
341 | | "\n" |
342 | | " uses mp-afi-unicast-common;\n" |
343 | | "\n" |
344 | | " uses global-filter-config;\n" |
345 | | "\n" |
346 | | " uses global-afi-safi-vpn-config;\n" |
347 | | " }\n" |
348 | | "\n" |
349 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-unicast\" {\n" |
350 | | " list network-config {\n" |
351 | | " key \"prefix\";\n" |
352 | | " description\n" |
353 | | " \"A list of network routes.\";\n" |
354 | | " leaf prefix {\n" |
355 | | " type inet:ipv6-prefix;\n" |
356 | | " description\n" |
357 | | " \"IPv6 destination prefix.\";\n" |
358 | | " }\n" |
359 | | "\n" |
360 | | " leaf backdoor {\n" |
361 | | " type boolean;\n" |
362 | | " default \"false\";\n" |
363 | | " description\n" |
364 | | " \"Specify a BGP backdoor route.\";\n" |
365 | | " }\n" |
366 | | "\n" |
367 | | " uses mp-afi-safi-network-config;\n" |
368 | | " }\n" |
369 | | "\n" |
370 | | " list aggregate-route {\n" |
371 | | " key \"prefix\";\n" |
372 | | " description\n" |
373 | | " \"A list of aggregated routes.\";\n" |
374 | | " leaf prefix {\n" |
375 | | " type inet:ipv6-prefix;\n" |
376 | | " description\n" |
377 | | " \"IPv6 destination prefix.\";\n" |
378 | | " }\n" |
379 | | "\n" |
380 | | " uses mp-afi-safi-agg-route-config;\n" |
381 | | " }\n" |
382 | | "\n" |
383 | | " list admin-distance-route {\n" |
384 | | " key \"prefix\";\n" |
385 | | " description\n" |
386 | | " \"A list of routes with a particular admin distance.\";\n" |
387 | | " leaf prefix {\n" |
388 | | " type inet:ipv6-prefix;\n" |
389 | | " description\n" |
390 | | " \"IPv6 destination prefix.\";\n" |
391 | | " }\n" |
392 | | "\n" |
393 | | " uses distance-per-route-config;\n" |
394 | | " }\n" |
395 | | "\n" |
396 | | " uses route-flap-dampening;\n" |
397 | | "\n" |
398 | | " uses mp-afi-unicast-common;\n" |
399 | | "\n" |
400 | | " uses global-filter-config;\n" |
401 | | "\n" |
402 | | " uses global-afi-safi-vpn-config;\n" |
403 | | " }\n" |
404 | | "\n" |
405 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast\" {\n" |
406 | | " uses global-group-use-multiple-paths;\n" |
407 | | "\n" |
408 | | " uses route-flap-dampening;\n" |
409 | | " }\n" |
410 | | "\n" |
411 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast\" {\n" |
412 | | " uses global-group-use-multiple-paths;\n" |
413 | | "\n" |
414 | | " uses route-flap-dampening;\n" |
415 | | " }\n" |
416 | | "\n" |
417 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-multicast\" {\n" |
418 | | " list network-config {\n" |
419 | | " key \"prefix\";\n" |
420 | | " description\n" |
421 | | " \"A list of network routes.\";\n" |
422 | | " leaf prefix {\n" |
423 | | " type frr-route-types:ipv4-multicast-group-prefix;\n" |
424 | | " description\n" |
425 | | " \"IPv4 multicast destination prefix.\";\n" |
426 | | " }\n" |
427 | | "\n" |
428 | | " leaf backdoor {\n" |
429 | | " type boolean;\n" |
430 | | " default \"false\";\n" |
431 | | " description\n" |
432 | | " \"Specify a BGP backdoor route.\";\n" |
433 | | " }\n" |
434 | | "\n" |
435 | | " uses mp-afi-safi-network-config;\n" |
436 | | " }\n" |
437 | | "\n" |
438 | | " list aggregate-route {\n" |
439 | | " key \"prefix\";\n" |
440 | | " description\n" |
441 | | " \"A list of aggregated routes.\";\n" |
442 | | " leaf prefix {\n" |
443 | | " type frr-route-types:ipv4-multicast-group-prefix;\n" |
444 | | " description\n" |
445 | | " \"IPv4 multicast destination prefix.\";\n" |
446 | | " }\n" |
447 | | "\n" |
448 | | " uses mp-afi-safi-agg-route-config;\n" |
449 | | " }\n" |
450 | | "\n" |
451 | | " list admin-distance-route {\n" |
452 | | " key \"prefix\";\n" |
453 | | " description\n" |
454 | | " \"A list of routes with a particular admin distance.\";\n" |
455 | | " leaf prefix {\n" |
456 | | " type frr-route-types:ipv4-multicast-group-prefix;\n" |
457 | | " description\n" |
458 | | " \"IPv4 multicast destination prefix.\";\n" |
459 | | " }\n" |
460 | | "\n" |
461 | | " uses distance-per-route-config;\n" |
462 | | " }\n" |
463 | | "\n" |
464 | | " uses admin-distance;\n" |
465 | | "\n" |
466 | | " uses route-flap-dampening;\n" |
467 | | "\n" |
468 | | " uses global-filter-config;\n" |
469 | | " }\n" |
470 | | "\n" |
471 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-multicast\" {\n" |
472 | | " list network-config {\n" |
473 | | " key \"prefix\";\n" |
474 | | " description\n" |
475 | | " \"A list of network routes.\";\n" |
476 | | " leaf prefix {\n" |
477 | | " type frr-route-types:ipv6-multicast-group-prefix;\n" |
478 | | " description\n" |
479 | | " \"IPv6 multicast destination prefix.\";\n" |
480 | | " }\n" |
481 | | "\n" |
482 | | " leaf backdoor {\n" |
483 | | " type boolean;\n" |
484 | | " default \"false\";\n" |
485 | | " description\n" |
486 | | " \"Specify a BGP backdoor route.\";\n" |
487 | | " }\n" |
488 | | "\n" |
489 | | " uses mp-afi-safi-network-config;\n" |
490 | | " }\n" |
491 | | "\n" |
492 | | " list aggregate-route {\n" |
493 | | " key \"prefix\";\n" |
494 | | " description\n" |
495 | | " \"A list of aggregated routes.\";\n" |
496 | | " leaf prefix {\n" |
497 | | " type frr-route-types:ipv6-multicast-group-prefix;\n" |
498 | | " description\n" |
499 | | " \"IPv6 multicast destination prefix.\";\n" |
500 | | " }\n" |
501 | | "\n" |
502 | | " uses mp-afi-safi-agg-route-config;\n" |
503 | | " }\n" |
504 | | "\n" |
505 | | " list admin-distance-route {\n" |
506 | | " key \"prefix\";\n" |
507 | | " description\n" |
508 | | " \"A list of routes with a particular admin distance.\";\n" |
509 | | " leaf prefix {\n" |
510 | | " type frr-route-types:ipv6-multicast-group-prefix;\n" |
511 | | " description\n" |
512 | | " \"IPv6 multicast destination prefix.\";\n" |
513 | | " }\n" |
514 | | "\n" |
515 | | " uses distance-per-route-config;\n" |
516 | | " }\n" |
517 | | "\n" |
518 | | " uses route-flap-dampening;\n" |
519 | | "\n" |
520 | | " uses admin-distance;\n" |
521 | | " }\n" |
522 | | "\n" |
523 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-flowspec\" {\n" |
524 | | " uses flow-spec-config;\n" |
525 | | " }\n" |
526 | | "\n" |
527 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast\" {\n" |
528 | | " uses global-afi-safi-vpn-network-config;\n" |
529 | | " }\n" |
530 | | "\n" |
531 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast\" {\n" |
532 | | " uses global-afi-safi-vpn-network-config;\n" |
533 | | " }\n" |
534 | | "\n" |
535 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv4-unicast\" {\n" |
536 | | " uses bmp-afi-safi-common-config;\n" |
537 | | " }\n" |
538 | | "\n" |
539 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv4-multicast\" {\n" |
540 | | " uses bmp-afi-safi-common-config;\n" |
541 | | " }\n" |
542 | | "\n" |
543 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv6-unicast\" {\n" |
544 | | " uses bmp-afi-safi-common-config;\n" |
545 | | " }\n" |
546 | | "\n" |
547 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv6-multicast\" {\n" |
548 | | " uses bmp-afi-safi-common-config;\n" |
549 | | " }\n" |
550 | | "\n" |
551 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast\" {\n" |
552 | | " uses structure-neighbor-group-add-paths;\n" |
553 | | "\n" |
554 | | " uses structure-neighbor-group-as-path-options;\n" |
555 | | "\n" |
556 | | " uses structure-neighbor-default-originate-options;\n" |
557 | | "\n" |
558 | | " uses structure-neighbor-prefix-limit;\n" |
559 | | "\n" |
560 | | " uses structure-neighbor-nexthop-self;\n" |
561 | | "\n" |
562 | | " uses structure-neighbor-private-as;\n" |
563 | | "\n" |
564 | | " uses structure-neighbor-weight;\n" |
565 | | "\n" |
566 | | " uses structure-neighbor-route-reflector;\n" |
567 | | "\n" |
568 | | " uses structure-neighbor-route-server;\n" |
569 | | "\n" |
570 | | " uses structure-neighbor-send-community;\n" |
571 | | "\n" |
572 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
573 | | "\n" |
574 | | " uses structure-neighbor-group-attr-unchanged;\n" |
575 | | "\n" |
576 | | " uses structure-neighbor-group-orf-capability;\n" |
577 | | "\n" |
578 | | " uses structure-neighbor-group-filter-config;\n" |
579 | | " }\n" |
580 | | "\n" |
581 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast\" {\n" |
582 | | " leaf nexthop-local-unchanged {\n" |
583 | | " type boolean;\n" |
584 | | " default \"false\";\n" |
585 | | " description\n" |
586 | | " \"Configure treatment of outgoing link-local nexthop attribute.\n" |
587 | | " When set to \'true\' it leaves link-local nexthop unchanged\n" |
588 | | " for this peer.\";\n" |
589 | | " }\n" |
590 | | "\n" |
591 | | " uses structure-neighbor-group-add-paths;\n" |
592 | | "\n" |
593 | | " uses structure-neighbor-group-as-path-options;\n" |
594 | | "\n" |
595 | | " uses structure-neighbor-default-originate-options;\n" |
596 | | "\n" |
597 | | " uses structure-neighbor-group-attr-unchanged;\n" |
598 | | "\n" |
599 | | " uses structure-neighbor-group-orf-capability;\n" |
600 | | "\n" |
601 | | " uses structure-neighbor-prefix-limit;\n" |
602 | | "\n" |
603 | | " uses structure-neighbor-nexthop-self;\n" |
604 | | "\n" |
605 | | " uses structure-neighbor-private-as;\n" |
606 | | "\n" |
607 | | " uses structure-neighbor-route-reflector;\n" |
608 | | "\n" |
609 | | " uses structure-neighbor-route-server;\n" |
610 | | "\n" |
611 | | " uses structure-neighbor-send-community;\n" |
612 | | "\n" |
613 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
614 | | "\n" |
615 | | " uses structure-neighbor-weight;\n" |
616 | | "\n" |
617 | | " uses structure-neighbor-group-filter-config;\n" |
618 | | " }\n" |
619 | | "\n" |
620 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast\" {\n" |
621 | | " uses structure-neighbor-group-add-paths;\n" |
622 | | "\n" |
623 | | " uses structure-neighbor-group-as-path-options;\n" |
624 | | "\n" |
625 | | " uses structure-neighbor-default-originate-options;\n" |
626 | | "\n" |
627 | | " uses structure-neighbor-group-attr-unchanged;\n" |
628 | | "\n" |
629 | | " uses structure-neighbor-group-orf-capability;\n" |
630 | | "\n" |
631 | | " uses structure-neighbor-prefix-limit;\n" |
632 | | "\n" |
633 | | " uses structure-neighbor-nexthop-self;\n" |
634 | | "\n" |
635 | | " uses structure-neighbor-private-as;\n" |
636 | | "\n" |
637 | | " uses structure-neighbor-route-reflector;\n" |
638 | | "\n" |
639 | | " uses structure-neighbor-route-server;\n" |
640 | | "\n" |
641 | | " uses structure-neighbor-send-community;\n" |
642 | | "\n" |
643 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
644 | | "\n" |
645 | | " uses structure-neighbor-weight;\n" |
646 | | "\n" |
647 | | " uses structure-neighbor-group-filter-config;\n" |
648 | | " }\n" |
649 | | "\n" |
650 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast\" {\n" |
651 | | " uses structure-neighbor-group-add-paths;\n" |
652 | | "\n" |
653 | | " uses structure-neighbor-group-as-path-options;\n" |
654 | | "\n" |
655 | | " uses structure-neighbor-default-originate-options;\n" |
656 | | "\n" |
657 | | " uses structure-neighbor-group-attr-unchanged;\n" |
658 | | "\n" |
659 | | " uses structure-neighbor-group-orf-capability;\n" |
660 | | "\n" |
661 | | " uses structure-neighbor-prefix-limit;\n" |
662 | | "\n" |
663 | | " uses structure-neighbor-nexthop-self;\n" |
664 | | "\n" |
665 | | " uses structure-neighbor-private-as;\n" |
666 | | "\n" |
667 | | " uses structure-neighbor-route-reflector;\n" |
668 | | "\n" |
669 | | " uses structure-neighbor-route-server;\n" |
670 | | "\n" |
671 | | " uses structure-neighbor-send-community;\n" |
672 | | "\n" |
673 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
674 | | "\n" |
675 | | " uses structure-neighbor-weight;\n" |
676 | | "\n" |
677 | | " uses structure-neighbor-group-filter-config;\n" |
678 | | " }\n" |
679 | | "\n" |
680 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast\" {\n" |
681 | | " uses structure-neighbor-group-add-paths;\n" |
682 | | "\n" |
683 | | " uses structure-neighbor-group-as-path-options;\n" |
684 | | "\n" |
685 | | " uses structure-neighbor-default-originate-options;\n" |
686 | | "\n" |
687 | | " uses structure-neighbor-group-attr-unchanged;\n" |
688 | | "\n" |
689 | | " uses structure-neighbor-group-orf-capability;\n" |
690 | | "\n" |
691 | | " uses structure-neighbor-prefix-limit;\n" |
692 | | "\n" |
693 | | " uses structure-neighbor-nexthop-self;\n" |
694 | | "\n" |
695 | | " uses structure-neighbor-private-as;\n" |
696 | | "\n" |
697 | | " uses structure-neighbor-route-reflector;\n" |
698 | | "\n" |
699 | | " uses structure-neighbor-route-server;\n" |
700 | | "\n" |
701 | | " uses structure-neighbor-send-community;\n" |
702 | | "\n" |
703 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
704 | | "\n" |
705 | | " uses structure-neighbor-weight;\n" |
706 | | "\n" |
707 | | " uses structure-neighbor-group-filter-config;\n" |
708 | | " }\n" |
709 | | "\n" |
710 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast\" {\n" |
711 | | " uses structure-neighbor-group-add-paths;\n" |
712 | | "\n" |
713 | | " uses structure-neighbor-group-as-path-options;\n" |
714 | | "\n" |
715 | | " uses structure-neighbor-default-originate-options;\n" |
716 | | "\n" |
717 | | " uses structure-neighbor-group-attr-unchanged;\n" |
718 | | "\n" |
719 | | " uses structure-neighbor-group-orf-capability;\n" |
720 | | "\n" |
721 | | " uses structure-neighbor-prefix-limit;\n" |
722 | | "\n" |
723 | | " uses structure-neighbor-nexthop-self;\n" |
724 | | "\n" |
725 | | " uses structure-neighbor-private-as;\n" |
726 | | "\n" |
727 | | " uses structure-neighbor-route-reflector;\n" |
728 | | "\n" |
729 | | " uses structure-neighbor-route-server;\n" |
730 | | "\n" |
731 | | " uses structure-neighbor-send-community;\n" |
732 | | "\n" |
733 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
734 | | "\n" |
735 | | " uses structure-neighbor-weight;\n" |
736 | | "\n" |
737 | | " uses structure-neighbor-group-filter-config;\n" |
738 | | " }\n" |
739 | | "\n" |
740 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast\" {\n" |
741 | | " uses structure-neighbor-group-add-paths;\n" |
742 | | "\n" |
743 | | " uses structure-neighbor-group-as-path-options;\n" |
744 | | "\n" |
745 | | " uses structure-neighbor-group-attr-unchanged;\n" |
746 | | "\n" |
747 | | " uses structure-neighbor-prefix-limit;\n" |
748 | | "\n" |
749 | | " uses structure-neighbor-nexthop-self;\n" |
750 | | "\n" |
751 | | " uses structure-neighbor-private-as;\n" |
752 | | "\n" |
753 | | " uses structure-neighbor-route-reflector;\n" |
754 | | "\n" |
755 | | " uses structure-neighbor-route-server;\n" |
756 | | "\n" |
757 | | " uses structure-neighbor-send-community;\n" |
758 | | "\n" |
759 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
760 | | "\n" |
761 | | " uses structure-neighbor-weight;\n" |
762 | | "\n" |
763 | | " uses structure-neighbor-group-filter-config;\n" |
764 | | " }\n" |
765 | | "\n" |
766 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast\" {\n" |
767 | | " uses structure-neighbor-group-add-paths;\n" |
768 | | "\n" |
769 | | " uses structure-neighbor-group-as-path-options;\n" |
770 | | "\n" |
771 | | " uses structure-neighbor-group-attr-unchanged;\n" |
772 | | "\n" |
773 | | " uses structure-neighbor-prefix-limit;\n" |
774 | | "\n" |
775 | | " uses structure-neighbor-nexthop-self;\n" |
776 | | "\n" |
777 | | " uses structure-neighbor-private-as;\n" |
778 | | "\n" |
779 | | " uses structure-neighbor-route-reflector;\n" |
780 | | "\n" |
781 | | " uses structure-neighbor-route-server;\n" |
782 | | "\n" |
783 | | " uses structure-neighbor-send-community;\n" |
784 | | "\n" |
785 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
786 | | "\n" |
787 | | " uses structure-neighbor-weight;\n" |
788 | | "\n" |
789 | | " uses structure-neighbor-group-filter-config;\n" |
790 | | " }\n" |
791 | | "\n" |
792 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn\" {\n" |
793 | | " uses structure-neighbor-group-as-path-options;\n" |
794 | | "\n" |
795 | | " uses structure-neighbor-group-attr-unchanged;\n" |
796 | | "\n" |
797 | | " uses structure-neighbor-nexthop-self;\n" |
798 | | "\n" |
799 | | " uses structure-neighbor-route-reflector;\n" |
800 | | "\n" |
801 | | " uses structure-neighbor-route-server;\n" |
802 | | "\n" |
803 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
804 | | "\n" |
805 | | " uses structure-neighbor-group-filter-config;\n" |
806 | | " }\n" |
807 | | "\n" |
808 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec\" {\n" |
809 | | " uses structure-neighbor-route-reflector;\n" |
810 | | "\n" |
811 | | " uses structure-neighbor-route-server;\n" |
812 | | "\n" |
813 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
814 | | "\n" |
815 | | " uses structure-neighbor-group-filter-config;\n" |
816 | | " }\n" |
817 | | "\n" |
818 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec\" {\n" |
819 | | " uses structure-neighbor-route-reflector;\n" |
820 | | "\n" |
821 | | " uses structure-neighbor-route-server;\n" |
822 | | "\n" |
823 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
824 | | "\n" |
825 | | " uses structure-neighbor-group-filter-config;\n" |
826 | | " }\n" |
827 | | "\n" |
828 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast\" {\n" |
829 | | " uses structure-neighbor-group-add-paths;\n" |
830 | | "\n" |
831 | | " uses structure-neighbor-group-as-path-options;\n" |
832 | | "\n" |
833 | | " uses structure-neighbor-default-originate-options;\n" |
834 | | "\n" |
835 | | " uses structure-neighbor-prefix-limit;\n" |
836 | | "\n" |
837 | | " uses structure-neighbor-nexthop-self;\n" |
838 | | "\n" |
839 | | " uses structure-neighbor-private-as;\n" |
840 | | "\n" |
841 | | " uses structure-neighbor-weight;\n" |
842 | | "\n" |
843 | | " uses structure-neighbor-route-reflector;\n" |
844 | | "\n" |
845 | | " uses structure-neighbor-route-server;\n" |
846 | | "\n" |
847 | | " uses structure-neighbor-send-community;\n" |
848 | | "\n" |
849 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
850 | | "\n" |
851 | | " uses structure-neighbor-group-attr-unchanged;\n" |
852 | | "\n" |
853 | | " uses structure-neighbor-group-orf-capability;\n" |
854 | | "\n" |
855 | | " uses structure-neighbor-group-filter-config;\n" |
856 | | " }\n" |
857 | | "\n" |
858 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast\" {\n" |
859 | | " leaf nexthop-local-unchanged {\n" |
860 | | " type boolean;\n" |
861 | | " default \"false\";\n" |
862 | | " description\n" |
863 | | " \"Configure treatment of outgoing link-local nexthop attribute.\n" |
864 | | " When set to \'true\' it leaves link-local nexthop unchanged\n" |
865 | | " for this peer.\";\n" |
866 | | " }\n" |
867 | | "\n" |
868 | | " uses structure-neighbor-group-add-paths;\n" |
869 | | "\n" |
870 | | " uses structure-neighbor-group-as-path-options;\n" |
871 | | "\n" |
872 | | " uses structure-neighbor-default-originate-options;\n" |
873 | | "\n" |
874 | | " uses structure-neighbor-group-attr-unchanged;\n" |
875 | | "\n" |
876 | | " uses structure-neighbor-group-orf-capability;\n" |
877 | | "\n" |
878 | | " uses structure-neighbor-prefix-limit;\n" |
879 | | "\n" |
880 | | " uses structure-neighbor-nexthop-self;\n" |
881 | | "\n" |
882 | | " uses structure-neighbor-private-as;\n" |
883 | | "\n" |
884 | | " uses structure-neighbor-route-reflector;\n" |
885 | | "\n" |
886 | | " uses structure-neighbor-route-server;\n" |
887 | | "\n" |
888 | | " uses structure-neighbor-send-community;\n" |
889 | | "\n" |
890 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
891 | | "\n" |
892 | | " uses structure-neighbor-weight;\n" |
893 | | "\n" |
894 | | " uses structure-neighbor-group-filter-config;\n" |
895 | | " }\n" |
896 | | "\n" |
897 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast\" {\n" |
898 | | " uses structure-neighbor-group-add-paths;\n" |
899 | | "\n" |
900 | | " uses structure-neighbor-group-as-path-options;\n" |
901 | | "\n" |
902 | | " uses structure-neighbor-default-originate-options;\n" |
903 | | "\n" |
904 | | " uses structure-neighbor-group-attr-unchanged;\n" |
905 | | "\n" |
906 | | " uses structure-neighbor-group-orf-capability;\n" |
907 | | "\n" |
908 | | " uses structure-neighbor-prefix-limit;\n" |
909 | | "\n" |
910 | | " uses structure-neighbor-nexthop-self;\n" |
911 | | "\n" |
912 | | " uses structure-neighbor-private-as;\n" |
913 | | "\n" |
914 | | " uses structure-neighbor-route-reflector;\n" |
915 | | "\n" |
916 | | " uses structure-neighbor-route-server;\n" |
917 | | "\n" |
918 | | " uses structure-neighbor-send-community;\n" |
919 | | "\n" |
920 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
921 | | "\n" |
922 | | " uses structure-neighbor-weight;\n" |
923 | | "\n" |
924 | | " uses structure-neighbor-group-filter-config;\n" |
925 | | " }\n" |
926 | | "\n" |
927 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast\" {\n" |
928 | | " uses structure-neighbor-group-add-paths;\n" |
929 | | "\n" |
930 | | " uses structure-neighbor-group-as-path-options;\n" |
931 | | "\n" |
932 | | " uses structure-neighbor-default-originate-options;\n" |
933 | | "\n" |
934 | | " uses structure-neighbor-group-attr-unchanged;\n" |
935 | | "\n" |
936 | | " uses structure-neighbor-group-orf-capability;\n" |
937 | | "\n" |
938 | | " uses structure-neighbor-prefix-limit;\n" |
939 | | "\n" |
940 | | " uses structure-neighbor-nexthop-self;\n" |
941 | | "\n" |
942 | | " uses structure-neighbor-private-as;\n" |
943 | | "\n" |
944 | | " uses structure-neighbor-route-reflector;\n" |
945 | | "\n" |
946 | | " uses structure-neighbor-route-server;\n" |
947 | | "\n" |
948 | | " uses structure-neighbor-send-community;\n" |
949 | | "\n" |
950 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
951 | | "\n" |
952 | | " uses structure-neighbor-weight;\n" |
953 | | "\n" |
954 | | " uses structure-neighbor-group-filter-config;\n" |
955 | | " }\n" |
956 | | "\n" |
957 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast\" {\n" |
958 | | " uses structure-neighbor-group-add-paths;\n" |
959 | | "\n" |
960 | | " uses structure-neighbor-group-as-path-options;\n" |
961 | | "\n" |
962 | | " uses structure-neighbor-default-originate-options;\n" |
963 | | "\n" |
964 | | " uses structure-neighbor-group-attr-unchanged;\n" |
965 | | "\n" |
966 | | " uses structure-neighbor-group-orf-capability;\n" |
967 | | "\n" |
968 | | " uses structure-neighbor-prefix-limit;\n" |
969 | | "\n" |
970 | | " uses structure-neighbor-nexthop-self;\n" |
971 | | "\n" |
972 | | " uses structure-neighbor-private-as;\n" |
973 | | "\n" |
974 | | " uses structure-neighbor-route-reflector;\n" |
975 | | "\n" |
976 | | " uses structure-neighbor-route-server;\n" |
977 | | "\n" |
978 | | " uses structure-neighbor-send-community;\n" |
979 | | "\n" |
980 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
981 | | "\n" |
982 | | " uses structure-neighbor-weight;\n" |
983 | | "\n" |
984 | | " uses structure-neighbor-group-filter-config;\n" |
985 | | " }\n" |
986 | | "\n" |
987 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast\" {\n" |
988 | | " uses structure-neighbor-group-add-paths;\n" |
989 | | "\n" |
990 | | " uses structure-neighbor-group-as-path-options;\n" |
991 | | "\n" |
992 | | " uses structure-neighbor-default-originate-options;\n" |
993 | | "\n" |
994 | | " uses structure-neighbor-group-attr-unchanged;\n" |
995 | | "\n" |
996 | | " uses structure-neighbor-group-orf-capability;\n" |
997 | | "\n" |
998 | | " uses structure-neighbor-prefix-limit;\n" |
999 | | "\n" |
1000 | | " uses structure-neighbor-nexthop-self;\n" |
1001 | | "\n" |
1002 | | " uses structure-neighbor-private-as;\n" |
1003 | | "\n" |
1004 | | " uses structure-neighbor-route-reflector;\n" |
1005 | | "\n" |
1006 | | " uses structure-neighbor-route-server;\n" |
1007 | | "\n" |
1008 | | " uses structure-neighbor-send-community;\n" |
1009 | | "\n" |
1010 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1011 | | "\n" |
1012 | | " uses structure-neighbor-weight;\n" |
1013 | | " }\n" |
1014 | | "\n" |
1015 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast\" {\n" |
1016 | | " uses structure-neighbor-group-add-paths;\n" |
1017 | | "\n" |
1018 | | " uses structure-neighbor-group-as-path-options;\n" |
1019 | | "\n" |
1020 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1021 | | "\n" |
1022 | | " uses structure-neighbor-prefix-limit;\n" |
1023 | | "\n" |
1024 | | " uses structure-neighbor-nexthop-self;\n" |
1025 | | "\n" |
1026 | | " uses structure-neighbor-private-as;\n" |
1027 | | "\n" |
1028 | | " uses structure-neighbor-route-reflector;\n" |
1029 | | "\n" |
1030 | | " uses structure-neighbor-route-server;\n" |
1031 | | "\n" |
1032 | | " uses structure-neighbor-send-community;\n" |
1033 | | "\n" |
1034 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1035 | | "\n" |
1036 | | " uses structure-neighbor-weight;\n" |
1037 | | " }\n" |
1038 | | "\n" |
1039 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast\" {\n" |
1040 | | " uses structure-neighbor-group-add-paths;\n" |
1041 | | "\n" |
1042 | | " uses structure-neighbor-group-as-path-options;\n" |
1043 | | "\n" |
1044 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1045 | | "\n" |
1046 | | " uses structure-neighbor-prefix-limit;\n" |
1047 | | "\n" |
1048 | | " uses structure-neighbor-nexthop-self;\n" |
1049 | | "\n" |
1050 | | " uses structure-neighbor-private-as;\n" |
1051 | | "\n" |
1052 | | " uses structure-neighbor-route-reflector;\n" |
1053 | | "\n" |
1054 | | " uses structure-neighbor-route-server;\n" |
1055 | | "\n" |
1056 | | " uses structure-neighbor-send-community;\n" |
1057 | | "\n" |
1058 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1059 | | "\n" |
1060 | | " uses structure-neighbor-weight;\n" |
1061 | | " }\n" |
1062 | | "\n" |
1063 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn\" {\n" |
1064 | | " uses structure-neighbor-group-as-path-options;\n" |
1065 | | "\n" |
1066 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1067 | | "\n" |
1068 | | " uses structure-neighbor-nexthop-self;\n" |
1069 | | "\n" |
1070 | | " uses structure-neighbor-route-reflector;\n" |
1071 | | "\n" |
1072 | | " uses structure-neighbor-route-server;\n" |
1073 | | "\n" |
1074 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1075 | | "\n" |
1076 | | " uses structure-neighbor-group-filter-config;\n" |
1077 | | " }\n" |
1078 | | "\n" |
1079 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec\" {\n" |
1080 | | " uses structure-neighbor-route-reflector;\n" |
1081 | | "\n" |
1082 | | " uses structure-neighbor-route-server;\n" |
1083 | | "\n" |
1084 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1085 | | "\n" |
1086 | | " uses structure-neighbor-group-filter-config;\n" |
1087 | | " }\n" |
1088 | | "\n" |
1089 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec\" {\n" |
1090 | | " uses structure-neighbor-route-reflector;\n" |
1091 | | "\n" |
1092 | | " uses structure-neighbor-route-server;\n" |
1093 | | "\n" |
1094 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1095 | | "\n" |
1096 | | " uses structure-neighbor-group-filter-config;\n" |
1097 | | " }\n" |
1098 | | "\n" |
1099 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast\" {\n" |
1100 | | " uses structure-neighbor-group-add-paths;\n" |
1101 | | "\n" |
1102 | | " uses structure-neighbor-group-as-path-options;\n" |
1103 | | "\n" |
1104 | | " uses structure-neighbor-default-originate-options;\n" |
1105 | | "\n" |
1106 | | " uses structure-neighbor-prefix-limit;\n" |
1107 | | "\n" |
1108 | | " uses structure-neighbor-nexthop-self;\n" |
1109 | | "\n" |
1110 | | " uses structure-neighbor-private-as;\n" |
1111 | | "\n" |
1112 | | " uses structure-neighbor-weight;\n" |
1113 | | "\n" |
1114 | | " uses structure-neighbor-route-reflector;\n" |
1115 | | "\n" |
1116 | | " uses structure-neighbor-route-server;\n" |
1117 | | "\n" |
1118 | | " uses structure-neighbor-send-community;\n" |
1119 | | "\n" |
1120 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1121 | | "\n" |
1122 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1123 | | "\n" |
1124 | | " uses structure-neighbor-group-orf-capability;\n" |
1125 | | "\n" |
1126 | | " uses structure-neighbor-group-filter-config;\n" |
1127 | | " }\n" |
1128 | | "\n" |
1129 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast\" {\n" |
1130 | | " leaf nexthop-local-unchanged {\n" |
1131 | | " type boolean;\n" |
1132 | | " default \"false\";\n" |
1133 | | " description\n" |
1134 | | " \"Configure treatment of outgoing link-local nexthop attribute.\n" |
1135 | | " When set to \'true\' it leaves link-local nexthop unchanged\n" |
1136 | | " for this peer.\";\n" |
1137 | | " }\n" |
1138 | | "\n" |
1139 | | " uses structure-neighbor-group-add-paths;\n" |
1140 | | "\n" |
1141 | | " uses structure-neighbor-group-as-path-options;\n" |
1142 | | "\n" |
1143 | | " uses structure-neighbor-default-originate-options;\n" |
1144 | | "\n" |
1145 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1146 | | "\n" |
1147 | | " uses structure-neighbor-group-orf-capability;\n" |
1148 | | "\n" |
1149 | | " uses structure-neighbor-prefix-limit;\n" |
1150 | | "\n" |
1151 | | " uses structure-neighbor-nexthop-self;\n" |
1152 | | "\n" |
1153 | | " uses structure-neighbor-private-as;\n" |
1154 | | "\n" |
1155 | | " uses structure-neighbor-route-reflector;\n" |
1156 | | "\n" |
1157 | | " uses structure-neighbor-route-server;\n" |
1158 | | "\n" |
1159 | | " uses structure-neighbor-send-community;\n" |
1160 | | "\n" |
1161 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1162 | | "\n" |
1163 | | " uses structure-neighbor-weight;\n" |
1164 | | "\n" |
1165 | | " uses structure-neighbor-group-filter-config;\n" |
1166 | | " }\n" |
1167 | | "\n" |
1168 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast\" {\n" |
1169 | | " uses structure-neighbor-group-add-paths;\n" |
1170 | | "\n" |
1171 | | " uses structure-neighbor-group-as-path-options;\n" |
1172 | | "\n" |
1173 | | " uses structure-neighbor-default-originate-options;\n" |
1174 | | "\n" |
1175 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1176 | | "\n" |
1177 | | " uses structure-neighbor-group-orf-capability;\n" |
1178 | | "\n" |
1179 | | " uses structure-neighbor-prefix-limit;\n" |
1180 | | "\n" |
1181 | | " uses structure-neighbor-nexthop-self;\n" |
1182 | | "\n" |
1183 | | " uses structure-neighbor-private-as;\n" |
1184 | | "\n" |
1185 | | " uses structure-neighbor-route-reflector;\n" |
1186 | | "\n" |
1187 | | " uses structure-neighbor-route-server;\n" |
1188 | | "\n" |
1189 | | " uses structure-neighbor-send-community;\n" |
1190 | | "\n" |
1191 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1192 | | "\n" |
1193 | | " uses structure-neighbor-weight;\n" |
1194 | | "\n" |
1195 | | " uses structure-neighbor-group-filter-config;\n" |
1196 | | " }\n" |
1197 | | "\n" |
1198 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast\" {\n" |
1199 | | " uses structure-neighbor-group-add-paths;\n" |
1200 | | "\n" |
1201 | | " uses structure-neighbor-group-as-path-options;\n" |
1202 | | "\n" |
1203 | | " uses structure-neighbor-default-originate-options;\n" |
1204 | | "\n" |
1205 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1206 | | "\n" |
1207 | | " uses structure-neighbor-group-orf-capability;\n" |
1208 | | "\n" |
1209 | | " uses structure-neighbor-prefix-limit;\n" |
1210 | | "\n" |
1211 | | " uses structure-neighbor-nexthop-self;\n" |
1212 | | "\n" |
1213 | | " uses structure-neighbor-private-as;\n" |
1214 | | "\n" |
1215 | | " uses structure-neighbor-route-reflector;\n" |
1216 | | "\n" |
1217 | | " uses structure-neighbor-route-server;\n" |
1218 | | "\n" |
1219 | | " uses structure-neighbor-send-community;\n" |
1220 | | "\n" |
1221 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1222 | | "\n" |
1223 | | " uses structure-neighbor-weight;\n" |
1224 | | "\n" |
1225 | | " uses structure-neighbor-group-filter-config;\n" |
1226 | | " }\n" |
1227 | | "\n" |
1228 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast\" {\n" |
1229 | | " uses structure-neighbor-group-add-paths;\n" |
1230 | | "\n" |
1231 | | " uses structure-neighbor-group-as-path-options;\n" |
1232 | | "\n" |
1233 | | " uses structure-neighbor-default-originate-options;\n" |
1234 | | "\n" |
1235 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1236 | | "\n" |
1237 | | " uses structure-neighbor-group-orf-capability;\n" |
1238 | | "\n" |
1239 | | " uses structure-neighbor-prefix-limit;\n" |
1240 | | "\n" |
1241 | | " uses structure-neighbor-nexthop-self;\n" |
1242 | | "\n" |
1243 | | " uses structure-neighbor-private-as;\n" |
1244 | | "\n" |
1245 | | " uses structure-neighbor-route-reflector;\n" |
1246 | | "\n" |
1247 | | " uses structure-neighbor-route-server;\n" |
1248 | | "\n" |
1249 | | " uses structure-neighbor-send-community;\n" |
1250 | | "\n" |
1251 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1252 | | "\n" |
1253 | | " uses structure-neighbor-weight;\n" |
1254 | | "\n" |
1255 | | " uses structure-neighbor-group-filter-config;\n" |
1256 | | " }\n" |
1257 | | "\n" |
1258 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast\" {\n" |
1259 | | " uses structure-neighbor-group-add-paths;\n" |
1260 | | "\n" |
1261 | | " uses structure-neighbor-group-as-path-options;\n" |
1262 | | "\n" |
1263 | | " uses structure-neighbor-default-originate-options;\n" |
1264 | | "\n" |
1265 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1266 | | "\n" |
1267 | | " uses structure-neighbor-group-orf-capability;\n" |
1268 | | "\n" |
1269 | | " uses structure-neighbor-prefix-limit;\n" |
1270 | | "\n" |
1271 | | " uses structure-neighbor-nexthop-self;\n" |
1272 | | "\n" |
1273 | | " uses structure-neighbor-private-as;\n" |
1274 | | "\n" |
1275 | | " uses structure-neighbor-route-reflector;\n" |
1276 | | "\n" |
1277 | | " uses structure-neighbor-route-server;\n" |
1278 | | "\n" |
1279 | | " uses structure-neighbor-send-community;\n" |
1280 | | "\n" |
1281 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1282 | | "\n" |
1283 | | " uses structure-neighbor-weight;\n" |
1284 | | "\n" |
1285 | | " uses structure-neighbor-group-filter-config;\n" |
1286 | | " }\n" |
1287 | | "\n" |
1288 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast\" {\n" |
1289 | | " uses structure-neighbor-group-add-paths;\n" |
1290 | | "\n" |
1291 | | " uses structure-neighbor-group-as-path-options;\n" |
1292 | | "\n" |
1293 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1294 | | "\n" |
1295 | | " uses structure-neighbor-prefix-limit;\n" |
1296 | | "\n" |
1297 | | " uses structure-neighbor-nexthop-self;\n" |
1298 | | "\n" |
1299 | | " uses structure-neighbor-private-as;\n" |
1300 | | "\n" |
1301 | | " uses structure-neighbor-route-reflector;\n" |
1302 | | "\n" |
1303 | | " uses structure-neighbor-route-server;\n" |
1304 | | "\n" |
1305 | | " uses structure-neighbor-send-community;\n" |
1306 | | "\n" |
1307 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1308 | | "\n" |
1309 | | " uses structure-neighbor-weight;\n" |
1310 | | "\n" |
1311 | | " uses structure-neighbor-group-filter-config;\n" |
1312 | | " }\n" |
1313 | | "\n" |
1314 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast\" {\n" |
1315 | | " uses structure-neighbor-group-add-paths;\n" |
1316 | | "\n" |
1317 | | " uses structure-neighbor-group-as-path-options;\n" |
1318 | | "\n" |
1319 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1320 | | "\n" |
1321 | | " uses structure-neighbor-prefix-limit;\n" |
1322 | | "\n" |
1323 | | " uses structure-neighbor-nexthop-self;\n" |
1324 | | "\n" |
1325 | | " uses structure-neighbor-private-as;\n" |
1326 | | "\n" |
1327 | | " uses structure-neighbor-route-reflector;\n" |
1328 | | "\n" |
1329 | | " uses structure-neighbor-route-server;\n" |
1330 | | "\n" |
1331 | | " uses structure-neighbor-send-community;\n" |
1332 | | "\n" |
1333 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1334 | | "\n" |
1335 | | " uses structure-neighbor-weight;\n" |
1336 | | "\n" |
1337 | | " uses structure-neighbor-group-filter-config;\n" |
1338 | | " }\n" |
1339 | | "\n" |
1340 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn\" {\n" |
1341 | | " uses structure-neighbor-group-as-path-options;\n" |
1342 | | "\n" |
1343 | | " uses structure-neighbor-group-attr-unchanged;\n" |
1344 | | "\n" |
1345 | | " uses structure-neighbor-nexthop-self;\n" |
1346 | | "\n" |
1347 | | " uses structure-neighbor-route-reflector;\n" |
1348 | | "\n" |
1349 | | " uses structure-neighbor-route-server;\n" |
1350 | | "\n" |
1351 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1352 | | "\n" |
1353 | | " uses structure-neighbor-group-filter-config;\n" |
1354 | | " }\n" |
1355 | | "\n" |
1356 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec\" {\n" |
1357 | | " uses structure-neighbor-route-reflector;\n" |
1358 | | "\n" |
1359 | | " uses structure-neighbor-route-server;\n" |
1360 | | "\n" |
1361 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1362 | | "\n" |
1363 | | " uses structure-neighbor-group-filter-config;\n" |
1364 | | " }\n" |
1365 | | "\n" |
1366 | | " augment \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec\" {\n" |
1367 | | " uses structure-neighbor-route-reflector;\n" |
1368 | | "\n" |
1369 | | " uses structure-neighbor-route-server;\n" |
1370 | | "\n" |
1371 | | " uses structure-neighbor-group-soft-reconfiguration;\n" |
1372 | | "\n" |
1373 | | " uses structure-neighbor-group-filter-config;\n" |
1374 | | " }\n" |
1375 | | "}\n" |
1376 | | ""; |
1377 | | |
1378 | | static struct yang_module_embed embed = { |
1379 | | .mod_name = "frr-bgp", |
1380 | | .mod_rev = "2019-12-03", |
1381 | | .sub_mod_name = "", |
1382 | | .sub_mod_rev = "", |
1383 | | .data = model, |
1384 | | .format = LYS_IN_YANG, |
1385 | | }; |
1386 | | |
1387 | | static void embed_register(void) __attribute__((_CONSTRUCTOR(2000))); |
1388 | | static void embed_register(void) |
1389 | 2 | { |
1390 | 2 | yang_module_embed(&embed); |
1391 | 2 | } |