diff options
author | John Estabrook <jestabro@vyos.io> | 2023-03-18 19:21:48 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-03-23 13:42:52 -0500 |
commit | ef0fdf987d6a32311f664bd9bb925ae03675fad4 (patch) | |
tree | b4706794e349b78e353d34bed3cdc86e438ede44 /src/config_tree.mli | |
parent | 0d45764873c0a2ec345b14c3bf750ff1fccb74a9 (diff) | |
download | vyos1x-config-ef0fdf987d6a32311f664bd9bb925ae03675fad4.tar.gz vyos1x-config-ef0fdf987d6a32311f664bd9bb925ae03675fad4.zip |
T5089: add optional arg to order values on render_config
For unit tests of identity: tree = union of subtrees, one needs a
consistent ordering of values. Add an optional argument to order values
in render_config.
Diffstat (limited to 'src/config_tree.mli')
-rw-r--r-- | src/config_tree.mli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_tree.mli b/src/config_tree.mli index 5375c23..990bb49 100644 --- a/src/config_tree.mli +++ b/src/config_tree.mli @@ -38,7 +38,7 @@ val get_subtree : ?with_node:bool -> t -> string list -> t val render_commands : ?op:command -> t -> string list -> string -val render_config : t -> string +val render_config : ?ord_val:bool -> t -> string val render_json : t -> string |