summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-15 10:42:36 +0100
committerGitHub <noreply@github.com>2023-12-15 10:42:36 +0100
commit5f11abd7b80c03390e7d60fa887b64a8d84e2283 (patch)
treee11e6cb502a935d4ca72c2f9a07351ba182cff38 /interface-definitions
parentdf285b1a0743e23ff110fdd7a8a24d8b4cd568db (diff)
parentf4bf213366b50efb6ccc94348ea43073a0cf1a90 (diff)
downloadvyos-1x-5f11abd7b80c03390e7d60fa887b64a8d84e2283.tar.gz
vyos-1x-5f11abd7b80c03390e7d60fa887b64a8d84e2283.zip
Merge pull request #2640 from vyos/mergify/bp/sagitta/pr-2639
frr: T4020: add option to define number of open file descriptors (backport #2639)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-frr.xml.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/system-frr.xml.in b/interface-definitions/system-frr.xml.in
index 9fe23ed75..76001b392 100644
--- a/interface-definitions/system-frr.xml.in
+++ b/interface-definitions/system-frr.xml.in
@@ -15,6 +15,20 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="descriptors">
+ <properties>
+ <help>Number of open file descriptors a process is allowed to use</help>
+ <valueHelp>
+ <format>u32:1024-8192</format>
+ <description>Number of file descriptors</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1024-8192"/>
+ </constraint>
+ <constraintErrorMessage>Port number must be in range 1024 to 8192</constraintErrorMessage>
+ </properties>
+ <defaultValue>1024</defaultValue>
+ </leafNode>
<leafNode name="irdp">
<properties>
<help>Enable ICMP Router Discovery Protocol support</help>