summaryrefslogtreecommitdiff
path: root/src/config_tree.ml
AgeCommit message (Collapse)Author
2023-08-22T5500: render_tag_node_child does not need to consider valuesJohn Estabrook
Configtree allows for a tag node child to have values, however it is not possible to define such an object in the XML interface-definitions, hence that case can be ignored in render_tag_node_child.
2023-08-22T5500: remove empty braces after valueless nodeJohn Estabrook
2023-03-23T5089: add optional arg to order values on render_configJohn Estabrook
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.
2022-09-01Revert "Merge pull request #11 from jestabro/tag-node-name-whitespace"John Estabrook
This reverts commit 97d11bf2bda65c7001ad687fd088a896161fdb0d, reversing changes made to 40f7d2af65a2358bb37661121f1752abf4f099fc.
2022-08-19T4628: render tag node names containing whitespace in quotesJohn Estabrook
2022-06-28T4491: use empty string for name of config_tree root nodeJohn Estabrook
The practice of using "root" for the internal name of the root node collides with actual nodes named "root", due to a utility function that checks 'if root' by name. Use empty string as name of root node, as no actual node will match.
2022-02-23T4235: add utility function get_subtreeJohn Estabrook
2022-02-08configtree: T4235: render delete commandsJohn Estabrook
2022-01-04Use a modification of String.escaped to leave UTF-8 bytes unescapedJohn Estabrook
2019-10-27Expose the JSON AST export function.Daniil Baturin
2019-10-27Add a "simple" JSON renderer.Daniil Baturin
2019-06-30Initial import of libraries from Vyconf and old libvyosconfig.Daniil Baturin