1 submodule frr-bgp-bmp {
8 import ietf-inet-types {
12 import frr-bgp-types {
19 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
20 List: <mailto:dev@lists.frrouting.org>";
22 "This submodule defines a model for managing FRR BGP BMP.
24 Copyright 2020 FRRouting
26 Redistribution and use in source and binary forms, with or without
27 modification, are permitted provided that the following conditions
30 1. Redistributions of source code must retain the above copyright notice,
31 this list of conditions and the following disclaimer.
33 2. Redistributions in binary form must reproduce the above copyright
34 notice, this list of conditions and the following disclaimer in the
35 documentation and/or other materials provided with the distribution.
37 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
38 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
39 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
40 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
41 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
42 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
43 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
44 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
45 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
47 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
54 grouping bmp-incoming-session {
55 container incoming-session {
57 key "address tcp-port";
61 "IPv4 address to listen on.";
71 grouping bmp-outgoing-session {
72 container outgoing-session {
74 key "hostname tcp-port";
85 range "100..86400000";
90 "Minimum connection retry interval.";
95 range "100..86400000";
100 "Maximum connection retry interval.";
106 grouping bmp-afi-safis {
107 container afi-safis {
109 "List of address-families associated with the BGP
114 "AFI, SAFI configuration available for the
115 neighbour or group.";
116 uses mp-afi-safi-config;
118 uses mp-all-afi-safi-list-contents;
123 grouping bmp-afi-safi-common-config {
124 container common-config {
129 "Send state before policy and filter processing.";
136 "Send state after policy and filter processing.";
141 grouping global-bmp-config {
143 "Structural grouping used to include filter
144 configuration for BMP.";
145 container bmp-config {
147 "BMP related parameters.";
153 "Targets group name.";
156 uses bmp-incoming-session;
158 uses bmp-outgoing-session;
164 "When set to 'TRUE' it send BMP route mirroring messages.";
169 range "100..86400000";
173 "Interval to send BMP Stats.";
176 leaf ipv4-access-list {
177 type frr-bt:access-list-ref;
179 "Access list to restrict BMP sessions.";
182 leaf ipv6-access-list {
183 type frr-bt:access-list-ref;
185 "Access list to restrict BMP sessions.";
191 leaf mirror-buffer-limit {
193 range "0..4294967294";
197 "Maximum memory used for buffered mirroring messages.";