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