summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_frr.py
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 /src/conf_mode/system_frr.py
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 'src/conf_mode/system_frr.py')
-rwxr-xr-xsrc/conf_mode/system_frr.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conf_mode/system_frr.py b/src/conf_mode/system_frr.py
index 6727b63c2..07f291000 100755
--- a/src/conf_mode/system_frr.py
+++ b/src/conf_mode/system_frr.py
@@ -40,7 +40,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