diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-09-18 12:32:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 12:32:18 +0100 |
| commit | 304e4d2a172fe1baf2c1df7f61b7a0a8e40f7d5d (patch) | |
| tree | 4a415189068819e7914ae1352a69abe08eb45c60 /src/commit.mli | |
| parent | 2da0981501a9bec8b69d29f1e52c10db90571aa4 (diff) | |
| parent | bca62a7bd1da4e78497fdce3882421609ce28c00 (diff) | |
| download | vyconf-304e4d2a172fe1baf2c1df7f61b7a0a8e40f7d5d.tar.gz vyconf-304e4d2a172fe1baf2c1df7f61b7a0a8e40f7d5d.zip | |
Merge pull request #31 from jestabro/interstitial-set
T7737: add analogue of configfs for config tree updates during commit
Diffstat (limited to 'src/commit.mli')
| -rw-r--r-- | src/commit.mli | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/commit.mli b/src/commit.mli index 01022ec..ee38768 100644 --- a/src/commit.mli +++ b/src/commit.mli @@ -17,6 +17,9 @@ type node_data = { type commit_data = { session_id: string; + session_pid: int32; + sudo_user: string; + user: string; dry_run: bool; atomic: bool; background: bool; @@ -33,9 +36,7 @@ val tree_source_to_yojson : tree_source -> [> `String of string ] val default_node_data : node_data -val default_commit_data : commit_data - -val make_commit_data : ?dry_run:bool -> Vyos1x.Reference_tree.t -> Vyos1x.Config_tree.t -> Vyos1x.Config_tree.t -> string -> commit_data +val make_commit_data : ?dry_run:bool -> Vyos1x.Reference_tree.t -> Vyos1x.Config_tree.t -> Vyos1x.Config_tree.t -> string -> int32 -> string -> string -> commit_data val calculate_priority_lists : Vyos1x.Reference_tree.t -> Vyos1x.Config_tree.t -> node_data list * node_data list |
