summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-06-29 18:57:49 +0200
committerGitHub <noreply@github.com>2026-06-29 18:57:49 +0200
commit0b13a48a08559a48a7a5389de6abc874e2182c5f (patch)
tree3b2b5d48751b2c5602ca7a383e9175bd00441977 /interface-definitions
parent0aafa5b25527e5c5d8064ec05c0ed33cc2724fd6 (diff)
parent130f2ce23c639eb1f5ca799799a4eb95923da23a (diff)
downloadvyos-1x-0b13a48a08559a48a7a5389de6abc874e2182c5f.tar.gz
vyos-1x-0b13a48a08559a48a7a5389de6abc874e2182c5f.zip
Merge pull request #5295 from c-po/bgp-limit
bgp: T6573: add input/output queue limit CLI commands
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/bgp/afi-route-server-client.xml.i2
-rw-r--r--interface-definitions/protocols_bgp.xml.in30
2 files changed, 31 insertions, 1 deletions
diff --git a/interface-definitions/include/bgp/afi-route-server-client.xml.i b/interface-definitions/include/bgp/afi-route-server-client.xml.i
index 9bb628ee2..5c10e9a51 100644
--- a/interface-definitions/include/bgp/afi-route-server-client.xml.i
+++ b/interface-definitions/include/bgp/afi-route-server-client.xml.i
@@ -5,4 +5,4 @@
<valueless/>
</properties>
</leafNode>
-<!-- include end --> \ No newline at end of file
+<!-- include end -->
diff --git a/interface-definitions/protocols_bgp.xml.in b/interface-definitions/protocols_bgp.xml.in
index e1a822999..261055e92 100644
--- a/interface-definitions/protocols_bgp.xml.in
+++ b/interface-definitions/protocols_bgp.xml.in
@@ -9,6 +9,36 @@
</properties>
<children>
#include <include/bgp/protocol-common-config.xml.i>
+ <node name="parameters">
+ <children>
+ <leafNode name="input-queue-limit">
+ <properties>
+ <help>Input queue limit for all peers when messaging parsing</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>Queue limit, increase only if you have the memory to handle large queues</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ <defaultValue>10000</defaultValue>
+ </leafNode>
+ <leafNode name="output-queue-limit">
+ <properties>
+ <help>Output queue limit for all peers when messaging parsing</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>Queue limit, increase only if you have the memory to handle large queues</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ <defaultValue>10000</defaultValue>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>