1 submodule frr-bgp-common-multiprotocol {
12 include frr-bgp-common;
17 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
18 List: <mailto:dev@lists.frrouting.org>";
20 "This module contains general data definitions for use in BGP
23 Copyright 2020 FRRouting
25 Redistribution and use in source and binary forms, with or without
26 modification, are permitted provided that the following conditions
29 1. Redistributions of source code must retain the above copyright notice,
30 this list of conditions and the following disclaimer.
32 2. Redistributions in binary form must reproduce the above copyright
33 notice, this list of conditions and the following disclaimer in the
34 documentation and/or other materials provided with the distribution.
36 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
37 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
38 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
39 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
40 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
43 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
44 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
45 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
53 grouping mp-afi-safi-config {
55 "Configuration parameters used for all BGP AFI-SAFIs.";
58 base frr-rt:afi-safi-type;
65 grouping mp-all-afi-safi-list-contents {
67 "A common grouping used for contents of the list that is used
68 for AFI-SAFI entries.";
69 container ipv4-unicast {
70 when "derived-from-or-self(../afi-safi-name, 'ipv4-unicast')" {
72 "Include this container for IPv4 Unicast specific
76 "IPv4 unicast configuration options.";
79 container ipv6-unicast {
80 when "derived-from-or-self(../afi-safi-name, 'ipv6-unicast')" {
82 "Include this container for IPv6 Unicast specific
86 "IPv6 unicast configuration options.";
89 container ipv4-labeled-unicast {
90 when "derived-from-or-self(../afi-safi-name, 'ipv4-labeled-unicast')" {
92 "Include this container for IPv4 Labeled Unicast specific
96 "IPv4 Labeled Unicast configuration options.";
99 container ipv6-labeled-unicast {
100 when "derived-from-or-self(../afi-safi-name, 'ipv6-labeled-unicast')" {
102 "Include this container for IPv6 Labeled Unicast specific
106 "IPv6 Labeled Unicast configuration options.";
109 container l3vpn-ipv4-unicast {
110 when "derived-from-or-self(../afi-safi-name, 'l3vpn-ipv4-unicast')" {
112 "Include this container for IPv4 Unicast L3VPN specific
116 "Unicast IPv4 L3VPN configuration options.";
119 container l3vpn-ipv6-unicast {
120 when "derived-from-or-self(../afi-safi-name, 'l3vpn-ipv6-unicast')" {
122 "Include this container for unicast IPv6 L3VPN specific
126 "Unicast IPv6 L3VPN configuration options.";
129 container l3vpn-ipv4-multicast {
130 when "derived-from-or-self(../afi-safi-name, 'l3vpn-ipv4-multicast')" {
132 "Include this container for multicast IPv4 L3VPN specific
136 "Multicast IPv4 L3VPN configuration options.";
139 container l3vpn-ipv6-multicast {
140 when "derived-from-or-self(../afi-safi-name, 'l3vpn-ipv6-multicast')" {
142 "Include this container for multicast IPv6 L3VPN specific
146 "Multicast IPv6 L3VPN configuration options.";
149 container l2vpn-vpls {
150 when "derived-from-or-self(../afi-safi-name, 'l2vpn-vpls')" {
152 "Include this container for BGP-signalled VPLS specific
156 "BGP-signalled VPLS configuration options.";
159 container l2vpn-evpn {
160 when "derived-from-or-self(../afi-safi-name, 'l2vpn-evpn')" {
162 "Include this container for BGP EVPN specific
166 "BGP EVPN configuration options.";
169 container ipv4-multicast {
170 when "derived-from-or-self(../afi-safi-name, 'ipv4-multicast')" {
172 "Include this container for IPv4 multicast specific
176 "IPv4 multicast configuration options.";
179 container ipv6-multicast {
180 when "derived-from-or-self(../afi-safi-name, 'ipv6-multicast')" {
182 "Include this container for IPv6 multicast specific
186 "IPv6 multicast configuration options.";
189 container ipv4-flowspec {
190 when "derived-from-or-self(../afi-safi-name, 'ipv4-flowspec')" {
192 "Include this container for IPv4 flowspec specific
196 "IPv4 flowspec configuration options.";
199 container ipv6-flowspec {
200 when "derived-from-or-self(../afi-safi-name, 'ipv6-flowspec')" {
202 "Include this container for IPv6 flowspec specific
206 "IPv6 flowspec configuration options.";