summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-12-09 14:29:02 -0600
committerJohn Estabrook <jestabro@vyos.io>2025-12-17 19:03:38 -0600
commita2775407f2b69f9e0b5030bcac691463abbede06 (patch)
tree7b2872a346be6d1e58456fe9413303437181a48e /data
parentf6c35930530cc72794a3f7c7488422ccb604b7fd (diff)
downloadvyconf-a2775407f2b69f9e0b5030bcac691463abbede06.tar.gz
vyconf-a2775407f2b69f9e0b5030bcac691463abbede06.zip
T8061: add reference_path_exists request
Check whether a given config path has a form compatible with the reference tree, irrespective of validity of values.
Diffstat (limited to 'data')
-rw-r--r--data/vyconf.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto
index f45792a..4697186 100644
--- a/data/vyconf.proto
+++ b/data/vyconf.proto
@@ -189,6 +189,9 @@ message Request {
optional string file = 1;
}
+ message ReferencePathExists {
+ repeated string path = 1;
+ }
oneof msg {
Prompt prompt = 1;
@@ -229,6 +232,7 @@ message Request {
GetEditLevel get_edit_level = 36;
EditLevelRoot edit_level_root = 37;
ConfigUnsaved config_unsaved = 38;
+ ReferencePathExists reference_path_exists = 39;
}
}