Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-11 | load-config: T5815: provide a variety of load config methods | John Estabrook | |
Collect in a module several versions of a 'load config' function. They have different use cases according to performance and error reporting, and allow comparison of non-legacy and legacy variants. | |||
2023-08-09 | xml: T5452: catch lib errors in generate_cache | John Estabrook | |
2023-07-28 | configtree: T5316: use single-pass to drop trim function | John Estabrook | |
2023-05-31 | configtree: T5251: catch/raise error in delete and delete_value | John Estabrook | |
Configtree functions delete/delete_value do not check return value of libvyosconfig functions; raise error on non-zero return value. | |||
2023-05-10 | configtree: T5194: add function reference_tree_to_json | John Estabrook | |
2023-03-29 | configdiff: T5089: add optional arg ordered_values for unit tests | John Estabrook | |
2023-03-29 | configdiff: T5089: add union of configtrees for unit test | John Estabrook | |
2023-02-11 | config_mgmt: T4991: use configtree.show_diff instead of Python difflib | John Estabrook | |
2023-01-27 | configtree: T4961: improve error reporting of copy | John Estabrook | |
2022-11-10 | migration: T4808: print configtree operations during migration | John Estabrook | |
Print configtree operations to stdout during migration; the migrator will log the output. | |||
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. |