Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-18 | op-mode: lldp: T2993: Fix 'show lldp neighbors' | Benjamin M. Hughes | |
'show lldp neighbors' fails with: Traceback (most recent call last): File "./lldp_op.py", line 122, in <module> config_text = tmpl.render(parse_data(neighbors)) File "./lldp_op.py", line 51, in parse_data for local_if, values in tmp.items(): AttributeError: 'str' object has no attribute 'items' `parse_data` was expecting data to be provided as a dict within an array which doesn't match the format from the parsed json output of lldpcli. Change `parse_data` and `main` to use a dict alone for passing interface neighbors for rendering. | |||
2020-10-04 | pppoe-server: migrators: fix python style | Christian Poessinger | |
2020-10-04 | pppoe-server: T2829: fix broken migration script (exit called) | Christian Poessinger | |
A test statement was still present in the production code introduced in commit efeac80f8 ("pppoe-server: T2829: migrate 'ppp-options mppe' to leafNode"). This has been fixed. | |||
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-04 | pppoe-server: T2953: rename CLI local-ip to gateway-address | Christian Poessinger | |
Required to get a common CLI for all services provided by Accel-PPP. Once the CLI for each service is consitent - Jinja2 templates can be reused together with get_config_dict(). | |||
2020-10-04 | xml: include: add comment about source filename to every include snippet | Christian Poessinger | |
2020-10-04 | sstp: T2953: migrate gateway-address, client-ip-settings to common level | Christian Poessinger | |
* move "network-settings gateway-address" to "gateway-address" * move "network-settings client-ip-settings" to "client-ip-pool" | |||
2020-10-03 | sstp: T2953: migrate mtu to common level | Christian Poessinger | |
Preparation before using get_config_dict() and common Jinja2 templates. | |||
2020-10-03 | smoketest: sstp: pppoe: use common RADIUS tests | Christian Poessinger | |
2020-10-03 | vpn: sstp: T2008: set DA/CoA default port 1700 | Christian Poessinger | |
2020-10-03 | smoketest: sstp: add basic tests | Christian Poessinger | |
2020-10-03 | sstp: T2953: migrate name-server settions to common level | Christian Poessinger | |
In order to reuse as much as possible before migrationg to get_config_dict() and re-use Jinja2 snippets the name-server node must be moved one level up to 'set vpn sstp name-server'. | |||
2020-10-03 | openvpn: T2957: fix path to openvpn status file | Christian Poessinger | |
2020-10-03 | openvpn: T2957: | Marcus Hoff | |
Status file directory for show command was wrong, resulting in no output. Now points to '/var/run/openvpn/{}.status' | |||
2020-10-03 | smoketest: accel-ppp: prepare common base for multiple accel instance tests | Christian Poessinger | |
2020-10-03 | pppoe-server: T2936: three IPv6 name-servers are supported | Christian Poessinger | |
2020-10-03 | pppoe-server: T2936: move v4/v6 nameserver lists out of for loop | Christian Poessinger | |
2020-10-03 | Merge remote-tracking branch 'upstream/current' into current | Marcus Hoff | |
2020-10-03 | pppoe-server: T2956: make use of defaultValue list feature | Christian Poessinger | |
2020-10-03 | vyos.xml: T2956: add support for list of defaultValues | Christian Poessinger | |
Sometimes (PPPoE server is one of them) a simple defaultValue in the XML is not enough - several values should be set. In order to support a list of defaultValues you can now simply list them as a whitespace separated string. Example: <defaultValue>pap chap mschap mschap-v2</defaultValue> will generate a Python list ['pap', 'chap', 'mschap', 'mschap-v2'] when retrieved by vyos.xml.defaults() | |||
2020-10-03 | accel-ppp: T2953: fix missing defaultValue on mppe | Christian Poessinger | |
Commit ba050937 ("accel-ppp: T2953: drop redundant CLI definitions ") dropped the defaultValue of 'prefer' for MPPE making the smoketests fail. This has been corrected. | |||
2020-10-02 | configd: T2952: synchronize received messages in case of client timeout | John Estabrook | |
2020-10-02 | configd: T2582: catch config initialization errors | John Estabrook | |
2020-10-02 | configd: T2582: remove unused variables | John Estabrook | |
2020-10-02 | Merge pull request #559 from sever-sever/T2944 | Christian Poessinger | |
ntp: T2944: By default do not listen port 123 on any address | |||
2020-10-02 | sstp: T2953: migrate ppp-settings to ppp-options node | Christian Poessinger | |
2020-10-02 | acces-ppp: T2953: drop redundant CLI definitions | Christian Poessinger | |
2020-10-01 | wireless: T2653: mangle RADIUS default values | Christian Poessinger | |
With commit 38ae3032 ("pppoe-server: T2936: move to get_config_dict()") there are now RADIUS default values present in the XML definitions - those must be proberly mangled for the WiFi interface. | |||
2020-10-01 | vlan: configdict: T2945: determine if vlan is part of bridge | Christian Poessinger | |
Every interface knows if it is part of a bridge or not - except a VLAN (VIF) interface. Also VLANs should be aware of its master bridge. Add a testcase to ensure when VIFs on an interface change the bridge does not loos one of it's members. | |||
2020-10-01 | nat: T2948: fix validation of IP address range | Christian Poessinger | |
2020-10-01 | configdict: T2372: use config.exists() when probing for interface removal | Christian Poessinger | |
We must use exists() as get_config_dict() will always return {} - even when an empty interface node like +macsec macsec1 { +} exists. | |||
2020-10-01 | macsec: T2023: use proper config path for source-interface on removal | Christian Poessinger | |
The config path is altered in get_interface_dict() to the base of the interface in question, e.g. 'interfaces macsec macsec1' - this must be reflected when calling othe methods of Config(). | |||
2020-10-01 | pppoe-server: T2936: move to get_config_dict() | Christian Poessinger | |
For easier configuration read in (CLI) validation and also template rendering it makes sense to drop the old, single implementation and move to the new, generic get_config_dict() approach. Recurring configuration parts like ip-pool, ipv6-pool and nameservers have also been split our into individual templates which will be included through Jinja2 - leading to a single-source of the template sections, too. | |||
2020-10-01 | ntp: T2944: By default do not listen port 123 on any address | sever-sever | |
2020-09-30 | wireguard: T2939: bugfix when removing individual peers | Christian Poessinger | |
When individual peers that have been removed got determined they have been added to the config dict as list instead of string - which broke the system plumbing commands as they can not handle a Python list. | |||
2020-09-30 | macsec: T2023: only remove interface when it exists | Christian Poessinger | |
If for whatever reason the macsec interface dropped out of the Kernel - only call .remove() when it still exists to avoid any exceptions at all. | |||
2020-09-29 | Merge pull request #557 from sever-sever/T2933 | Christian Poessinger | |
vrrp: T2933: Add option virtual-address-excluded | |||
2020-09-29 | vrrp: T2933: Add option virtual-address-excluded | sever-sever | |
2020-09-28 | Merge pull request #555 from DmitriyEshenko/cur-1x-pppoe-csid-format | Christian Poessinger | |
pppoe-server: T2919: Add possibility change Called-Station-Id format | |||
2020-09-28 | pppoe-server: T2919: Add possibility change Called-Station-Id format | DmitriyEshenko | |
2020-09-27 | vxlan: geneve: T2930: add CLI node to set MAC address | Christian Poessinger | |
2020-09-26 | Merge pull request #554 from sever-sever/T2918 | Christian Poessinger | |
accel-ppp: T2918: Add accounting interim jitter option | |||
2020-09-26 | macsec: T2023: shift priority to run on vxlan/geneve source-interface | Christian Poessinger | |
2020-09-26 | accel-ppp: T2918: Add accounting interim jitter option | sever-sever | |
2020-09-26 | macsec: vxlan: T2653: bugfix in verify() on lower interface MTU size | Christian Poessinger | |
Introduced in commit 818a75c024e ("ifconfig: T2653: get_mtu() should return int() for easier comparison") where the variable used in the formatted string has not been adjusted. | |||
2020-09-26 | login: migration: T2929: add missing if condition when probing for radius-server | Christian Poessinger | |
2020-09-26 | Merge pull request #553 from sever-sever/T2917_port | Christian Poessinger | |
accel-ppp: T2917: Add Preallocate NAS-port-id | |||
2020-09-26 | accel-ppp: T2917: Add Preallocate NAS-port-id | sever-sever | |
2020-09-26 | Merge remote-tracking branch 'upstream/current' into current | Marcus Hoff | |