summaryrefslogtreecommitdiff
path: root/src/utils/vyos-config-to-commands
AgeCommit message (Collapse)Author
2019-12-03T1801: move escaping of backslashes into configtreeJohn Estabrook
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-05T684: add bindings for the commands formatter and scripts for converting ↵Daniil Baturin
configs to commands.