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 /src/session.mli | |
| 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 'src/session.mli')
| -rw-r--r-- | src/session.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.mli b/src/session.mli index f7469e0..8e5805d 100644 --- a/src/session.mli +++ b/src/session.mli @@ -53,4 +53,8 @@ val string_of_op : cfg_op -> string val prepare_commit : ?dry_run:bool -> world -> session_data -> string -> Commitd_client.Commit.commit_data +val get_config : world -> session_data -> string -> string + +val cleanup_config : world -> string -> unit + val show_config : world -> session_data -> string list -> Vyconf_connect.Vyconf_pbt.request_config_format -> string |
