summaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)Author
2024-10-07Merge pull request #4124 from dmbaturin/T6740-set-to-config-converterJohn Estabrook
cli: T6740: add a converter from set commands to config
2024-10-07cli: T6740: set_tag on created paths and add parse step for orderingJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@baturin.org>
2024-10-03cli: T6752: add a wrapper for the show command (#4111)Daniil Baturin
2024-10-03cli: T6740: add a converter from set commands to configDaniil Baturin
2021-11-24hosts: T3979: Change address to a listCharles Surett
This fixes `hostfile-update` in the dhcp-server
2020-09-25dns: forwarding: T2921: migrate to get_config_dict()Christian Poessinger
2020-06-11vyos-hostsd-client: T2583: update for vyos-hostsd rewriteJernej Jakob
- add new commands as arguments - change boolean options with extra required string options to a single string option that supports multiple arguments (makes a list) - track done operations in an extra ops variable (required for apply option)
2019-12-03T1801: move escaping of backslashes into configtreeJohn Estabrook
2019-10-27T1773: add a script for converting the config to JSON.Daniil Baturin
It also exposes those functions in vyos.configtree
2019-08-20T1598: initial implementation of the hosts keeper daemon.Daniil Baturin
2019-06-05T1422: Remove extraneous print statement.John Estabrook
2019-06-01T1422: fix wrong file mode.Daniil Baturin
2019-06-01T1422: add a script for querying values in config files.Daniil Baturin
2018-11-29T1001: Bugfix: Handle backslashes in values with "show configuration commands"arnehaak
This script is usually called with the output of "cli-shell-api showCfg", which does not escape backslashes. "ConfigTree()" expects escaped backslashes when parsing a config string (and also prints them itself). Therefore this script would fail. Manually escape backslashes here to handle backslashes in any configuration strings properly. The alternative would be to modify the output of "cli-shell-api showCfg", but that may be break other things who rely on that specific output. This fixes https://phabricator.vyos.net/T1001
2018-06-29T723: add a prototype of an initial setup script.Daniil Baturin
2018-06-05T684: add bindings for the commands formatter and scripts for converting ↵Daniil Baturin
configs to commands.