Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-01 | T5474: establish common file name pattern for XML conf mode commands | Christian Breunig | |
We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in (cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465) | |||
2022-06-29 | xml: streamline interface definition filenames, drop _ | Christian Poessinger | |
Some files that described the CLI used underscores to split CLI levels, some others did not. This commit removes all underscores from the filename and only makes use of a hyphen. | |||
2022-04-29 | xml: T4047: use full string match in the regex validator | Christian Poessinger | |
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-10-16 | xml: l2tp: T3724: add constraint regex for host-name | Christian Poessinger | |
It's the same regex as used for "set system host-name" to not allow too much garbage here... | |||
2021-10-16 | l2tp: T3724: allow setting accel-ppp l2tp host-name | Marek Isalski | |
2021-09-18 | dhcp-server: T3838: rename dns-server to name-server node | Christian Poessinger | |
IPv4 DHCP uses "dns-server" to specify one or more name-servers for a given pool. In order to use the same CLI syntax this should be renamed to name-server, which is already the case for DHCPv6. | |||
2021-08-29 | xml: add missing "u32:" value declarator on integer ranges | Christian Poessinger | |
2021-08-22 | ipsec: T2816: l2tp ipsec VPN must be started after strongSwan | Christian Poessinger | |
2021-07-25 | xml: add building block for RADIUS nas-identifier | Christian Poessinger | |
2021-07-17 | xml: provide common "pre-shared-secret" include block | Christian Poessinger | |
2021-07-17 | xml: provide common "dhcp-interface" include block | Christian Poessinger | |
2021-07-15 | pki: ipsec: l2tp: T2816: T3642: Move IPSec/L2TP code into vpn_ipsec.py and ↵ | sarthurdev | |
update to use PKI. | |||
2021-06-22 | sstp-l2tp: T3636: Add ipv6 options | Viacheslav | |
2021-04-20 | xml: T3488: when using regex one must use ^ and $ when checking string literals | Christian Poessinger | |
2021-03-14 | xml: accel-ppp: move building blocks to subfolder | Christian Poessinger | |
As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense. | |||
2021-02-09 | xml: cleanup wrong include file extensions | Christian Poessinger | |
2021-01-07 | xml: radius: T3192: split individual nodes to discrete includes | Christian Poessinger | |
Provide more re-usable nodes for future implementations. | |||
2020-12-29 | xml: T1466: provide common includes for SSL certificate CLI nodes | Christian Poessinger | |
Gather all SSL certificate, ca and key nodes into a single representation of XML which can be #included into the XML definitions of the CLI interface to be rendered. | |||
2020-12-27 | xml: fix valueHelp format strings | Christian Poessinger | |
A pre-defined list of common format strings to be used inside the <format> node of <valueHelp> is available from [1]. Adjust all currently in use <format> nodes to re-use the predefined strings over writing them on their own by even encapsulating the <> signs as < and >. [1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566 | |||
2020-10-27 | accel: T2631: Add option for radius disable-accounting | sever-sever | |
2020-10-04 | l2tp: pptp: pppoe-server: T2953: use common Accel-PPP MTU include file | Christian Poessinger | |
2020-10-04 | l2tp: pptp: sstp: pppoe-server: T2953: use common include for client-ip-pool | Christian Poessinger | |
2020-10-02 | acces-ppp: T2953: drop redundant CLI definitions | Christian Poessinger | |
2020-09-26 | xml: interface-definitions: fix wrong file extension of inlcude files | Christian Poessinger | |
Files which are included by others whouls have the ".xml.i" extension. | |||
2020-04-22 | accel-ppp: provide common wins-server include definition | Christian Poessinger | |
2020-04-21 | accel-ppp: unify "authentication mode" XML definition to common include file | Christian Poessinger | |
2020-04-19 | {pppoe,ipoe}-server: T2324: T2314: migrate to common accel-name-server XML | Christian Poessinger | |
2020-04-18 | pppoe-server: T2314: migrate IPv6 to common CLI nodes with embeeded validation | Christian Poessinger | |
2020-04-18 | vpn: l2tp: pptp: sstp: rename files to common pattern | Christian Poessinger | |