3 namespace "http://frrouting.org/yang/bgp";
10 import ietf-inet-types {
14 import frr-interface {
18 import frr-bgp-types {
22 import frr-route-types {
23 prefix frr-route-types;
26 include "frr-bgp-common";
28 include "frr-bgp-common-structure";
30 include "frr-bgp-common-multiprotocol";
32 include "frr-bgp-neighbor";
34 include "frr-bgp-peer-group";
36 include "frr-bgp-bmp";
41 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
42 List: <mailto:dev@lists.frrouting.org>";
44 "This module defines a model for managing FRR bgpd daemon.
46 Copyright 2020 FRRouting
48 Redistribution and use in source and binary forms, with or without
49 modification, are permitted provided that the following conditions
52 1. Redistributions of source code must retain the above copyright notice,
53 this list of conditions and the following disclaimer.
55 2. Redistributions in binary form must reproduce the above copyright
56 notice, this list of conditions and the following disclaimer in the
57 documentation and/or other materials provided with the distribution.
59 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
60 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
61 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
62 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
63 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
64 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
65 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
66 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
67 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
68 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
69 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
77 base frr-rt:routing-protocol;
82 grouping mp-afi-unicast-common {
83 uses global-group-use-multiple-paths;
85 uses global-redistribute;
90 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol" {
92 when "../frr-rt:type = 'frr-bgp:bgp'" {
94 "BGP protocol augmentation of ietf-routing module
95 control-plane-protocol.";
97 presence "Enables configuration of BGP";
99 "Top-level configuration for the BGP router.";
102 "Global configuration for the BGP router.";
107 "Local autonomous system number of the router. Uses
108 the 32-bit as-number type from the model in RFC 6991.";
111 uses frr-rt:router-id;
113 container confederation {
115 "Configuration options specifying parameters when the
116 local router is within an autonomous system which is
117 part of a BGP confederation.";
121 "Confederation identifier for the autonomous system.";
124 leaf-list member-as {
127 "Remote autonomous systems that are to be treated
128 as part of the local confederation.";
134 uses route-reflector-config;
136 uses route-selection-options;
138 uses global-neighbor-config;
140 container graceful-restart {
142 "Parameters relating the graceful restart mechanism for
144 uses graceful-restart-config;
147 uses global-update-group-config;
149 uses global-config-timers;
151 uses global-bgp-config;
153 uses global-network-config;
155 uses global-graceful-shutdown;
157 uses global-bmp-config;
159 container afi-safis {
161 "List of address-families associated with the BGP
166 "AFI, SAFI configuration available for the
167 neighbour or group.";
168 uses mp-afi-safi-config;
170 uses mp-all-afi-safi-list-contents;
175 container neighbors {
177 "Configuration for BGP neighbors.";
179 key "remote-address";
181 "List of BGP neighbors configured on the local system,
182 uniquely identified by remote IPv[46] address.";
183 leaf remote-address {
184 type inet:ip-address;
186 "The remote IP address of this entry's BGP peer.";
189 leaf local-interface {
190 type frr-interface:interface-ref {
191 require-instance false;
194 "Neighbor's interface name.";
198 type inet:port-number {
202 "Neighbor's BGP TCP port number.";
207 path "../../../peer-groups/peer-group/peer-group-name";
210 "The peer-group with which this neighbor is associated.";
213 container neighbor-remote-as {
214 leaf remote-as-type {
222 when "../remote-as-type = 'as-specified'";
225 "The remote autonomous system number received in
226 the BGP OPEN message.";
232 uses neighbor-parameters;
234 uses structure-neighbor-group-capability-options;
237 list unnumbered-neighbor {
240 "List of BGP neighbors configured on the local system,
241 uniquely identified by interfaces.";
243 type frr-interface:interface-ref {
244 require-instance false;
247 "The local interface of this entry's BGP peer.";
254 "When set to 'true' it will create a neighbor with v6
260 path "../../../peer-groups/peer-group/peer-group-name";
263 "The peer-group with which this neighbor is associated.";
266 uses neighbor-remote-as;
268 uses neighbor-parameters;
270 uses structure-neighbor-group-capability-options {
271 refine "frr-bgp:capability-options/extended-nexthop-capability" {
278 container peer-groups {
280 "Configuration for BGP peer-groups.";
281 uses bgp-peer-group-list;
286 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-unicast" {
287 list network-config {
290 "A list of network routes.";
292 type inet:ipv4-prefix;
294 "IPv4 destination prefix.";
301 "Specify a BGP backdoor route.";
304 uses mp-afi-safi-network-config;
307 list aggregate-route {
310 "A list of aggregated routes.";
312 type inet:ipv4-prefix;
314 "IPv4 destination prefix.";
317 uses mp-afi-safi-agg-route-config;
320 list admin-distance-route {
323 "A list of routes with a particular admin distance.";
325 type inet:ipv4-prefix;
327 "IPv4 destination prefix.";
330 uses distance-per-route-config;
333 uses route-flap-dampening;
335 uses mp-afi-unicast-common;
337 uses global-filter-config;
339 uses global-afi-safi-vpn-config;
342 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-unicast" {
343 list network-config {
346 "A list of network routes.";
348 type inet:ipv6-prefix;
350 "IPv6 destination prefix.";
357 "Specify a BGP backdoor route.";
360 uses mp-afi-safi-network-config;
363 list aggregate-route {
366 "A list of aggregated routes.";
368 type inet:ipv6-prefix;
370 "IPv6 destination prefix.";
373 uses mp-afi-safi-agg-route-config;
376 list admin-distance-route {
379 "A list of routes with a particular admin distance.";
381 type inet:ipv6-prefix;
383 "IPv6 destination prefix.";
386 uses distance-per-route-config;
389 uses route-flap-dampening;
391 uses mp-afi-unicast-common;
393 uses global-filter-config;
395 uses global-afi-safi-vpn-config;
398 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast" {
399 uses global-group-use-multiple-paths;
401 uses route-flap-dampening;
404 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast" {
405 uses global-group-use-multiple-paths;
407 uses route-flap-dampening;
410 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-multicast" {
411 list network-config {
414 "A list of network routes.";
416 type frr-route-types:ipv4-multicast-group-prefix;
418 "IPv4 multicast destination prefix.";
425 "Specify a BGP backdoor route.";
428 uses mp-afi-safi-network-config;
431 list aggregate-route {
434 "A list of aggregated routes.";
436 type frr-route-types:ipv4-multicast-group-prefix;
438 "IPv4 multicast destination prefix.";
441 uses mp-afi-safi-agg-route-config;
444 list admin-distance-route {
447 "A list of routes with a particular admin distance.";
449 type frr-route-types:ipv4-multicast-group-prefix;
451 "IPv4 multicast destination prefix.";
454 uses distance-per-route-config;
459 uses route-flap-dampening;
461 uses global-filter-config;
464 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv6-multicast" {
465 list network-config {
468 "A list of network routes.";
470 type frr-route-types:ipv6-multicast-group-prefix;
472 "IPv6 multicast destination prefix.";
479 "Specify a BGP backdoor route.";
482 uses mp-afi-safi-network-config;
485 list aggregate-route {
488 "A list of aggregated routes.";
490 type frr-route-types:ipv6-multicast-group-prefix;
492 "IPv6 multicast destination prefix.";
495 uses mp-afi-safi-agg-route-config;
498 list admin-distance-route {
501 "A list of routes with a particular admin distance.";
503 type frr-route-types:ipv6-multicast-group-prefix;
505 "IPv6 multicast destination prefix.";
508 uses distance-per-route-config;
511 uses route-flap-dampening;
516 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/ipv4-flowspec" {
517 uses flow-spec-config;
520 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast" {
521 uses global-afi-safi-vpn-network-config;
524 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast" {
525 uses global-afi-safi-vpn-network-config;
528 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" {
529 uses bmp-afi-safi-common-config;
532 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" {
533 uses bmp-afi-safi-common-config;
536 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" {
537 uses bmp-afi-safi-common-config;
540 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" {
541 uses bmp-afi-safi-common-config;
544 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast" {
545 uses structure-neighbor-group-add-paths;
547 uses structure-neighbor-group-as-path-options;
549 uses structure-neighbor-default-originate-options;
551 uses structure-neighbor-prefix-limit;
553 uses structure-neighbor-nexthop-self;
555 uses structure-neighbor-private-as;
557 uses structure-neighbor-weight;
559 uses structure-neighbor-route-reflector;
561 uses structure-neighbor-route-server;
563 uses structure-neighbor-send-community;
565 uses structure-neighbor-group-soft-reconfiguration;
567 uses structure-neighbor-group-attr-unchanged;
569 uses structure-neighbor-group-orf-capability;
571 uses structure-neighbor-group-filter-config;
574 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast" {
575 leaf nexthop-local-unchanged {
579 "Configure treatment of outgoing link-local nexthop attribute.
580 When set to 'true' it leaves link-local nexthop unchanged
584 uses structure-neighbor-group-add-paths;
586 uses structure-neighbor-group-as-path-options;
588 uses structure-neighbor-default-originate-options;
590 uses structure-neighbor-group-attr-unchanged;
592 uses structure-neighbor-group-orf-capability;
594 uses structure-neighbor-prefix-limit;
596 uses structure-neighbor-nexthop-self;
598 uses structure-neighbor-private-as;
600 uses structure-neighbor-route-reflector;
602 uses structure-neighbor-route-server;
604 uses structure-neighbor-send-community;
606 uses structure-neighbor-group-soft-reconfiguration;
608 uses structure-neighbor-weight;
610 uses structure-neighbor-group-filter-config;
613 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast" {
614 uses structure-neighbor-group-add-paths;
616 uses structure-neighbor-group-as-path-options;
618 uses structure-neighbor-default-originate-options;
620 uses structure-neighbor-group-attr-unchanged;
622 uses structure-neighbor-group-orf-capability;
624 uses structure-neighbor-prefix-limit;
626 uses structure-neighbor-nexthop-self;
628 uses structure-neighbor-private-as;
630 uses structure-neighbor-route-reflector;
632 uses structure-neighbor-route-server;
634 uses structure-neighbor-send-community;
636 uses structure-neighbor-group-soft-reconfiguration;
638 uses structure-neighbor-weight;
640 uses structure-neighbor-group-filter-config;
643 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast" {
644 uses structure-neighbor-group-add-paths;
646 uses structure-neighbor-group-as-path-options;
648 uses structure-neighbor-default-originate-options;
650 uses structure-neighbor-group-attr-unchanged;
652 uses structure-neighbor-group-orf-capability;
654 uses structure-neighbor-prefix-limit;
656 uses structure-neighbor-nexthop-self;
658 uses structure-neighbor-private-as;
660 uses structure-neighbor-route-reflector;
662 uses structure-neighbor-route-server;
664 uses structure-neighbor-send-community;
666 uses structure-neighbor-group-soft-reconfiguration;
668 uses structure-neighbor-weight;
670 uses structure-neighbor-group-filter-config;
673 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast" {
674 uses structure-neighbor-group-add-paths;
676 uses structure-neighbor-group-as-path-options;
678 uses structure-neighbor-default-originate-options;
680 uses structure-neighbor-group-attr-unchanged;
682 uses structure-neighbor-group-orf-capability;
684 uses structure-neighbor-prefix-limit;
686 uses structure-neighbor-nexthop-self;
688 uses structure-neighbor-private-as;
690 uses structure-neighbor-route-reflector;
692 uses structure-neighbor-route-server;
694 uses structure-neighbor-send-community;
696 uses structure-neighbor-group-soft-reconfiguration;
698 uses structure-neighbor-weight;
700 uses structure-neighbor-group-filter-config;
703 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast" {
704 uses structure-neighbor-group-add-paths;
706 uses structure-neighbor-group-as-path-options;
708 uses structure-neighbor-default-originate-options;
710 uses structure-neighbor-group-attr-unchanged;
712 uses structure-neighbor-group-orf-capability;
714 uses structure-neighbor-prefix-limit;
716 uses structure-neighbor-nexthop-self;
718 uses structure-neighbor-private-as;
720 uses structure-neighbor-route-reflector;
722 uses structure-neighbor-route-server;
724 uses structure-neighbor-send-community;
726 uses structure-neighbor-group-soft-reconfiguration;
728 uses structure-neighbor-weight;
730 uses structure-neighbor-group-filter-config;
733 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast" {
734 uses structure-neighbor-group-add-paths;
736 uses structure-neighbor-group-as-path-options;
738 uses structure-neighbor-group-attr-unchanged;
740 uses structure-neighbor-prefix-limit;
742 uses structure-neighbor-nexthop-self;
744 uses structure-neighbor-private-as;
746 uses structure-neighbor-route-reflector;
748 uses structure-neighbor-route-server;
750 uses structure-neighbor-send-community;
752 uses structure-neighbor-group-soft-reconfiguration;
754 uses structure-neighbor-weight;
756 uses structure-neighbor-group-filter-config;
759 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast" {
760 uses structure-neighbor-group-add-paths;
762 uses structure-neighbor-group-as-path-options;
764 uses structure-neighbor-group-attr-unchanged;
766 uses structure-neighbor-prefix-limit;
768 uses structure-neighbor-nexthop-self;
770 uses structure-neighbor-private-as;
772 uses structure-neighbor-route-reflector;
774 uses structure-neighbor-route-server;
776 uses structure-neighbor-send-community;
778 uses structure-neighbor-group-soft-reconfiguration;
780 uses structure-neighbor-weight;
782 uses structure-neighbor-group-filter-config;
785 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn" {
786 uses structure-neighbor-group-as-path-options;
788 uses structure-neighbor-group-attr-unchanged;
790 uses structure-neighbor-nexthop-self;
792 uses structure-neighbor-route-reflector;
794 uses structure-neighbor-route-server;
796 uses structure-neighbor-group-soft-reconfiguration;
798 uses structure-neighbor-group-filter-config;
801 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec" {
802 uses structure-neighbor-route-reflector;
804 uses structure-neighbor-route-server;
806 uses structure-neighbor-group-soft-reconfiguration;
808 uses structure-neighbor-group-filter-config;
811 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec" {
812 uses structure-neighbor-route-reflector;
814 uses structure-neighbor-route-server;
816 uses structure-neighbor-group-soft-reconfiguration;
818 uses structure-neighbor-group-filter-config;
821 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast" {
822 uses structure-neighbor-group-add-paths;
824 uses structure-neighbor-group-as-path-options;
826 uses structure-neighbor-default-originate-options;
828 uses structure-neighbor-prefix-limit;
830 uses structure-neighbor-nexthop-self;
832 uses structure-neighbor-private-as;
834 uses structure-neighbor-weight;
836 uses structure-neighbor-route-reflector;
838 uses structure-neighbor-route-server;
840 uses structure-neighbor-send-community;
842 uses structure-neighbor-group-soft-reconfiguration;
844 uses structure-neighbor-group-attr-unchanged;
846 uses structure-neighbor-group-orf-capability;
848 uses structure-neighbor-group-filter-config;
851 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast" {
852 leaf nexthop-local-unchanged {
856 "Configure treatment of outgoing link-local nexthop attribute.
857 When set to 'true' it leaves link-local nexthop unchanged
861 uses structure-neighbor-group-add-paths;
863 uses structure-neighbor-group-as-path-options;
865 uses structure-neighbor-default-originate-options;
867 uses structure-neighbor-group-attr-unchanged;
869 uses structure-neighbor-group-orf-capability;
871 uses structure-neighbor-prefix-limit;
873 uses structure-neighbor-nexthop-self;
875 uses structure-neighbor-private-as;
877 uses structure-neighbor-route-reflector;
879 uses structure-neighbor-route-server;
881 uses structure-neighbor-send-community;
883 uses structure-neighbor-group-soft-reconfiguration;
885 uses structure-neighbor-weight;
887 uses structure-neighbor-group-filter-config;
890 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast" {
891 uses structure-neighbor-group-add-paths;
893 uses structure-neighbor-group-as-path-options;
895 uses structure-neighbor-default-originate-options;
897 uses structure-neighbor-group-attr-unchanged;
899 uses structure-neighbor-group-orf-capability;
901 uses structure-neighbor-prefix-limit;
903 uses structure-neighbor-nexthop-self;
905 uses structure-neighbor-private-as;
907 uses structure-neighbor-route-reflector;
909 uses structure-neighbor-route-server;
911 uses structure-neighbor-send-community;
913 uses structure-neighbor-group-soft-reconfiguration;
915 uses structure-neighbor-weight;
917 uses structure-neighbor-group-filter-config;
920 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast" {
921 uses structure-neighbor-group-add-paths;
923 uses structure-neighbor-group-as-path-options;
925 uses structure-neighbor-default-originate-options;
927 uses structure-neighbor-group-attr-unchanged;
929 uses structure-neighbor-group-orf-capability;
931 uses structure-neighbor-prefix-limit;
933 uses structure-neighbor-nexthop-self;
935 uses structure-neighbor-private-as;
937 uses structure-neighbor-route-reflector;
939 uses structure-neighbor-route-server;
941 uses structure-neighbor-send-community;
943 uses structure-neighbor-group-soft-reconfiguration;
945 uses structure-neighbor-weight;
947 uses structure-neighbor-group-filter-config;
950 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" {
951 uses structure-neighbor-group-add-paths;
953 uses structure-neighbor-group-as-path-options;
955 uses structure-neighbor-default-originate-options;
957 uses structure-neighbor-group-attr-unchanged;
959 uses structure-neighbor-group-orf-capability;
961 uses structure-neighbor-prefix-limit;
963 uses structure-neighbor-nexthop-self;
965 uses structure-neighbor-private-as;
967 uses structure-neighbor-route-reflector;
969 uses structure-neighbor-route-server;
971 uses structure-neighbor-send-community;
973 uses structure-neighbor-group-soft-reconfiguration;
975 uses structure-neighbor-weight;
977 uses structure-neighbor-group-filter-config;
980 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" {
981 uses structure-neighbor-group-add-paths;
983 uses structure-neighbor-group-as-path-options;
985 uses structure-neighbor-default-originate-options;
987 uses structure-neighbor-group-attr-unchanged;
989 uses structure-neighbor-group-orf-capability;
991 uses structure-neighbor-prefix-limit;
993 uses structure-neighbor-nexthop-self;
995 uses structure-neighbor-private-as;
997 uses structure-neighbor-route-reflector;
999 uses structure-neighbor-route-server;
1001 uses structure-neighbor-send-community;
1003 uses structure-neighbor-group-soft-reconfiguration;
1005 uses structure-neighbor-weight;
1008 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" {
1009 uses structure-neighbor-group-add-paths;
1011 uses structure-neighbor-group-as-path-options;
1013 uses structure-neighbor-group-attr-unchanged;
1015 uses structure-neighbor-prefix-limit;
1017 uses structure-neighbor-nexthop-self;
1019 uses structure-neighbor-private-as;
1021 uses structure-neighbor-route-reflector;
1023 uses structure-neighbor-route-server;
1025 uses structure-neighbor-send-community;
1027 uses structure-neighbor-group-soft-reconfiguration;
1029 uses structure-neighbor-weight;
1032 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" {
1033 uses structure-neighbor-group-add-paths;
1035 uses structure-neighbor-group-as-path-options;
1037 uses structure-neighbor-group-attr-unchanged;
1039 uses structure-neighbor-prefix-limit;
1041 uses structure-neighbor-nexthop-self;
1043 uses structure-neighbor-private-as;
1045 uses structure-neighbor-route-reflector;
1047 uses structure-neighbor-route-server;
1049 uses structure-neighbor-send-community;
1051 uses structure-neighbor-group-soft-reconfiguration;
1053 uses structure-neighbor-weight;
1056 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn" {
1057 uses structure-neighbor-group-as-path-options;
1059 uses structure-neighbor-group-attr-unchanged;
1061 uses structure-neighbor-nexthop-self;
1063 uses structure-neighbor-route-reflector;
1065 uses structure-neighbor-route-server;
1067 uses structure-neighbor-group-soft-reconfiguration;
1069 uses structure-neighbor-group-filter-config;
1072 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec" {
1073 uses structure-neighbor-route-reflector;
1075 uses structure-neighbor-route-server;
1077 uses structure-neighbor-group-soft-reconfiguration;
1079 uses structure-neighbor-group-filter-config;
1082 augment "/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec" {
1083 uses structure-neighbor-route-reflector;
1085 uses structure-neighbor-route-server;
1087 uses structure-neighbor-group-soft-reconfiguration;
1089 uses structure-neighbor-group-filter-config;
1092 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" {
1093 uses structure-neighbor-group-add-paths;
1095 uses structure-neighbor-group-as-path-options;
1097 uses structure-neighbor-default-originate-options;
1099 uses structure-neighbor-prefix-limit;
1101 uses structure-neighbor-nexthop-self;
1103 uses structure-neighbor-private-as;
1105 uses structure-neighbor-weight;
1107 uses structure-neighbor-route-reflector;
1109 uses structure-neighbor-route-server;
1111 uses structure-neighbor-send-community;
1113 uses structure-neighbor-group-soft-reconfiguration;
1115 uses structure-neighbor-group-attr-unchanged;
1117 uses structure-neighbor-group-orf-capability;
1119 uses structure-neighbor-group-filter-config;
1122 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" {
1123 leaf nexthop-local-unchanged {
1127 "Configure treatment of outgoing link-local nexthop attribute.
1128 When set to 'true' it leaves link-local nexthop unchanged
1132 uses structure-neighbor-group-add-paths;
1134 uses structure-neighbor-group-as-path-options;
1136 uses structure-neighbor-default-originate-options;
1138 uses structure-neighbor-group-attr-unchanged;
1140 uses structure-neighbor-group-orf-capability;
1142 uses structure-neighbor-prefix-limit;
1144 uses structure-neighbor-nexthop-self;
1146 uses structure-neighbor-private-as;
1148 uses structure-neighbor-route-reflector;
1150 uses structure-neighbor-route-server;
1152 uses structure-neighbor-send-community;
1154 uses structure-neighbor-group-soft-reconfiguration;
1156 uses structure-neighbor-weight;
1158 uses structure-neighbor-group-filter-config;
1161 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" {
1162 uses structure-neighbor-group-add-paths;
1164 uses structure-neighbor-group-as-path-options;
1166 uses structure-neighbor-default-originate-options;
1168 uses structure-neighbor-group-attr-unchanged;
1170 uses structure-neighbor-group-orf-capability;
1172 uses structure-neighbor-prefix-limit;
1174 uses structure-neighbor-nexthop-self;
1176 uses structure-neighbor-private-as;
1178 uses structure-neighbor-route-reflector;
1180 uses structure-neighbor-route-server;
1182 uses structure-neighbor-send-community;
1184 uses structure-neighbor-group-soft-reconfiguration;
1186 uses structure-neighbor-weight;
1188 uses structure-neighbor-group-filter-config;
1191 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" {
1192 uses structure-neighbor-group-add-paths;
1194 uses structure-neighbor-group-as-path-options;
1196 uses structure-neighbor-default-originate-options;
1198 uses structure-neighbor-group-attr-unchanged;
1200 uses structure-neighbor-group-orf-capability;
1202 uses structure-neighbor-prefix-limit;
1204 uses structure-neighbor-nexthop-self;
1206 uses structure-neighbor-private-as;
1208 uses structure-neighbor-route-reflector;
1210 uses structure-neighbor-route-server;
1212 uses structure-neighbor-send-community;
1214 uses structure-neighbor-group-soft-reconfiguration;
1216 uses structure-neighbor-weight;
1218 uses structure-neighbor-group-filter-config;
1221 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" {
1222 uses structure-neighbor-group-add-paths;
1224 uses structure-neighbor-group-as-path-options;
1226 uses structure-neighbor-default-originate-options;
1228 uses structure-neighbor-group-attr-unchanged;
1230 uses structure-neighbor-group-orf-capability;
1232 uses structure-neighbor-prefix-limit;
1234 uses structure-neighbor-nexthop-self;
1236 uses structure-neighbor-private-as;
1238 uses structure-neighbor-route-reflector;
1240 uses structure-neighbor-route-server;
1242 uses structure-neighbor-send-community;
1244 uses structure-neighbor-group-soft-reconfiguration;
1246 uses structure-neighbor-weight;
1248 uses structure-neighbor-group-filter-config;
1251 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" {
1252 uses structure-neighbor-group-add-paths;
1254 uses structure-neighbor-group-as-path-options;
1256 uses structure-neighbor-default-originate-options;
1258 uses structure-neighbor-group-attr-unchanged;
1260 uses structure-neighbor-group-orf-capability;
1262 uses structure-neighbor-prefix-limit;
1264 uses structure-neighbor-nexthop-self;
1266 uses structure-neighbor-private-as;
1268 uses structure-neighbor-route-reflector;
1270 uses structure-neighbor-route-server;
1272 uses structure-neighbor-send-community;
1274 uses structure-neighbor-group-soft-reconfiguration;
1276 uses structure-neighbor-weight;
1278 uses structure-neighbor-group-filter-config;
1281 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" {
1282 uses structure-neighbor-group-add-paths;
1284 uses structure-neighbor-group-as-path-options;
1286 uses structure-neighbor-group-attr-unchanged;
1288 uses structure-neighbor-prefix-limit;
1290 uses structure-neighbor-nexthop-self;
1292 uses structure-neighbor-private-as;
1294 uses structure-neighbor-route-reflector;
1296 uses structure-neighbor-route-server;
1298 uses structure-neighbor-send-community;
1300 uses structure-neighbor-group-soft-reconfiguration;
1302 uses structure-neighbor-weight;
1304 uses structure-neighbor-group-filter-config;
1307 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" {
1308 uses structure-neighbor-group-add-paths;
1310 uses structure-neighbor-group-as-path-options;
1312 uses structure-neighbor-group-attr-unchanged;
1314 uses structure-neighbor-prefix-limit;
1316 uses structure-neighbor-nexthop-self;
1318 uses structure-neighbor-private-as;
1320 uses structure-neighbor-route-reflector;
1322 uses structure-neighbor-route-server;
1324 uses structure-neighbor-send-community;
1326 uses structure-neighbor-group-soft-reconfiguration;
1328 uses structure-neighbor-weight;
1330 uses structure-neighbor-group-filter-config;
1333 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" {
1334 uses structure-neighbor-group-as-path-options;
1336 uses structure-neighbor-group-attr-unchanged;
1338 uses structure-neighbor-nexthop-self;
1340 uses structure-neighbor-route-reflector;
1342 uses structure-neighbor-route-server;
1344 uses structure-neighbor-group-soft-reconfiguration;
1346 uses structure-neighbor-group-filter-config;
1349 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" {
1350 uses structure-neighbor-route-reflector;
1352 uses structure-neighbor-route-server;
1354 uses structure-neighbor-group-soft-reconfiguration;
1356 uses structure-neighbor-group-filter-config;
1359 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" {
1360 uses structure-neighbor-route-reflector;
1362 uses structure-neighbor-route-server;
1364 uses structure-neighbor-group-soft-reconfiguration;
1366 uses structure-neighbor-group-filter-config;