diff options
author | Cheeze_It <none@none.com> | 2021-01-17 16:32:45 -0700 |
---|---|---|
committer | Cheeze_It <none@none.com> | 2021-01-20 14:42:17 -0700 |
commit | a0a88d2dea9710efd80b27b24b4f40b13c613768 (patch) | |
tree | 6eec8cbd3ee6d01f04224a57b6c96e73e64b24a8 /interface-definitions | |
parent | 56ec3259b67c6441d992948a8bae95039194eb6c (diff) | |
download | vyos-1x-a0a88d2dea9710efd80b27b24b4f40b13c613768.tar.gz vyos-1x-a0a88d2dea9710efd80b27b24b4f40b13c613768.zip |
bgp: T1875: Adding BGP listen range FRR feature
In this commit we are adding the FRR BGP listen
range feature. Specifically it is useful for being
able to specify a range in which BGP peers can
connect to the local router.
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/protocols-bgp.xml.in | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in index 61bc6ce86..96fd74db7 100644 --- a/interface-definitions/protocols-bgp.xml.in +++ b/interface-definitions/protocols-bgp.xml.in @@ -250,6 +250,40 @@ </leafNode> </children> </node> + <node name="listen"> + <properties> + <help>Listen for and accept BGP dynamic neighbors from range</help> + </properties> + <children> + <leafNode name="limit"> + <properties> + <help>Maximum number of dynamic neighbors that can be created</help> + <valueHelp> + <format>u32:1-5000</format> + <description>BGP neighbor limit</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-5000"/> + </constraint> + </properties> + </leafNode> + <tagNode name="range"> + <properties> + <help>IPv4/IPv6 prefix range</help> + <completionHelp> + <list><x.x.x.x/x> <h:h:h:h:h:h:h:h/h></list> + </completionHelp> + <constraint> + <validator name="ipv4-prefix"/> + <validator name="ipv6-prefix"/> + </constraint> + </properties> + <children> + #include <include/bgp-peer-group.xml.i> + </children> + </tagNode> + </children> + </node> <tagNode name="neighbor"> <properties> <help>BGP neighbor</help> |