diff options
author | John Estabrook <jestabro@vyos.io> | 2025-03-18 10:09:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 10:09:48 -0500 |
commit | 33cc7567d909c776d43ea6698267125ea1ec2f66 (patch) | |
tree | 5ffb797cf40f6a5ccbc16560d8b9d17ebab20e3b /data/vycall.proto | |
parent | 41cbac4d6467c8bd62eeb247d2e28efa359e4a1c (diff) | |
parent | 57f788f4dc1468807a2d78f7effbbaddcae6f36c (diff) | |
download | vyconf-33cc7567d909c776d43ea6698267125ea1ec2f66.tar.gz vyconf-33cc7567d909c776d43ea6698267125ea1ec2f66.zip |
T7121: Set up communication vyconfd to vyos-commitd
Diffstat (limited to 'data/vycall.proto')
-rw-r--r-- | data/vycall.proto | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/data/vycall.proto b/data/vycall.proto new file mode 100644 index 0000000..e0af67b --- /dev/null +++ b/data/vycall.proto @@ -0,0 +1,27 @@ +message Status { + required bool success = 1; + required string out = 2; +} + +message Call { + required string script_name = 1; + optional string tag_value = 2; + optional string arg_value = 3; + optional Status reply = 4; +} + +message Commit { + required string session_id = 1; + // optional explicit load; + // otherwise, session configs are loaded from cached internal + // representation, specified by session id value + optional string named_active = 2; + optional string named_proposed = 3; + // + required bool dry_run = 4; + required bool atomic = 5; + required bool background = 6; + + optional Status init = 7; + repeated Call calls = 8; +} |