From 78067dab4b3adc5e3b0e95105bed3f2339371c93 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 19 Jan 2017 23:49:04 +0700 Subject: Add basic session setup/teardown functionality to vyconfd. --- data/vyconf.proto | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'data') 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; -- cgit v1.2.3