summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-21 18:09:32 +0100
committerGitHub <noreply@github.com>2021-01-21 18:09:32 +0100
commita80cd3058cb8d9a9152c8c205d41175056c6fa52 (patch)
tree9f8b144dabf9bfcefaed16ee73627acbafb620f9 /interface-definitions/protocols-bgp.xml.in
parent0a6ca540da53d07e19e1186404d706757b2e5942 (diff)
parenta0a88d2dea9710efd80b27b24b4f40b13c613768 (diff)
downloadvyos-1x-a80cd3058cb8d9a9152c8c205d41175056c6fa52.tar.gz
vyos-1x-a80cd3058cb8d9a9152c8c205d41175056c6fa52.zip
Merge pull request #690 from Cheeze-It/current
bgp: T1875: Adding BGP listen range FRR feature
Diffstat (limited to 'interface-definitions/protocols-bgp.xml.in')
-rw-r--r--interface-definitions/protocols-bgp.xml.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index cec73a15b..12437128c 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>&lt;x.x.x.x/x&gt; &lt;h:h:h:h:h:h:h:h/h&gt;</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>