]> git.proxmox.com Git - mirror_frr.git/blame - yang/frr-bgp-peer-group.yang
Merge pull request #11211 from donaldsharp/ospf6_time_left_in_hello
[mirror_frr.git] / yang / frr-bgp-peer-group.yang
CommitLineData
2228b116 1submodule frr-bgp-peer-group {
2 yang-version 1.1;
3
4 belongs-to frr-bgp {
5 prefix "bgp";
6 }
7
8 import ietf-inet-types {
9 prefix inet;
10 }
11
f4b8ec07
CS
12 import frr-bgp-types {
13 prefix frr-bt;
14 }
15
3f5af3d5
RB
16 include "frr-bgp-common-structure";
17
18 include "frr-bgp-neighbor";
19
2228b116 20 organization
21 "FRRouting";
22 contact
23 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
24 List: <mailto:dev@lists.frrouting.org>";
25 description
26 "This submodule contains general data definitions for use in BGP
27 peer group.
28
29 Copyright 2020 FRRouting
30
31 Redistribution and use in source and binary forms, with or without
32 modification, are permitted provided that the following conditions
33 are met:
34
35 1. Redistributions of source code must retain the above copyright notice,
36 this list of conditions and the following disclaimer.
37
38 2. Redistributions in binary form must reproduce the above copyright
39 notice, this list of conditions and the following disclaimer in the
40 documentation and/or other materials provided with the distribution.
41
42 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
43 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
44 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
45 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
46 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
47 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
48 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
49 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
51 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
52 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
53
54 revision 2019-12-03 {
55 description
56 "Initial revision.";
57 }
58
59 grouping bgp-peer-group-base {
60 description
61 "Parameters related to a BGP group.";
62 leaf peer-group-name {
63 type string;
64 description
65 "Name of the BGP peer-group.";
66 }
67
68 leaf-list ipv4-listen-range {
69 type inet:ipv4-address;
70 description
71 "Configure BGP dynamic neighbors listen range.";
72 }
73
74 leaf-list ipv6-listen-range {
75 type inet:ipv6-address;
76 description
77 "Configure BGP dynamic neighbors listen range.";
78 }
79
f4b8ec07
CS
80 uses neighbor-remote-as;
81
2228b116 82 uses neighbor-parameters;
d267d776
CH
83
84 uses structure-neighbor-group-capability-options;
2228b116 85 }
86
87 grouping bgp-peer-group-list {
88 description
89 "The list of BGP peer groups.";
90 list peer-group {
91 key "peer-group-name";
92 description
93 "List of BGP peer-groups configured on the local system -
94 uniquely identified by peer-group name.";
95 uses bgp-peer-group-base;
96 }
97 }
98}