diff options
author | Daniil Baturin <daniil@baturin.org> | 2025-01-20 19:15:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 19:15:10 +0000 |
commit | a375860a302a224722d254c31a1cb210cb12d972 (patch) | |
tree | 96217a1eaf38c910e183c30f2adab865b409e916 /data | |
parent | 5ae7f4150091efb66c6f9946df81adde3ddc6ace (diff) | |
parent | 5cb1952f52a8a67905a9361364a0c0823d44ed03 (diff) | |
download | vyconf-a375860a302a224722d254c31a1cb210cb12d972.tar.gz vyconf-a375860a302a224722d254c31a1cb210cb12d972.zip |
Merge pull request #13 from jestabro/mutable-world
T7046: T6946: add ability to reload reference tree at runtime
Diffstat (limited to 'data')
-rw-r--r-- | data/vyconf.proto | 8 | ||||
-rw-r--r-- | data/vyconfd.conf | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index d989fb3..a09d84a 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -117,6 +117,13 @@ message Request { message ExitConfigurationMode { } + message ReloadReftree { + // this is a temporary workaround for a bug with empty messages, and + // will be removed when the issue is resolved + optional int32 OnBehalfOf = 1; + } + + oneof msg { Status status = 1; SetupSession setup_session = 2; @@ -140,6 +147,7 @@ message Request { ExitConfigurationMode exit_configure = 20; Validate validate = 21; Teardown teardown = 22; + ReloadReftree reload_reftree = 23; } } diff --git a/data/vyconfd.conf b/data/vyconfd.conf index e0b16d0..bcde860 100644 --- a/data/vyconfd.conf +++ b/data/vyconfd.conf @@ -5,10 +5,13 @@ name = "vyconfd-minimal" data_dir = "/usr/share/vyos/vyconf" program_dir = "/usr/libexec/vyos" config_dir = "/usr/libexec/vyos/vyconf/config" +reftree_dir = "/usr/libexec/vyos/vyconf/reftree" # paths relative to config_dir primary_config = "config.boot" fallback_config = "config.failsafe" + +# paths relative to reftree_dir reference_tree = "reftree.cache" [vyconf] |