diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-06-24 07:07:09 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-07-06 18:27:40 -0500 |
| commit | 59ebae9198439ddd1e9bbdec61d163f638e1071a (patch) | |
| tree | 119133764b05a6cd1a5a182c555044b2170f4a17 /data | |
| parent | 1e4f661b8c29edf0b03eac4adf032735d6a885a7 (diff) | |
| download | vyconf-59ebae9198439ddd1e9bbdec61d163f638e1071a.tar.gz vyconf-59ebae9198439ddd1e9bbdec61d163f638e1071a.zip | |
T7499: use direct request to vyconfd to avoid re-validating paths
Merging before passing to the backend results in re-validation of
existing paths in the proposed config; this is unavoidable with the
legacy backend. For vyconf, send the merge proposal with the request, so
validation is only required on new paths.
Diffstat (limited to 'data')
| -rw-r--r-- | data/vyconf.proto | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index 4466837..30f95aa 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -91,7 +91,8 @@ message Request { message Merge { required string Location = 1; - optional ConfigFormat format = 2; + required bool destructive = 2; + optional ConfigFormat format = 3; } message Save { |
