1 submodule frr-bgp-bmp {
8 import ietf-inet-types {
12 import frr-bgp-types {
16 include "frr-bgp-common-multiprotocol";
21 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
22 List: <mailto:dev@lists.frrouting.org>";
24 "This submodule defines a model for managing FRR BGP BMP.
26 Copyright 2020 FRRouting
28 Redistribution and use in source and binary forms, with or without
29 modification, are permitted provided that the following conditions
32 1. Redistributions of source code must retain the above copyright notice,
33 this list of conditions and the following disclaimer.
35 2. Redistributions in binary form must reproduce the above copyright
36 notice, this list of conditions and the following disclaimer in the
37 documentation and/or other materials provided with the distribution.
39 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
40 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
41 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
42 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
43 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
45 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
46 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
47 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
49 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
56 grouping bmp-incoming-session {
57 container incoming-session {
59 key "address tcp-port";
63 "IPv4 address to listen on.";
73 grouping bmp-outgoing-session {
74 container outgoing-session {
76 key "hostname tcp-port";
87 range "100..86400000";
92 "Minimum connection retry interval.";
97 range "100..86400000";
102 "Maximum connection retry interval.";
108 grouping bmp-afi-safis {
109 container afi-safis {
111 "List of address-families associated with the BGP
116 "AFI, SAFI configuration available for the
117 neighbour or group.";
118 uses mp-afi-safi-config;
120 uses mp-all-afi-safi-list-contents;
125 grouping bmp-afi-safi-common-config {
126 container common-config {
131 "Send state before policy and filter processing.";
138 "Send state after policy and filter processing.";
143 grouping global-bmp-config {
145 "Structural grouping used to include filter
146 configuration for BMP.";
147 container bmp-config {
149 "BMP related parameters.";
155 "Targets group name.";
158 uses bmp-incoming-session;
160 uses bmp-outgoing-session;
166 "When set to 'TRUE' it send BMP route mirroring messages.";
171 range "100..86400000";
175 "Interval to send BMP Stats.";
178 leaf ipv4-access-list {
179 type frr-bt:access-list-ref;
181 "Access list to restrict BMP sessions.";
184 leaf ipv6-access-list {
185 type frr-bt:access-list-ref;
187 "Access list to restrict BMP sessions.";
193 leaf mirror-buffer-limit {
195 range "0..4294967294";
199 "Maximum memory used for buffered mirroring messages.";