From b50a8d2b1d7af48a66446d71dd3875307cc2b1e0 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Fri, 9 May 2025 21:32:41 -0500 Subject: 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. --- data/vyconf.proto | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') 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; } } -- cgit v1.2.3