summaryrefslogtreecommitdiff
path: root/src/config_tree.mli
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-03-18 19:21:48 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-03-23 13:42:52 -0500
commitef0fdf987d6a32311f664bd9bb925ae03675fad4 (patch)
treeb4706794e349b78e353d34bed3cdc86e438ede44 /src/config_tree.mli
parent0d45764873c0a2ec345b14c3bf750ff1fccb74a9 (diff)
downloadvyos1x-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.mli2
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