summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-30 21:47:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-30 21:47:33 +0200
commit3a8b7d7a10c23c0ffccebfca23054fd5c8a50018 (patch)
treea56c58c0da0931e0bbbfba65257d317006476ace /interface-definitions/include
parentd79cbf74142d4ab9fb00ff583c147a95a134ed92 (diff)
downloadvyos-1x-3a8b7d7a10c23c0ffccebfca23054fd5c8a50018.tar.gz
vyos-1x-3a8b7d7a10c23c0ffccebfca23054fd5c8a50018.zip
bgp: T3590: limiting maximum number of prefixes to be sent to a peer
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/bgp/afi-common.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-common.xml.i b/interface-definitions/include/bgp/afi-common.xml.i
index 20b0dda66..62beff40c 100644
--- a/interface-definitions/include/bgp/afi-common.xml.i
+++ b/interface-definitions/include/bgp/afi-common.xml.i
@@ -88,6 +88,18 @@
</constraint>
</properties>
</leafNode>
+<leafNode name="maximum-prefix-out">
+ <properties>
+ <help>Maximum number of prefixes to be sent to this peer</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>Prefix limit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+</leafNode>
#include <include/bgp/afi-nexthop-self.xml.i>
<leafNode name="remove-private-as">
<properties>