1 // SPDX-License-Identifier: BSD-2-Clause
4 namespace "http://frrouting.org/yang/bgp";
11 import ietf-inet-types {
15 import frr-interface {
19 import frr-bgp-types {
23 import frr-route-types {
24 prefix frr-route-types;
27 include "frr-bgp-common";
29 include "frr-bgp-common-structure";
31 include "frr-bgp-common-multiprotocol";
33 include "frr-bgp-neighbor";
35 include "frr-bgp-peer-group";
37 include "frr-bgp-bmp";
42 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
43 List: <mailto:dev@lists.frrouting.org>";
45 "This module defines a model for managing FRR bgpd daemon.
47 Copyright 2020 FRRouting
49 Redistribution and use in source and binary forms, with or without
50 modification, are permitted provided that the following conditions
53 1. Redistributions of source code must retain the above copyright notice,
54 this list of conditions and the following disclaimer.
56 2. Redistributions in binary form must reproduce the above copyright
57 notice, this list of conditions and the following disclaimer in the
58 documentation and/or other materials provided with the distribution.
60 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
61 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
62 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
63 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
64 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
65 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
66 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
67 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
68 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
69 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
70 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
78 base frr-rt:routing-protocol;
83 grouping mp-afi-unicast-common {
84 uses global-group-use-multiple-paths;
86 uses global-redistribute;
91 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol" {
93 when "../frr-rt:type = 'frr-bgp:bgp'" {
95 "BGP protocol augmentation of ietf-routing module
96 control-plane-protocol.";
98 presence "Enables configuration of BGP";
100 "Top-level configuration for the BGP router.";
103 "Global configuration for the BGP router.";
108 "Local autonomous system number of the router. Uses
109 the 32-bit as-number type from the model in RFC 6991.";
112 uses frr-rt:router-id;
114 container confederation {
116 "Configuration options specifying parameters when the
117 local router is within an autonomous system which is
118 part of a BGP confederation.";
122 "Confederation identifier for the autonomous system.";
125 leaf-list member-as {
128 "Remote autonomous systems that are to be treated
129 as part of the local confederation.";
135 uses route-reflector-config;
137 uses route-selection-options;
139 uses global-neighbor-config;
141 container graceful-restart {
143 "Parameters relating the graceful restart mechanism for
145 uses graceful-restart-config;
148 uses global-update-group-config;
150 uses global-config-timers;
152 uses global-bgp-config;
154 uses global-network-config;
156 uses global-graceful-shutdown;
158 uses global-bmp-config;
160 container afi-safis {
162 "List of address-families associated with the BGP
167 "AFI, SAFI configuration available for the
168 neighbour or group.";
169 uses mp-afi-safi-config;
171 uses mp-all-afi-safi-list-contents;
176 container neighbors {
178 "Configuration for BGP neighbors.";
180 key "remote-address";
182 "List of BGP neighbors configured on the local system,
183 uniquely identified by remote IPv[46] address.";
184 leaf remote-address {
185 type inet:ip-address;
187 "The remote IP address of this entry's BGP peer.";
190 leaf local-interface {
191 type frr-interface:interface-ref {
192 require-instance false;
195 "Neighbor's interface name.";
199 type inet:port-number {
203 "Neighbor's BGP TCP port number.";
208 path "../../../peer-groups/peer-group/peer-group-name";
211 "The peer-group with which this neighbor is associated.";
214 container neighbor-remote-as {
215 leaf remote-as-type {
223 when "../remote-as-type = 'as-specified'";
226 "The remote autonomous system number received in
227 the BGP OPEN message.";
233 uses neighbor-parameters;
235 uses structure-neighbor-group-capability-options;
238 list unnumbered-neighbor {
241 "List of BGP neighbors configured on the local system,
242 uniquely identified by interfaces.";
244 type frr-interface:interface-ref {
245 require-instance false;
248 "The local interface of this entry's BGP peer.";
255 "When set to 'true' it will create a neighbor with v6
261 path "../../../peer-groups/peer-group/peer-group-name";
264 "The peer-group with which this neighbor is associated.";
267 uses neighbor-remote-as;
269 uses neighbor-parameters;
271 uses structure-neighbor-group-capability-options {
272 refine "frr-bgp:capability-options/extended-nexthop-capability" {
279 container peer-groups {
281 "Configuration for BGP peer-groups.";
282 uses bgp-peer-group-list;
287 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-unicast" {
288 list network-config {
291 "A list of network routes.";
293 type inet:ipv4-prefix;
295 "IPv4 destination prefix.";
302 "Specify a BGP backdoor route.";
305 uses mp-afi-safi-network-config;
308 list aggregate-route {
311 "A list of aggregated routes.";
313 type inet:ipv4-prefix;
315 "IPv4 destination prefix.";
318 uses mp-afi-safi-agg-route-config;
321 list admin-distance-route {
324 "A list of routes with a particular admin distance.";
326 type inet:ipv4-prefix;
328 "IPv4 destination prefix.";
331 uses distance-per-route-config;
334 uses route-flap-dampening;
336 uses mp-afi-unicast-common;
338 uses global-filter-config;
340 uses global-afi-safi-vpn-config;
343 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-unicast" {
344 list network-config {
347 "A list of network routes.";
349 type inet:ipv6-prefix;
351 "IPv6 destination prefix.";
358 "Specify a BGP backdoor route.";
361 uses mp-afi-safi-network-config;
364 list aggregate-route {
367 "A list of aggregated routes.";
369 type inet:ipv6-prefix;
371 "IPv6 destination prefix.";
374 uses mp-afi-safi-agg-route-config;
377 list admin-distance-route {
380 "A list of routes with a particular admin distance.";
382 type inet:ipv6-prefix;
384 "IPv6 destination prefix.";
387 uses distance-per-route-config;
390 uses route-flap-dampening;
392 uses mp-afi-unicast-common;
394 uses global-filter-config;
396 uses global-afi-safi-vpn-config;
399 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast" {
400 uses global-group-use-multiple-paths;
402 uses route-flap-dampening;
405 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast" {
406 uses global-group-use-multiple-paths;
408 uses route-flap-dampening;
411 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-multicast" {
412 list network-config {
415 "A list of network routes.";
417 type frr-route-types:ipv4-multicast-group-prefix;
419 "IPv4 multicast destination prefix.";
426 "Specify a BGP backdoor route.";
429 uses mp-afi-safi-network-config;
432 list aggregate-route {
435 "A list of aggregated routes.";
437 type frr-route-types:ipv4-multicast-group-prefix;
439 "IPv4 multicast destination prefix.";
442 uses mp-afi-safi-agg-route-config;
445 list admin-distance-route {
448 "A list of routes with a particular admin distance.";
450 type frr-route-types:ipv4-multicast-group-prefix;
452 "IPv4 multicast destination prefix.";
455 uses distance-per-route-config;
460 uses route-flap-dampening;
462 uses global-filter-config;
465 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-multicast" {
466 list network-config {
469 "A list of network routes.";
471 type frr-route-types:ipv6-multicast-group-prefix;
473 "IPv6 multicast destination prefix.";
480 "Specify a BGP backdoor route.";
483 uses mp-afi-safi-network-config;
486 list aggregate-route {
489 "A list of aggregated routes.";
491 type frr-route-types:ipv6-multicast-group-prefix;
493 "IPv6 multicast destination prefix.";
496 uses mp-afi-safi-agg-route-config;
499 list admin-distance-route {
502 "A list of routes with a particular admin distance.";
504 type frr-route-types:ipv6-multicast-group-prefix;
506 "IPv6 multicast destination prefix.";
509 uses distance-per-route-config;
512 uses route-flap-dampening;
517 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-flowspec" {
518 uses flow-spec-config;
521 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast" {
522 uses global-afi-safi-vpn-network-config;
525 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast" {
526 uses global-afi-safi-vpn-network-config;
529 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" {
530 uses bmp-afi-safi-common-config;
533 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" {
534 uses bmp-afi-safi-common-config;
537 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" {
538 uses bmp-afi-safi-common-config;
541 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" {
542 uses bmp-afi-safi-common-config;
545 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast" {
546 uses structure-neighbor-group-add-paths;
548 uses structure-neighbor-group-as-path-options;
550 uses structure-neighbor-default-originate-options;
552 uses structure-neighbor-prefix-limit;
554 uses structure-neighbor-nexthop-self;
556 uses structure-neighbor-private-as;
558 uses structure-neighbor-weight;
560 uses structure-neighbor-route-reflector;
562 uses structure-neighbor-route-server;
564 uses structure-neighbor-send-community;
566 uses structure-neighbor-group-soft-reconfiguration;
568 uses structure-neighbor-group-attr-unchanged;
570 uses structure-neighbor-group-orf-capability;
572 uses structure-neighbor-group-filter-config;
575 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast" {
576 leaf nexthop-local-unchanged {
580 "Configure treatment of outgoing link-local nexthop attribute.
581 When set to 'true' it leaves link-local nexthop unchanged
585 uses structure-neighbor-group-add-paths;
587 uses structure-neighbor-group-as-path-options;
589 uses structure-neighbor-default-originate-options;
591 uses structure-neighbor-group-attr-unchanged;
593 uses structure-neighbor-group-orf-capability;
595 uses structure-neighbor-prefix-limit;
597 uses structure-neighbor-nexthop-self;
599 uses structure-neighbor-private-as;
601 uses structure-neighbor-route-reflector;
603 uses structure-neighbor-route-server;
605 uses structure-neighbor-send-community;
607 uses structure-neighbor-group-soft-reconfiguration;
609 uses structure-neighbor-weight;
611 uses structure-neighbor-group-filter-config;
614 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast" {
615 uses structure-neighbor-group-add-paths;
617 uses structure-neighbor-group-as-path-options;
619 uses structure-neighbor-default-originate-options;
621 uses structure-neighbor-group-attr-unchanged;
623 uses structure-neighbor-group-orf-capability;
625 uses structure-neighbor-prefix-limit;
627 uses structure-neighbor-nexthop-self;
629 uses structure-neighbor-private-as;
631 uses structure-neighbor-route-reflector;
633 uses structure-neighbor-route-server;
635 uses structure-neighbor-send-community;
637 uses structure-neighbor-group-soft-reconfiguration;
639 uses structure-neighbor-weight;
641 uses structure-neighbor-group-filter-config;
644 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast" {
645 uses structure-neighbor-group-add-paths;
647 uses structure-neighbor-group-as-path-options;
649 uses structure-neighbor-default-originate-options;
651 uses structure-neighbor-group-attr-unchanged;
653 uses structure-neighbor-group-orf-capability;
655 uses structure-neighbor-prefix-limit;
657 uses structure-neighbor-nexthop-self;
659 uses structure-neighbor-private-as;
661 uses structure-neighbor-route-reflector;
663 uses structure-neighbor-route-server;
665 uses structure-neighbor-send-community;
667 uses structure-neighbor-group-soft-reconfiguration;
669 uses structure-neighbor-weight;
671 uses structure-neighbor-group-filter-config;
674 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast" {
675 uses structure-neighbor-group-add-paths;
677 uses structure-neighbor-group-as-path-options;
679 uses structure-neighbor-default-originate-options;
681 uses structure-neighbor-group-attr-unchanged;
683 uses structure-neighbor-group-orf-capability;
685 uses structure-neighbor-prefix-limit;
687 uses structure-neighbor-nexthop-self;
689 uses structure-neighbor-private-as;
691 uses structure-neighbor-route-reflector;
693 uses structure-neighbor-route-server;
695 uses structure-neighbor-send-community;
697 uses structure-neighbor-group-soft-reconfiguration;
699 uses structure-neighbor-weight;
701 uses structure-neighbor-group-filter-config;
704 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast" {
705 uses structure-neighbor-group-add-paths;
707 uses structure-neighbor-group-as-path-options;
709 uses structure-neighbor-default-originate-options;
711 uses structure-neighbor-group-attr-unchanged;
713 uses structure-neighbor-group-orf-capability;
715 uses structure-neighbor-prefix-limit;
717 uses structure-neighbor-nexthop-self;
719 uses structure-neighbor-private-as;
721 uses structure-neighbor-route-reflector;
723 uses structure-neighbor-route-server;
725 uses structure-neighbor-send-community;
727 uses structure-neighbor-group-soft-reconfiguration;
729 uses structure-neighbor-weight;
731 uses structure-neighbor-group-filter-config;
734 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast" {
735 uses structure-neighbor-group-add-paths;
737 uses structure-neighbor-group-as-path-options;
739 uses structure-neighbor-group-attr-unchanged;
741 uses structure-neighbor-prefix-limit;
743 uses structure-neighbor-nexthop-self;
745 uses structure-neighbor-private-as;
747 uses structure-neighbor-route-reflector;
749 uses structure-neighbor-route-server;
751 uses structure-neighbor-send-community;
753 uses structure-neighbor-group-soft-reconfiguration;
755 uses structure-neighbor-weight;
757 uses structure-neighbor-group-filter-config;
760 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast" {
761 uses structure-neighbor-group-add-paths;
763 uses structure-neighbor-group-as-path-options;
765 uses structure-neighbor-group-attr-unchanged;
767 uses structure-neighbor-prefix-limit;
769 uses structure-neighbor-nexthop-self;
771 uses structure-neighbor-private-as;
773 uses structure-neighbor-route-reflector;
775 uses structure-neighbor-route-server;
777 uses structure-neighbor-send-community;
779 uses structure-neighbor-group-soft-reconfiguration;
781 uses structure-neighbor-weight;
783 uses structure-neighbor-group-filter-config;
786 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn" {
787 uses structure-neighbor-group-as-path-options;
789 uses structure-neighbor-group-attr-unchanged;
791 uses structure-neighbor-nexthop-self;
793 uses structure-neighbor-route-reflector;
795 uses structure-neighbor-route-server;
797 uses structure-neighbor-group-soft-reconfiguration;
799 uses structure-neighbor-group-filter-config;
802 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec" {
803 uses structure-neighbor-route-reflector;
805 uses structure-neighbor-route-server;
807 uses structure-neighbor-group-soft-reconfiguration;
809 uses structure-neighbor-group-filter-config;
812 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec" {
813 uses structure-neighbor-route-reflector;
815 uses structure-neighbor-route-server;
817 uses structure-neighbor-group-soft-reconfiguration;
819 uses structure-neighbor-group-filter-config;
822 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast" {
823 uses structure-neighbor-group-add-paths;
825 uses structure-neighbor-group-as-path-options;
827 uses structure-neighbor-default-originate-options;
829 uses structure-neighbor-prefix-limit;
831 uses structure-neighbor-nexthop-self;
833 uses structure-neighbor-private-as;
835 uses structure-neighbor-weight;
837 uses structure-neighbor-route-reflector;
839 uses structure-neighbor-route-server;
841 uses structure-neighbor-send-community;
843 uses structure-neighbor-group-soft-reconfiguration;
845 uses structure-neighbor-group-attr-unchanged;
847 uses structure-neighbor-group-orf-capability;
849 uses structure-neighbor-group-filter-config;
852 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast" {
853 leaf nexthop-local-unchanged {
857 "Configure treatment of outgoing link-local nexthop attribute.
858 When set to 'true' it leaves link-local nexthop unchanged
862 uses structure-neighbor-group-add-paths;
864 uses structure-neighbor-group-as-path-options;
866 uses structure-neighbor-default-originate-options;
868 uses structure-neighbor-group-attr-unchanged;
870 uses structure-neighbor-group-orf-capability;
872 uses structure-neighbor-prefix-limit;
874 uses structure-neighbor-nexthop-self;
876 uses structure-neighbor-private-as;
878 uses structure-neighbor-route-reflector;
880 uses structure-neighbor-route-server;
882 uses structure-neighbor-send-community;
884 uses structure-neighbor-group-soft-reconfiguration;
886 uses structure-neighbor-weight;
888 uses structure-neighbor-group-filter-config;
891 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast" {
892 uses structure-neighbor-group-add-paths;
894 uses structure-neighbor-group-as-path-options;
896 uses structure-neighbor-default-originate-options;
898 uses structure-neighbor-group-attr-unchanged;
900 uses structure-neighbor-group-orf-capability;
902 uses structure-neighbor-prefix-limit;
904 uses structure-neighbor-nexthop-self;
906 uses structure-neighbor-private-as;
908 uses structure-neighbor-route-reflector;
910 uses structure-neighbor-route-server;
912 uses structure-neighbor-send-community;
914 uses structure-neighbor-group-soft-reconfiguration;
916 uses structure-neighbor-weight;
918 uses structure-neighbor-group-filter-config;
921 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast" {
922 uses structure-neighbor-group-add-paths;
924 uses structure-neighbor-group-as-path-options;
926 uses structure-neighbor-default-originate-options;
928 uses structure-neighbor-group-attr-unchanged;
930 uses structure-neighbor-group-orf-capability;
932 uses structure-neighbor-prefix-limit;
934 uses structure-neighbor-nexthop-self;
936 uses structure-neighbor-private-as;
938 uses structure-neighbor-route-reflector;
940 uses structure-neighbor-route-server;
942 uses structure-neighbor-send-community;
944 uses structure-neighbor-group-soft-reconfiguration;
946 uses structure-neighbor-weight;
948 uses structure-neighbor-group-filter-config;
951 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" {
952 uses structure-neighbor-group-add-paths;
954 uses structure-neighbor-group-as-path-options;
956 uses structure-neighbor-default-originate-options;
958 uses structure-neighbor-group-attr-unchanged;
960 uses structure-neighbor-group-orf-capability;
962 uses structure-neighbor-prefix-limit;
964 uses structure-neighbor-nexthop-self;
966 uses structure-neighbor-private-as;
968 uses structure-neighbor-route-reflector;
970 uses structure-neighbor-route-server;
972 uses structure-neighbor-send-community;
974 uses structure-neighbor-group-soft-reconfiguration;
976 uses structure-neighbor-weight;
978 uses structure-neighbor-group-filter-config;
981 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" {
982 uses structure-neighbor-group-add-paths;
984 uses structure-neighbor-group-as-path-options;
986 uses structure-neighbor-default-originate-options;
988 uses structure-neighbor-group-attr-unchanged;
990 uses structure-neighbor-group-orf-capability;
992 uses structure-neighbor-prefix-limit;
994 uses structure-neighbor-nexthop-self;
996 uses structure-neighbor-private-as;
998 uses structure-neighbor-route-reflector;
1000 uses structure-neighbor-route-server;
1002 uses structure-neighbor-send-community;
1004 uses structure-neighbor-group-soft-reconfiguration;
1006 uses structure-neighbor-weight;
1009 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" {
1010 uses structure-neighbor-group-add-paths;
1012 uses structure-neighbor-group-as-path-options;
1014 uses structure-neighbor-group-attr-unchanged;
1016 uses structure-neighbor-prefix-limit;
1018 uses structure-neighbor-nexthop-self;
1020 uses structure-neighbor-private-as;
1022 uses structure-neighbor-route-reflector;
1024 uses structure-neighbor-route-server;
1026 uses structure-neighbor-send-community;
1028 uses structure-neighbor-group-soft-reconfiguration;
1030 uses structure-neighbor-weight;
1033 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" {
1034 uses structure-neighbor-group-add-paths;
1036 uses structure-neighbor-group-as-path-options;
1038 uses structure-neighbor-group-attr-unchanged;
1040 uses structure-neighbor-prefix-limit;
1042 uses structure-neighbor-nexthop-self;
1044 uses structure-neighbor-private-as;
1046 uses structure-neighbor-route-reflector;
1048 uses structure-neighbor-route-server;
1050 uses structure-neighbor-send-community;
1052 uses structure-neighbor-group-soft-reconfiguration;
1054 uses structure-neighbor-weight;
1057 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn" {
1058 uses structure-neighbor-group-as-path-options;
1060 uses structure-neighbor-group-attr-unchanged;
1062 uses structure-neighbor-nexthop-self;
1064 uses structure-neighbor-route-reflector;
1066 uses structure-neighbor-route-server;
1068 uses structure-neighbor-group-soft-reconfiguration;
1070 uses structure-neighbor-group-filter-config;
1073 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec" {
1074 uses structure-neighbor-route-reflector;
1076 uses structure-neighbor-route-server;
1078 uses structure-neighbor-group-soft-reconfiguration;
1080 uses structure-neighbor-group-filter-config;
1083 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec" {
1084 uses structure-neighbor-route-reflector;
1086 uses structure-neighbor-route-server;
1088 uses structure-neighbor-group-soft-reconfiguration;
1090 uses structure-neighbor-group-filter-config;
1093 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" {
1094 uses structure-neighbor-group-add-paths;
1096 uses structure-neighbor-group-as-path-options;
1098 uses structure-neighbor-default-originate-options;
1100 uses structure-neighbor-prefix-limit;
1102 uses structure-neighbor-nexthop-self;
1104 uses structure-neighbor-private-as;
1106 uses structure-neighbor-weight;
1108 uses structure-neighbor-route-reflector;
1110 uses structure-neighbor-route-server;
1112 uses structure-neighbor-send-community;
1114 uses structure-neighbor-group-soft-reconfiguration;
1116 uses structure-neighbor-group-attr-unchanged;
1118 uses structure-neighbor-group-orf-capability;
1120 uses structure-neighbor-group-filter-config;
1123 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" {
1124 leaf nexthop-local-unchanged {
1128 "Configure treatment of outgoing link-local nexthop attribute.
1129 When set to 'true' it leaves link-local nexthop unchanged
1133 uses structure-neighbor-group-add-paths;
1135 uses structure-neighbor-group-as-path-options;
1137 uses structure-neighbor-default-originate-options;
1139 uses structure-neighbor-group-attr-unchanged;
1141 uses structure-neighbor-group-orf-capability;
1143 uses structure-neighbor-prefix-limit;
1145 uses structure-neighbor-nexthop-self;
1147 uses structure-neighbor-private-as;
1149 uses structure-neighbor-route-reflector;
1151 uses structure-neighbor-route-server;
1153 uses structure-neighbor-send-community;
1155 uses structure-neighbor-group-soft-reconfiguration;
1157 uses structure-neighbor-weight;
1159 uses structure-neighbor-group-filter-config;
1162 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" {
1163 uses structure-neighbor-group-add-paths;
1165 uses structure-neighbor-group-as-path-options;
1167 uses structure-neighbor-default-originate-options;
1169 uses structure-neighbor-group-attr-unchanged;
1171 uses structure-neighbor-group-orf-capability;
1173 uses structure-neighbor-prefix-limit;
1175 uses structure-neighbor-nexthop-self;
1177 uses structure-neighbor-private-as;
1179 uses structure-neighbor-route-reflector;
1181 uses structure-neighbor-route-server;
1183 uses structure-neighbor-send-community;
1185 uses structure-neighbor-group-soft-reconfiguration;
1187 uses structure-neighbor-weight;
1189 uses structure-neighbor-group-filter-config;
1192 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" {
1193 uses structure-neighbor-group-add-paths;
1195 uses structure-neighbor-group-as-path-options;
1197 uses structure-neighbor-default-originate-options;
1199 uses structure-neighbor-group-attr-unchanged;
1201 uses structure-neighbor-group-orf-capability;
1203 uses structure-neighbor-prefix-limit;
1205 uses structure-neighbor-nexthop-self;
1207 uses structure-neighbor-private-as;
1209 uses structure-neighbor-route-reflector;
1211 uses structure-neighbor-route-server;
1213 uses structure-neighbor-send-community;
1215 uses structure-neighbor-group-soft-reconfiguration;
1217 uses structure-neighbor-weight;
1219 uses structure-neighbor-group-filter-config;
1222 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" {
1223 uses structure-neighbor-group-add-paths;
1225 uses structure-neighbor-group-as-path-options;
1227 uses structure-neighbor-default-originate-options;
1229 uses structure-neighbor-group-attr-unchanged;
1231 uses structure-neighbor-group-orf-capability;
1233 uses structure-neighbor-prefix-limit;
1235 uses structure-neighbor-nexthop-self;
1237 uses structure-neighbor-private-as;
1239 uses structure-neighbor-route-reflector;
1241 uses structure-neighbor-route-server;
1243 uses structure-neighbor-send-community;
1245 uses structure-neighbor-group-soft-reconfiguration;
1247 uses structure-neighbor-weight;
1249 uses structure-neighbor-group-filter-config;
1252 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" {
1253 uses structure-neighbor-group-add-paths;
1255 uses structure-neighbor-group-as-path-options;
1257 uses structure-neighbor-default-originate-options;
1259 uses structure-neighbor-group-attr-unchanged;
1261 uses structure-neighbor-group-orf-capability;
1263 uses structure-neighbor-prefix-limit;
1265 uses structure-neighbor-nexthop-self;
1267 uses structure-neighbor-private-as;
1269 uses structure-neighbor-route-reflector;
1271 uses structure-neighbor-route-server;
1273 uses structure-neighbor-send-community;
1275 uses structure-neighbor-group-soft-reconfiguration;
1277 uses structure-neighbor-weight;
1279 uses structure-neighbor-group-filter-config;
1282 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" {
1283 uses structure-neighbor-group-add-paths;
1285 uses structure-neighbor-group-as-path-options;
1287 uses structure-neighbor-group-attr-unchanged;
1289 uses structure-neighbor-prefix-limit;
1291 uses structure-neighbor-nexthop-self;
1293 uses structure-neighbor-private-as;
1295 uses structure-neighbor-route-reflector;
1297 uses structure-neighbor-route-server;
1299 uses structure-neighbor-send-community;
1301 uses structure-neighbor-group-soft-reconfiguration;
1303 uses structure-neighbor-weight;
1305 uses structure-neighbor-group-filter-config;
1308 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" {
1309 uses structure-neighbor-group-add-paths;
1311 uses structure-neighbor-group-as-path-options;
1313 uses structure-neighbor-group-attr-unchanged;
1315 uses structure-neighbor-prefix-limit;
1317 uses structure-neighbor-nexthop-self;
1319 uses structure-neighbor-private-as;
1321 uses structure-neighbor-route-reflector;
1323 uses structure-neighbor-route-server;
1325 uses structure-neighbor-send-community;
1327 uses structure-neighbor-group-soft-reconfiguration;
1329 uses structure-neighbor-weight;
1331 uses structure-neighbor-group-filter-config;
1334 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" {
1335 uses structure-neighbor-group-as-path-options;
1337 uses structure-neighbor-group-attr-unchanged;
1339 uses structure-neighbor-nexthop-self;
1341 uses structure-neighbor-route-reflector;
1343 uses structure-neighbor-route-server;
1345 uses structure-neighbor-group-soft-reconfiguration;
1347 uses structure-neighbor-group-filter-config;
1350 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" {
1351 uses structure-neighbor-route-reflector;
1353 uses structure-neighbor-route-server;
1355 uses structure-neighbor-group-soft-reconfiguration;
1357 uses structure-neighbor-group-filter-config;
1360 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" {
1361 uses structure-neighbor-route-reflector;
1363 uses structure-neighbor-route-server;
1365 uses structure-neighbor-group-soft-reconfiguration;
1367 uses structure-neighbor-group-filter-config;