Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-08 | scripts: T4269: node.def generator should automatically add default values | Christian Breunig | |
Since introducing the XML <defaultValue> node it was common, but redundant, practice to also add a help string indicating which value would be used as default if the node is unset. This makes no sense b/c it's duplicated code/value/characters and prone to error. The node.def scripts should be extended to automatically render the appropriate default value into the CLI help string. For e.g. SSH the current PoC renders: $ cat templates-cfg/service/ssh/port/node.def multi: type: txt help: Port for SSH service (default: 22) val_help: u32:1-65535; Numeric IP port ... Not all subsystems are already migrated to get_config_dict() and make use of the defaults() call - those subsystems need to be migrated, first before the new default is added to the CLI help. (cherry picked from commit a68c9238111c6caee78bb28f8054b8f0cfa0e374) | |||
2021-08-19 | T3768: Revert "xml: T1962: Add syntaxVersion to schema" | John Estabrook | |
This reverts commit 5849ba88a1a20e4d3584843e0be46e456c5f7980. | |||
2021-08-12 | T3574: add constraintGroup for combining validators with logical AND | John Estabrook | |
(cherry picked from commit 591b8bcadd8b6bbd46c61484193d2bf7e16bd1ae commit 31553283aaa929da63147082e85513e8d4dacf0e commit 59a4aadfe419eca16e6288b37d6c51acd9789903) | |||
2021-06-08 | T3165: prevent override of populated node.def file with empty content | Christian Poessinger | |
(cherry picked from commit b4fdcebebecd8d8952211b78bce26d53fd29edb3) | |||
2020-08-31 | configd: T2582: add shim var to node.def | John Estabrook | |
2020-06-03 | Enable debug mode to build-command-templates | Christian Poessinger | |
2020-05-07 | T2431: use native versions of validate-value and numeric validator. | Daniil Baturin | |
2020-03-18 | T2136: fail the build for interface definitions with valueless or multi ↵ | Daniil Baturin | |
flags set for non-leaf nodes. | |||
2020-01-13 | xml: T1962: Add syntaxVersion to schema | John Estabrook | |
2019-10-25 | [XML templates] T1772: Add escaping of `\` symbol in `<regex>` | zsdc | |
2019-08-02 | T786: Rename tagNode environment variable VALUE to VYOS_TAGNODE_VALUE | Christian Poessinger | |
2018-08-18 | T786: Add tagNode value as a Env.variable passed into config script | Runar Borge | |
2018-05-18 | More granular validator error handling in build-command-templates. | Daniil Baturin | |
2018-05-17 | T646: prevent convertors from overwriting existing node.def files. | Daniil Baturin | |
2018-05-16 | T644: remove prefixing from all scripts and update environment variables ↵ | Daniil Baturin | |
with VyOS paths. | |||
2018-05-16 | T643: correct support for regex validators. | Daniil Baturin | |
2018-05-16 | T643: correct the logic for generating node constraints and add emulation of ↵ | Daniil Baturin | |
multiple validation options. | |||
2018-05-14 | T602: remove support for the type element and correct the logic for setting ↵ | Daniil Baturin | |
the type in generated command templates. | |||
2017-12-31 | Support setting optional 'type' node in command templates other than 'txt' | Christian Poessinger | |
2017-12-09 | Bugfix: 'multi:' statement must be on top of generated 'node.def' file | Christian Poessinger | |
If 'multi:' is not on the first line of the auto generated 'node.def' file, VyOS will throw a CLI error: get_parsed_tmpl: failed to parse tmpl [.../interfaces] DEBUG vexit_internal: get_parsed_tmpl: failed to parse tmpl [.../interfaces] | |||
2017-09-16 | T396: add support for value constraint tags to the build-command-templates ↵ | Daniil Baturin | |
script | |||
2017-09-14 | T388: nicer options handling and output. | Daniil Baturin | |
2017-09-14 | T392: add support for completionHelp to the interface definition converter. | Daniil Baturin | |
2017-09-12 | Add debug mode to the build-command-templates script with content printing | Taniadz | |
2017-09-12 | Add debug mode to the build-command-templates script | Taniadz | |
2017-09-08 | Automatically wrap all script calls in generated templates into sudo sh -c | Daniil Baturin | |
shemminger once said we already overuse sudo and advocated using capabilities instead, but I think the union of all privilege sets needed equals the root privileges, and in practice admin level users need sudo anyway. | |||
2017-09-08 | Fix handling of tag and multi nodes in the convertor. | Daniil Baturin | |
Ugly fixup in the makefile to delete generated node.def's that are now in other packages. Adjust the cron interface definition to better match the old templates. | |||
2017-09-07 | Add support for priority tags. In 1.x, there's no way around using it. | Daniil Baturin | |
2017-09-07 | Remove crude debugging stuff, I'll add a proper solution later. | Daniil Baturin | |
2017-09-07 | Add a convertor from new style XML command definitions to old style templates. | Daniil Baturin | |