1 submodule frr-bgp-common-multiprotocol {
15 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
16 List: <mailto:dev@lists.frrouting.org>";
18 "This module contains general data definitions for use in BGP
21 Copyright 2020 FRRouting
23 Redistribution and use in source and binary forms, with or without
24 modification, are permitted provided that the following conditions
27 1. Redistributions of source code must retain the above copyright notice,
28 this list of conditions and the following disclaimer.
30 2. Redistributions in binary form must reproduce the above copyright
31 notice, this list of conditions and the following disclaimer in the
32 documentation and/or other materials provided with the distribution.
34 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
35 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
36 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
37 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
38 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
39 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
41 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
42 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
43 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
44 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
51 grouping mp-afi-safi-config {
53 "Configuration parameters used for all BGP AFI-SAFIs.";
56 base frr-rt:afi-safi-type;
63 grouping mp-all-afi-safi-list-contents {
65 "A common grouping used for contents of the list that is used
66 for AFI-SAFI entries.";
67 container ipv4-unicast {
68 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv4-unicast')" {
70 "Include this container for IPv4 Unicast specific
74 "IPv4 unicast configuration options.";
77 container ipv6-unicast {
78 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv6-unicast')" {
80 "Include this container for IPv6 Unicast specific
84 "IPv6 unicast configuration options.";
87 container ipv4-labeled-unicast {
88 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv4-labeled-unicast')" {
90 "Include this container for IPv4 Labeled Unicast specific
94 "IPv4 Labeled Unicast configuration options.";
97 container ipv6-labeled-unicast {
98 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv6-labeled-unicast')" {
100 "Include this container for IPv6 Labeled Unicast specific
104 "IPv6 Labeled Unicast configuration options.";
107 container l3vpn-ipv4-unicast {
108 when "derived-from-or-self(../afi-safi-name, 'frr-rt:l3vpn-ipv4-unicast')" {
110 "Include this container for IPv4 Unicast L3VPN specific
114 "Unicast IPv4 L3VPN configuration options.";
117 container l3vpn-ipv6-unicast {
118 when "derived-from-or-self(../afi-safi-name, 'frr-rt:l3vpn-ipv6-unicast')" {
120 "Include this container for unicast IPv6 L3VPN specific
124 "Unicast IPv6 L3VPN configuration options.";
127 container l3vpn-ipv4-multicast {
128 when "derived-from-or-self(../afi-safi-name, 'frr-rt:l3vpn-ipv4-multicast')" {
130 "Include this container for multicast IPv4 L3VPN specific
134 "Multicast IPv4 L3VPN configuration options.";
137 container l3vpn-ipv6-multicast {
138 when "derived-from-or-self(../afi-safi-name, 'frr-rt:l3vpn-ipv6-multicast')" {
140 "Include this container for multicast IPv6 L3VPN specific
144 "Multicast IPv6 L3VPN configuration options.";
147 container l2vpn-vpls {
148 when "derived-from-or-self(../afi-safi-name, 'frr-rt:l2vpn-vpls')" {
150 "Include this container for BGP-signalled VPLS specific
154 "BGP-signalled VPLS configuration options.";
157 container l2vpn-evpn {
158 when "derived-from-or-self(../afi-safi-name, 'frr-rt:l2vpn-evpn')" {
160 "Include this container for BGP EVPN specific
164 "BGP EVPN configuration options.";
167 container ipv4-multicast {
168 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv4-multicast')" {
170 "Include this container for IPv4 multicast specific
174 "IPv4 multicast configuration options.";
177 container ipv6-multicast {
178 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv6-multicast')" {
180 "Include this container for IPv6 multicast specific
184 "IPv6 multicast configuration options.";
187 container ipv4-flowspec {
188 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv4-flowspec')" {
190 "Include this container for IPv4 flowspec specific
194 "IPv4 flowspec configuration options.";
197 container ipv6-flowspec {
198 when "derived-from-or-self(../afi-safi-name, 'frr-rt:ipv6-flowspec')" {
200 "Include this container for IPv6 flowspec specific
204 "IPv6 flowspec configuration options.";