From f4bf213366b50efb6ccc94348ea43073a0cf1a90 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 15 Dec 2023 07:25:39 +0100 Subject: 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 (cherry picked from commit 892c28ccf634173d4c4952c248cb03974c560793) --- src/conf_mode/system_frr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/conf_mode/system_frr.py') diff --git a/src/conf_mode/system_frr.py b/src/conf_mode/system_frr.py index d8224b3c3..d43b172a6 100755 --- a/src/conf_mode/system_frr.py +++ b/src/conf_mode/system_frr.py @@ -38,7 +38,9 @@ def get_config(config=None): conf = Config() base = ['system', 'frr'] - frr_config = conf.get_config_dict(base, get_first_key=True) + frr_config = conf.get_config_dict(base, key_mangling=('-', '_'), + get_first_key=True, + with_recursive_defaults=True) return frr_config -- cgit v1.2.3