summaryrefslogtreecommitdiff
path: root/interface-definitions/system-frr.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-12-15 11:13:37 +0200
committerGitHub <noreply@github.com>2023-12-15 11:13:37 +0200
commit357123273c808ddec77b097d47231e3301ee5731 (patch)
tree9ee70fdd8947f355a8de9a4e2b80e51d56d2f339 /interface-definitions/system-frr.xml.in
parente2d9b215659a9131e9a03f9ebd74c8af6a9e37fd (diff)
parent892c28ccf634173d4c4952c248cb03974c560793 (diff)
downloadvyos-1x-357123273c808ddec77b097d47231e3301ee5731.tar.gz
vyos-1x-357123273c808ddec77b097d47231e3301ee5731.zip
Merge pull request #2639 from c-po/frr-t4020
frr: T4020: add option to define number of open file descriptors
Diffstat (limited to 'interface-definitions/system-frr.xml.in')
-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>