summaryrefslogtreecommitdiff
path: root/python/vyos/defaults.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-08 15:41:53 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-16 22:24:50 +0100
commit1666e3d99b8de700c880f09ce6ad5ea8bc7f4568 (patch)
tree84e5cf392f8c2c03d5edcb194a50151d99cf9d19 /python/vyos/defaults.py
parente11a6b7abb719b0e698ae2e02647f450671c6fb1 (diff)
downloadveeos-1x-1666e3d99b8de700c880f09ce6ad5ea8bc7f4568.tar.gz
veeos-1x-1666e3d99b8de700c880f09ce6ad5ea8bc7f4568.zip
frr: T6746: add default entry for config debug file
A lot of services have dynamic debug capabilities which will be turned on by creating a file in /tmp. These scripts have the path hardcoded and sometimes accross multiple places (bad). This commit introduces vyos.defaults.frr_debug_enable to get the path for the debug file from a single location.
Diffstat (limited to 'python/vyos/defaults.py')
-rw-r--r--python/vyos/defaults.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index 425990967..9757a34df 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -42,6 +42,7 @@ directories = {
config_status = '/tmp/vyos-config-status'
api_config_state = '/run/http-api-state'
+frr_debug_enable = '/tmp/vyos.frr.debug'
cfg_group = 'vyattacfg'