Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-25 | T6399: added reusable workflows codeowners file to sagitta (#3515) | Vijayakumar A | |
2024-04-03 | T6199: drop unused Python imports | Christian Breunig | |
found using "git ls-files *.py | xargs pylint | grep W0611" (cherry picked from commit 274b2da242acd1f1f64ff1dee471e34295137c5f) | |||
2023-12-24 | xml: T5854: clear empty paths left by embedded override of defaultValue | John Estabrook | |
(cherry picked from commit c4f9c936c9fdd32e7f6258c0dfa8c8cf6057998d) | |||
2023-11-19 | config-mgmt: T4957: T2405: add proper valueHelp strings for remote URL | Christian Breunig | |
vyos@vyos# set system config-management commit-archive location Possible completions: uri Uniform Resource Identifier Unfortunately URI is a bit "less" specific - add proper help strings: vyos@vyos# set system config-management commit-archive location Possible completions: http://<user>:<passwd>@<host>/<path> https://<user>:<passwd>@<host>/<path> ftp://<user>:<passwd>@<host>/<path> sftp://<user>:<passwd>@<host>/<path> scp://<user>:<passwd>@<host>/<path> tftp://<user>:<passwd>@<host>/<path> git+https://<user>:<passwd>@<host>/<path> (cherry picked from commit dcb277ba0aed4a02f48572d10d3ba242942b8639) | |||
2023-07-14 | T5195: vyos.util -> vyos.utils package refactoring (#2093) | Christian Breunig | |
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process * T5195: use read_file and write_file implementation from vyos.utils.file Changed code automatically using: find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} + find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} + * T5195: move chmod* helpers to vyos.utils.permission * T5195: use colon_separated_to_dict from vyos.utils.dict * T5195: move is_systemd_service_* to vyos.utils.process * T5195: fix boot issues with missing imports * T5195: move dict_search_* helpers to vyos.utils.dict * T5195: move network helpers to vyos.utils.network * T5195: move commit_* helpers to vyos.utils.commit * T5195: move user I/O helpers to vyos.utils.io | |||
2022-12-30 | ci: T4748: add a small delay to the PR title check to ensure that it gets a ↵ | Daniil Baturin | |
complete, finalized PR object from GitHub | |||
2022-12-30 | T4748: Clarify the invalid PR object message | Daniil Baturin | |
2022-12-01 | ci: T4748: add hyphen and underscore for subject name | John Estabrook | |
2022-10-25 | ci: T4748: add dot to regex char class to allow 'vyos.util: Txxx: ...' | John Estabrook | |
2022-10-13 | ci: T4748: add a CI action to check pull request title | Daniil Baturin | |
and commit messages format | |||
2022-07-30 | op-mode: T1748: vbash: beautify tab completion output/line breaks | Christian Poessinger | |
2022-06-20 | T1748: vbash: beautify tab completion output/line breaks | Christian Poessinger | |
Indention for multi-line help strings should be auto calculated and not be a human problem. This way we ensure that there is a consistent CLI with predictable newlines at a predictable position. | |||
2022-06-10 | scripts: T4465: node.def generation requires whitespace on multiple use of ↵ | Christian Poessinger | |
<path> | |||
2022-02-24 | scripts: T4269: node.def generator should automatically add default values | Christian Poessinger | |
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. | |||
2021-09-07 | scripts: op-mode: T3807: bugfix node.def generator | Christian Poessinger | |
process_node() processes the XML tree in a fixed order, "node" before "tagNode" before "leafNode". If the generator created a "node.def" file, it can no longer be overwritten - else we would have some stale "node.def" files with an empty help string (T2555). Without the fixed order this would resulted in a case where we get a node and a tagNode with the same name, e.g. "show interfaces ethernet" and "show interfaces ethernet eth0" that the node implementation was not callable from the CLI, rendering this command useless (T3807). This can be fixed by forcing the "node", "tagNode", "leafNode" order by sorting the input XML file automatically (sorting from https://stackoverflow.com/a/46128043) thus adding no additional overhead to the user. | |||
2021-08-22 | T3165: op-mode: prevent override of populated node.def file with empty content | Christian Poessinger | |
This is an extension to commit b4fdcebe ("T3165: prevent override of populated node.def file with empty content") which implemented the same thing for the configuration mode commands. | |||
2021-08-22 | scripts: op-mode: use Python 'f'ormat strings on debug messages | Christian Poessinger | |
2021-08-19 | Revert "xml: T1962: Add script to process syntaxVersion tags during build" | John Estabrook | |
This reverts commit 0ecc2c26f7ac939e4e23c14f5027ac7592c25761. | |||
2021-08-11 | xml: T3732: merge leafNode with defaultValue with leafNode(s) of same path | John Estabrook | |
2021-08-11 | xml: T3732: simplifications for merging defaultValue and default-less nodes | John Estabrook | |
2021-06-23 | T3574: process constraintGroup elements | John Estabrook | |
2021-06-22 | T3644: build: replace GCC preprocessor with a Python script for template ↵ | Lulu Cathrinus Grimalkin | |
expansions | |||
2021-04-02 | T3165: prevent override of populated node.def file with empty content | Christian Poessinger | |
2021-03-31 | xml: T3445: avoid false positive on element references; use path name | John Estabrook | |
2021-01-21 | xml: T2910: add script to support override of defaultValue elements | John Estabrook | |
2021-01-15 | Revert "T3165: use a separate file for "base" CLI nodes." | Daniil Baturin | |
2021-01-07 | T3165: use a separate file for "base" CLI nodes. | Daniil Baturin | |
2020-08-31 | configd: T2582: add utility to safely add/remove items from include file | John Estabrook | |
2020-08-31 | configd: T2582: add shim var to node.def | John Estabrook | |
2020-07-18 | T2704: force newlines after listActiveNode output. | Daniil Baturin | |
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-03-04 | templates: T2099: make op-mode path completion helper working | Christian Poessinger | |
2020-01-13 | xml: T1962: Add script to process syntaxVersion tags during build | John Estabrook | |
2020-01-13 | xml: T1962: Add syntaxVersion to schema | John Estabrook | |
2019-12-10 | scripts: import: T1836: add regex filter for condition import | Antonio Cuñat Alario | |
Add import multiple values to a regex xml expression | |||
2019-12-10 | scripts: import: T1836: fix XML export | Antonio Cuñat Alario | |
Fix export xml interfaces from node.def where node.tad doesn't have a node.def file | |||
2019-10-25 | [XML templates] T1772: Add escaping of `\` symbol in `<regex>` | zsdc | |
2019-09-17 | T1667: add a script for importing old conf mode command definitions into XML. | Daniil Baturin | |
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-06-23 | T689, T707: do not use sudo for op mode commands. | Daniil Baturin | |
Else they all are unavailable for operator level users. | |||
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-15 | Correct the logic of generating tag nodes for op mode. | Daniil Baturin | |
Unlike conf mode tag nodes, op mode "pseudo-tag nodes" have the real node.def inside the node.tag dir rather than at the top level. The required node.def at the top level is populated with the help string from the real one. A side effect is that commands that take arguments now must have their own words, e.g. "run show arp" and "run show arp eth0" is impossible and has to be "run show arp" and "run show arp interface eth0", which is probably a good thing. | |||
2018-05-14 | T633: build integration and minor fixes in the op mode command generator. | Daniil Baturin | |