1 submodule frr-bgp-neighbor {
8 include "frr-bgp-common-multiprotocol";
10 include "frr-bgp-common-structure";
15 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
16 List: <mailto:dev@lists.frrouting.org>";
18 "This submodule contains general data definitions for use in BGP neighbor.
20 Copyright 2020 FRRouting
22 Redistribution and use in source and binary forms, with or without
23 modification, are permitted provided that the following conditions
26 1. Redistributions of source code must retain the above copyright notice,
27 this list of conditions and the following disclaimer.
29 2. Redistributions in binary form must reproduce the above copyright
30 notice, this list of conditions and the following disclaimer in the
31 documentation and/or other materials provided with the distribution.
33 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
34 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
35 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
36 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
37 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
38 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
39 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
40 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
41 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
43 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
50 grouping neighbor-parameters {
62 "BGP Time To Live (TTL) security check.";
64 "RFC 5082: The Generalized TTL Security Mechanism
66 RFC 7454: BGP Operations and Security.";
73 "Solo peer - part of its own update group.";
76 leaf enforce-first-as {
80 "When set to 'true' it will enforce the first AS for EBGP routes.";
86 "An optional textual description (intended primarily for use
87 with a peer or group.";
94 "Don't send open messages to this neighbor.";
97 uses neighbor-update-source;
99 uses structure-neighbor-group-ebgp-multihop;
101 uses neighbor-local-as-options;
103 uses neighbor-bfd-options;
105 uses structure-neighbor-group-admin-shutdown;
107 uses structure-neighbor-group-graceful-restart;
109 uses structure-neighbor-config-timers;
111 container afi-safis {
113 "List of address-families associated with the BGP
118 "AFI, SAFI configuration available for the
119 neighbour or group.";
120 uses mp-afi-safi-config;
125 "This leaf indicates whether the IPv4 Unicast AFI, SAFI is
126 enabled for the neighbour or group.";
129 uses mp-all-afi-safi-list-contents;