summaryrefslogtreecommitdiff
path: root/src/reference_tree.mli
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-04-02 14:58:42 -0500
committerJohn Estabrook <jestabro@vyos.io>2025-04-02 22:57:51 -0500
commit76e6589470b98f08d2a778b207bd9bc94c2d3db3 (patch)
treefbbf229bf2e23e0d7ded514b364115570268ffbf /src/reference_tree.mli
parent8c1474f99481f5226b1d47d1690b34d9740bf23b (diff)
downloadvyos1x-config-76e6589470b98f08d2a778b207bd9bc94c2d3db3.tar.gz
vyos1x-config-76e6589470b98f08d2a778b207bd9bc94c2d3db3.zip
T7292: add utility functions to set tag/leaf data on newly defined path
The vyconfd set operation requires configuration of tag and leaf fields from reference_tree data.
Diffstat (limited to 'src/reference_tree.mli')
-rw-r--r--src/reference_tree.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reference_tree.mli b/src/reference_tree.mli
index b2942a3..9c583df 100644
--- a/src/reference_tree.mli
+++ b/src/reference_tree.mli
@@ -83,4 +83,8 @@ val refpath : t -> string list -> string list
val get_ceil_data : (ref_node_data -> string option) -> t -> string list -> string option
+val set_tag_data : t -> Config_tree.t -> string list -> Config_tree.t
+
+val set_leaf_data : t -> Config_tree.t -> string list -> Config_tree.t
+
val render_json : t -> string