diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-05-20 15:23:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-20 15:23:07 +0100 |
| commit | 014a390488aa8d6601f907f8a691878f3583b5e8 (patch) | |
| tree | e03331fc8c2d546f3df4b02df6decb1e590ffb6d /data | |
| parent | 9c0377200774cf8351dde9e134634aef85381674 (diff) | |
| parent | b50a8d2b1d7af48a66446d71dd3875307cc2b1e0 (diff) | |
| download | vyconf-014a390488aa8d6601f907f8a691878f3583b5e8.tar.gz vyconf-014a390488aa8d6601f907f8a691878f3583b5e8.zip | |
Merge pull request #21 from jestabro/config-context
T7363: Add vyconf aware initialization of Config
Diffstat (limited to 'data')
| -rw-r--r-- | data/vyconf.proto | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index 815ec68..30f213c 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -13,8 +13,21 @@ message Request { } message SetupSession { - optional string ClientApplication = 1; - optional int32 OnBehalfOf = 2; + required int32 ClientPid = 1; + optional string ClientApplication = 2; + optional int32 OnBehalfOf = 3; + } + + message SessionOfPid { + required int32 ClientPid = 1; + } + + message SessionUpdatePid { + required int32 ClientPid = 1; + } + + message GetConfig { + optional int32 dummy = 1; } message Teardown { @@ -151,14 +164,17 @@ message Request { ListChildren list_children = 16; RunOpMode run_op_mode = 17; Confirm confirm = 18; - EnterConfigurationMode configure = 19; - ExitConfigurationMode exit_configure = 20; + EnterConfigurationMode enter_configuration_mode = 19; + ExitConfigurationMode exit_configuration_mode = 20; Validate validate = 21; Teardown teardown = 22; ReloadReftree reload_reftree = 23; Load load = 24; Discard discard = 25; SessionChanged session_changed = 26; + SessionOfPid session_of_pid = 27; + SessionUpdatePid session_update_pid = 28; + GetConfig get_config = 29; } } @@ -177,6 +193,7 @@ enum Errnum { INTERNAL_ERROR = 6; PERMISSION_DENIED = 7; PATH_ALREADY_EXISTS = 8; + UNCOMMITED_CHANGES = 9; } message Response { |
