diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-05-09 21:32:41 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-05-12 17:24:24 -0500 |
| commit | b50a8d2b1d7af48a66446d71dd3875307cc2b1e0 (patch) | |
| tree | be11d3f1e97ca5818e02c9155f953e0df42a552b /data | |
| parent | d4d8d619a70e81229927bf0268d8c1257fd7e5cd (diff) | |
| download | vyconf-b50a8d2b1d7af48a66446d71dd3875307cc2b1e0.tar.gz vyconf-b50a8d2b1d7af48a66446d71dd3875307cc2b1e0.zip | |
T7363: add get_config(s) request for Config instance initialization
Request cache of session running and proposed configs for loading on
intialization of Config instance. As used elsewhere (for example
vyos-commitd), this is a much faster method of exchanging information
than render and re-parse.
Diffstat (limited to 'data')
| -rw-r--r-- | data/vyconf.proto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index 308bd6b..30f213c 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -26,6 +26,10 @@ message Request { required int32 ClientPid = 1; } + message GetConfig { + optional int32 dummy = 1; + } + message Teardown { optional int32 OnBehalfOf = 1; } @@ -170,6 +174,7 @@ message Request { SessionChanged session_changed = 26; SessionOfPid session_of_pid = 27; SessionUpdatePid session_update_pid = 28; + GetConfig get_config = 29; } } |
