diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-01-19 23:49:04 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-01-19 23:49:04 +0700 |
commit | 78067dab4b3adc5e3b0e95105bed3f2339371c93 (patch) | |
tree | c59ad42d381c40445e2700f6ba9a844059addf9d /data | |
parent | b76755c8d369f548fb418933688aa1e112480947 (diff) | |
download | vyconf-78067dab4b3adc5e3b0e95105bed3f2339371c93.tar.gz vyconf-78067dab4b3adc5e3b0e95105bed3f2339371c93.zip |
Add basic session setup/teardown functionality to vyconfd.
Diffstat (limited to 'data')
-rw-r--r-- | data/vyconf.proto | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index dd2cc95..de8b5f6 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -92,8 +92,11 @@ message Request { } message EnterConfigurationMode { - optional bool Exclusive = 1; - optional bool OverrideExclusive = 2; + required bool Exclusive = 1; + required bool OverrideExclusive = 2; + } + + message ExitConfigurationMode { } oneof msg { @@ -116,9 +119,16 @@ message Request { RunOpMode run_op_mode = 17; Confirm confirm = 18; EnterConfigurationMode configure = 19; + ExitConfigurationMode exit_configure = 20; + string teardown = 21; } } +message RequestEnvelope { + optional string token = 1; + required Request request = 2; +} + enum Status { SUCCESS = 0; FAIL = 1; |