diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-15 07:25:39 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-15 07:26:39 +0100 |
commit | 892c28ccf634173d4c4952c248cb03974c560793 (patch) | |
tree | cf0c67c253dbf84e8d9a378ea737036c6bf8696e /interface-definitions | |
parent | a9ff143fc1e9a95ac2f375db0bd06a8a43fa860e (diff) | |
download | vyos-1x-892c28ccf634173d4c4952c248cb03974c560793.tar.gz vyos-1x-892c28ccf634173d4c4952c248cb03974c560793.zip |
frr: T4020: add option to define number of open file descriptors
This allows the operator to control the number of open file descriptors each
daemon is allowed to start with. The current assumed value on most operating
systems is 1024.
If the operator plans to run bgp with several thousands of peers then this is
where we would modify FRR to allow this to happen.
set system frr descriptors <n>
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system-frr.xml.in | 14 |
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> |