aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VppConfigGenerator.py
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-12-20 13:28:36 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2024-04-11 12:04:45 +0000
commit5841dee1f0b3c01651b44d6861931dec3312ad13 (patch)
tree2ef34829a086d88cff697352c9cb57990db28e96 /resources/libraries/python/VppConfigGenerator.py
parent00531ec6ec978e4beb18db17973bb0d81b9b5934 (diff)
feat(tests): IPv6 scale
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I720b7c96a6ac9f328aff57437e51254364604911
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r--resources/libraries/python/VppConfigGenerator.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py
index e23a8520da..5b2e883b97 100644
--- a/resources/libraries/python/VppConfigGenerator.py
+++ b/resources/libraries/python/VppConfigGenerator.py
@@ -693,6 +693,15 @@ class VppConfigGenerator:
path = ["dsa", f"dev {device}"]
self.add_config_item(self._nodeconfig, "", path)
+ def add_logging_default_syslog_log_level(self, value="debug"):
+ """Add default logging level for syslog.
+
+ :param value: Log level.
+ :type value: str
+ """
+ path = ["logging", "default-syslog-log-level"]
+ self.add_config_item(self._nodeconfig, value, path)
+
def write_config(self, filename=None):
"""Generate and write VPP startup configuration to file.