summaryrefslogtreecommitdiff
path: root/src/helpers
AgeCommit message (Collapse)Author
2021-03-15Add shebang line to strip-privateerkin
2021-03-15T3354: Add strip-private script in Pythonerkin
2020-10-21load-config: T2138: support loading gzipped (local) config filesJohn Estabrook
2020-07-22load-config: subclass ConfigSourceSession instead of ConfigJohn Estabrook
2020-05-07T2431: use native versions of validate-value and numeric validator.Daniil Baturin
2020-04-10util: T2253: fix translation to cmdJohn Estabrook
2020-04-10Revert "Revert "util: T2226: rewrite merge config to use cmd""John Estabrook
This reverts commit 6086b7fa718f502563a17569abc81d4ccb94818c.
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-08Revert "util: T2226: rewrite merge config to use cmd"John Estabrook
This reverts commit 9664e7d685307f5f9736929731e759ff7bad7353.
2020-04-06util: T2226: rewrite merge config to use cmdThomas Mangin
2020-04-06util: T2226: rewrite load config to use cmdThomas Mangin
2020-04-06util: T2226: rewrite bridge to use cmd (see comment in code)Thomas Mangin
2020-04-06util: T2226: rewrite boot config loader to use cmdThomas Mangin
2020-04-06util: T2226: rewrite config migration to use cmdThomas Mangin
2020-04-06util: T2226: covert most calls from os.system to utilThomas Mangin
As little change a possible but the function call The behaviour should be totally unchanged.
2020-03-30config load: T2053: update for version string syntax changeJohn Estabrook
2020-03-30config merge: T2052: update for version string syntax changeJohn Estabrook
2020-03-30migration: T2029: run virtual migration before migrationJohn Estabrook
Update syntax of component version string, before passing config file to configtree in migration scripts.
2020-03-30migration: T2029: set default vintage; remove target from virtualJohn Estabrook
The VirtualMigrator updates the syntax of the component version string. Remove the default target, allowing downgrade to old syntax.
2020-03-27merge config: T2169: remove redundant use of show_configJohn Estabrook
2020-03-12[boot-config-loader] T1622: log traceback only if 'vyos-config-debug'John Estabrook
2019-12-03T1801: move escaping of backslashes into configtreeJohn Estabrook
2019-10-01T1424: Rewrite the config load scriptJohn Estabrook
Rewrite of the load functionality of vyatta-load-config.pl, removing the dependency on Vyatta::Config.
2019-09-19[boot-config-loader] T1622: (bugfix) set gid and write permissionsJohn Estabrook
Set gid and permissions so that vyatta-cfg group has access to the active config; fix typo in arg len check; reorganize; add log output.
2019-09-01Merge pull request #119 from alkersan/T1621_misc_rewritesChristian Poessinger
[op-mode] T1621 rewrite misc commands to python/xml syntax
2019-08-31[boot-config-loader] T1622: Add failsafe and back traceJohn Estabrook
2019-08-30[op-mode] T1621 rewrite misc commands to python/xml syntaxDmytro Aleksandrov
2019-08-26bridge: T1608: deny adding non existing interfaces to bridge configChristian Poessinger
2019-08-16[op-mode] T1590 xml-style rewrite of 'show system' operationsDmytro Aleksandrov
2019-06-12T1397: check for path argument in both effective and merge configJohn Estabrook
The merge config script restores the ability to restrict changes to a specified path. In the initial implementation, the path was checked for validity only with respect to the effective config; fix to allow valid paths from merge config as well.
2019-06-12T1397: use revised migration methodJohn Estabrook
2019-06-12T1397: escape backslashes in output passed to configtreeJohn Estabrook
The ouput of config.show_config (cli-shell-api showConfig) does not escape backslashes, whereas configtree expects escaped backslashes. Values containing unescaped backslashes consequently lead to a parsing error; cf. T1001.
2019-06-05T1334: Migration script runner rewriteJohn Estabrook
Python script and support code to replace the vyatta_config_migrate.pl script.
2019-05-29T1397: Rewrite the config merge scriptJohn Estabrook
Add the script vyos-merge-config.py to separate the merge function from the config load script and remove dependency on XorpConfigParser.
2019-01-26T1193: remove the commands pipe since it's no longer needed.Daniil Baturin
2018-11-29T1001: escape backslashes in the input in the commands pipe as well.Daniil Baturin
2018-08-25validate-value.py: remove tailing whitespacesChristian Poessinger
2018-06-30src: commands-pipe: fix bug (no raw string) reported by sonarcubeChristian Poessinger
2018-06-05T684: add bindings for the commands formatter and scripts for converting ↵Daniil Baturin
configs to commands.
2018-05-16T643: use fullmatch for regex validators so that people don't have to write ↵Daniil Baturin
^...$ all the time.
2018-05-16T643: correct support for regex validators.Daniil Baturin
2018-05-16T643: correct the logic for generating node constraints and add emulation of ↵Daniil Baturin
multiple validation options.