Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-28 | configtree: T4235: distinguish sub(-tract) tree from delete tree | John Estabrook | |
The DiffTree class maintains both the 'sub'(-tract) configtree, containing all paths in the LHS of the comparison that are not in the RHS, and the 'delete' configtree: the delete tree is the minimal subtree containing only the first node of a path not present in the RHS. It is the delete tree that is needed to produce 'delete' commands for config mode, whereas the 'sub' tree contains full information, needed for recursively detecting changes to a node. | |||
2022-02-28 | configtree: T4235: allow empty arguments | John Estabrook | |
2022-02-28 | configtree: T4235: simplification of diff_tree class | John Estabrook | |
The return value of diff_tree is now a single config_tree, with initial children of names: ["add", "delete", "inter"] containing the config sub-trees of added paths; deleted paths; and intersection, respectively. The simplifies dumping to json, and checking existence of paths, hence, of node changes. | |||
2022-02-28 | configtree: T4235: add utility get_subtree | John Estabrook | |
2022-02-08 | configtree: T4235: encapsulate config tree diff function | John Estabrook | |
2020-04-18 | vyos.configtree: bugfix exception message used non existent variable | Christian Poessinger | |
2020-03-30 | migration: T2029: extract the version string instead of stripping | John Estabrook | |
2020-03-30 | migration: T2029: process new version syntax in configtree | John Estabrook | |
2019-12-03 | T1801: move escaping of backslashes into configtree | John Estabrook | |
2019-10-27 | T1773: add a script for converting the config to JSON. | Daniil Baturin | |
It also exposes those functions in vyos.configtree | |||
2019-08-20 | vyos.configtree: add help for set method | Christian Poessinger | |
2019-03-17 | [vyos.configtree] T1305: allow configs to end with leaf nodes. | Daniil Baturin | |
2019-02-14 | [vyos.configtree] T1248: add a function for node copying | Daniil Baturin | |
Also improve sanity checks in the rename function and add unit tests for copy and rename. | |||
2018-09-11 | Add support for retrieving error messages from inside libvyosconfig. | Daniil Baturin | |
2018-09-10 | Improve error reporting in vyos.configtree | Daniil Baturin | |
2018-09-02 | T824: add Python bindings for the rename_node function to vyos.configtree | Daniil Baturin | |
2018-06-05 | T684: add bindings for the commands formatter and scripts for converting ↵ | Daniil Baturin | |
configs to commands. | |||
2018-05-28 | Add bindings for libvyosconfig -- the standalone config file parsing and ↵ | Daniil Baturin | |
manipulation library. |