diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-06-25 22:10:04 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-06-29 17:10:13 +0200 |
| commit | 1ba7fc62556ff3ef99280d876c92e38d24dc0bfc (patch) | |
| tree | 73a3f30fa4241423b96e105d57871518c945dd77 /interface-definitions/protocols_bgp.xml.in | |
| parent | 772ccb06548fb1a65d8623ea545facb0bcabb97c (diff) | |
| download | vyos-1x-1ba7fc62556ff3ef99280d876c92e38d24dc0bfc.tar.gz vyos-1x-1ba7fc62556ff3ef99280d876c92e38d24dc0bfc.zip | |
bgp: T6573: add input/output queue limit CLI commands
Add input-queue-limit and output-queue-limit CLI nodes to expose global FRR
"bgp input-queue-limit" and "bgp output-queue-limit" commands via our CLI.
Parameters control the maximum number of queued messages for all BGP peers
during message parsing. FRR default is 10000 which we honor.
Note that this is a global option and can only be set for the global/default
BGP instance.
Diffstat (limited to 'interface-definitions/protocols_bgp.xml.in')
| -rw-r--r-- | interface-definitions/protocols_bgp.xml.in | 30 |
1 files changed, 30 insertions, 0 deletions
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> |
