]> git.proxmox.com Git - mirror_frr.git/blob - yang/frr-bgp-peer-group.yang
Merge pull request #6738 from deastoe/frr-reload-log-level
[mirror_frr.git] / yang / frr-bgp-peer-group.yang
1 submodule 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
12 include frr-bgp-common-structure;
13 include frr-bgp-neighbor;
14
15 organization
16 "FRRouting";
17 contact
18 "FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development
19 List: <mailto:dev@lists.frrouting.org>";
20 description
21 "This submodule contains general data definitions for use in BGP
22 peer group.
23
24 Copyright 2020 FRRouting
25
26 Redistribution and use in source and binary forms, with or without
27 modification, are permitted provided that the following conditions
28 are met:
29
30 1. Redistributions of source code must retain the above copyright notice,
31 this list of conditions and the following disclaimer.
32
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.
36
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.";
48
49 revision 2019-12-03 {
50 description
51 "Initial revision.";
52 }
53
54 grouping bgp-peer-group-base {
55 description
56 "Parameters related to a BGP group.";
57 leaf peer-group-name {
58 type string;
59 description
60 "Name of the BGP peer-group.";
61 }
62
63 leaf-list ipv4-listen-range {
64 type inet:ipv4-address;
65 description
66 "Configure BGP dynamic neighbors listen range.";
67 }
68
69 leaf-list ipv6-listen-range {
70 type inet:ipv6-address;
71 description
72 "Configure BGP dynamic neighbors listen range.";
73 }
74
75 uses neighbor-parameters;
76 }
77
78 grouping bgp-peer-group-list {
79 description
80 "The list of BGP peer groups.";
81 list peer-group {
82 key "peer-group-name";
83 description
84 "List of BGP peer-groups configured on the local system -
85 uniquely identified by peer-group name.";
86 uses bgp-peer-group-base;
87 }
88 }
89 }