summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-12-09 15:30:10 -0600
committerJohn Estabrook <jestabro@vyos.io>2025-12-17 19:03:38 -0600
commit28b6ac04aaef995656eaabb2c9a279a79e657687 (patch)
treef10db931d15eeb8a7fbce2c9e619a6c0032a8aad /data
parenta2775407f2b69f9e0b5030bcac691463abbede06 (diff)
downloadvyconf-28b6ac04aaef995656eaabb2c9a279a79e657687.tar.gz
vyconf-28b6ac04aaef995656eaabb2c9a279a79e657687.zip
T8061: add get_path_type request
Get the potential node type of a path, preliminary to any validation of values.
Diffstat (limited to 'data')
-rw-r--r--data/vyconf.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto
index 4697186..af10d68 100644
--- a/data/vyconf.proto
+++ b/data/vyconf.proto
@@ -193,6 +193,11 @@ message Request {
repeated string path = 1;
}
+ message GetPathType {
+ repeated string path = 1;
+ required bool legacy_format = 2;
+ }
+
oneof msg {
Prompt prompt = 1;
SetupSession setup_session = 2;
@@ -233,6 +238,7 @@ message Request {
EditLevelRoot edit_level_root = 37;
ConfigUnsaved config_unsaved = 38;
ReferencePathExists reference_path_exists = 39;
+ GetPathType get_path_type = 40;
}
}