Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-26 | Merge pull request #551 from kroy-the-rabbit/current | Christian Poessinger | |
T2926: Missing import | |||
2020-09-25 | T2926: Missing import | kroy | |
2020-09-25 | ethernet: T2912: verify() that hardware supports specified MTU value | Christian Poessinger | |
Check the hardware if MTU value is supported at all. | |||
2020-09-25 | ifconfig: T2912: add helper to verify interface min/max supported MTU | Christian Poessinger | |
Currently the MTU size of an interface is only checked when entered via CLI but if the interface supportes the configured MTU at all is not verified at all. New helper functions get_min_mtu(), get_max_mtu() and verify_mtu() have been added to provide a central API for validation. | |||
2020-09-25 | ifconfig: T2653: get_mtu() should return int() for easier comparison | Christian Poessinger | |
2020-09-25 | ifconfig: T2912: add helper to retrieve interface min/max supported MTU | Christian Poessinger | |
>>> from vyos.ifconfig import Interface >>> tmp=Interface('eth0') >>> tmp.get_min_mtu() 60 >>> tmp.get_max_mtu() 9000 | |||
2020-09-25 | syslog: T2899: shift system migration files +1 to allow for crux | John Estabrook | |
2020-09-25 | syslog: T1845: fix indentation level | John Estabrook | |
2020-09-25 | dns: forwarding: T2921: migrate to get_config_dict() | Christian Poessinger | |
2020-09-24 | dhcpv6-pd: verify: T2923: interface is required where the prefix is assigned | Christian Poessinger | |
When configuring DHCPv6-PD it is mandatory to also specify at least one interface where the newly delegated prefix will be used. Without this setting DHCPv6-PD makes no sense at all. | |||
2020-09-24 | smoketest: dns: dynamic: add missing import statement | Christian Poessinger | |
Commit 58ead741 ("smoketest: (re-)use process_named_running() from vyos.util") missed an import statement for process_named_running(). This has been fixed. | |||
2020-09-24 | wireless: T2241: add "wds" CLI option | Christian Poessinger | |
2020-09-24 | smoketest: (re-)use process_named_running() from vyos.util | Christian Poessinger | |
2020-09-24 | smoketest: dns: forwarding: T2921: add initial testcases | Christian Poessinger | |
2020-09-24 | dns: forwarding: T2921: template cleanup | Christian Poessinger | |
2020-09-22 | openvpn: T2906: tls-auth missing key direction | Marcus Hoff | |
2020-09-22 | openvpn: T2907: add 'none' encryption option to not encrypt any data | Marcus Hoff | |
2020-09-22 | Merge pull request #549 from sever-sever/T2915 | Christian Poessinger | |
conf-mode: T2915: Adding lost option proxy-arp-pvlan for vlan | |||
2020-09-22 | conf-mode: T2915: Adding lost option proxy-arp-pvlan for vlan | sever-sever | |
2020-09-22 | smoketest: macsec: T2023: check that source-interface is not used by any ↵ | Christian Poessinger | |
other interface | |||
2020-09-22 | ifconfig: T2653: bond: bridge: ensure member interface is not a source-interface | Christian Poessinger | |
As we already check that a bond/bridge member interface is not a member of any other bridge or bond, the check must be extended. We also need to ensure that the bond member interface is not used as a source-interface to pppoe, macsec, tunnel, pseudo-ethernet, vxlan interfaces. | |||
2020-09-22 | ifconfig: T2653: move is_member() from vyos.vylidate to vyos.configdict | Christian Poessinger | |
2020-09-21 | macsec: T2788: source-interface must not be member of a bridge | Christian Poessinger | |
Add verify() step to ensure the macsec source-interface is not already part of a bridge interface. This should probably also be checked for bond interfaces. | |||
2020-09-21 | bridge: ifconfig: T2653: only delete member interfaces which still exist | Christian Poessinger | |
When removing e.g. a macsec interface and also its associated member interface from the bridge, it will happen that the macsec interface instance is long gone before we reach the code in the bridge interface which will remove it from the bridge itself. When this is the case, we can not call BridgeIf.del_port() as it will throw an exception that the interface does not exist. We now only remove a bridge member if the interface in question is still available in the kernel. | |||
2020-09-21 | wireless: T2887: help when searching hidden SSIDs in station mode | Christian Poessinger | |
2020-09-21 | wireless: T2887: hostapd: add bridge option | Christian Poessinger | |
2020-09-21 | smoketest: kernel: check for mandatory bond/lacp and bridge options | Christian Poessinger | |
2020-09-21 | smoketest: macsec: T2023: test MTU setting | Christian Poessinger | |
2020-09-20 | macsec: T2023: add missing mtu CLI option | Christian Poessinger | |
Base MTU for MACsec is 1468 bytes (encryption headers), but we leave room for 802.1ad and 802.1q VLAN tags, thus the limit is lowered to 1460 bytes to not make the user juggle with the MTU bytes if he enables VLAN support later on, which is yet to come. | |||
2020-09-20 | ifconfig: T2653: remove duplicates of get_config() | Christian Poessinger | |
A lot of derived classes from Interface implemented their own get_config() method which more or less was the same everywhere. We also hat different qualifiers like @staticmethod or @classmethod. This is now changed to only have the @classmethod in Interface base class which will return the necessary dictionary keys for the required interfaces. This change is a mid reduction in lines of code which is always a very nice thing! | |||
2020-09-20 | wwan: ifconfig: T2905: sync CLI nodes in dialup interfaces | Christian Poessinger | |
Both PPPoE and WWAN interfaces are dialer interfaces handled by ppp, but use different CLI nodes for the same functionality. PPPoE has "connect-on-demand" to initiate an "on-demand" dialing and WWAN uses "ondemand" for this purpose. Rename WWAN "ondemand" node to "connect-on-demand". | |||
2020-09-20 | vif-s: ifconfig: T2903: use explicit VLAN protocol over raw numbers | Christian Poessinger | |
In the past we had to provide the ethertype value used for the VLAN protocol (0x88A8 -> 802.1ad or 0x8100 -> 802.1q). This should be changed to a more user friendly CLI node (protocol over ethertype) and 802.1ad over it's raw value 0x88A8. There is no need in presenting RAW information from the ethernet header to the user. Also iproute2 calls it protocol which makes way more sense over the "raw" value. | |||
2020-09-20 | smoketest: T2903: test 802.1ad (Q-in-Q) ethertype | Christian Poessinger | |
2020-09-20 | vyos.configdict: T2665: cleanup get_interface_dict() default dict handling | Christian Poessinger | |
2020-09-19 | dns: forwarding: T2900: restore proper Config() level in verify() | Christian Poessinger | |
Despite the fact that running verify on Config() is "bad" and "not as intended" the level of the configuration must match the keys that are checked by exits(). Re-set proper Config() level before querying the system nodes. | |||
2020-09-19 | wifi: ifconfig: T2875: add_to_bridge() must be called after starting services | Christian Poessinger | |
hostapd/wpa_supplicant will control the admin state of an interface, thus we should re-add it to a bridge after we have launched those services. | |||
2020-09-19 | ifconfig: T2653: cleanup VLAN interface comments | Christian Poessinger | |
2020-09-19 | smoketest: T2886: validate RADIUS configuration | Christian Poessinger | |
2020-09-19 | ifconfig: T2653: convert VLAN interfaces do discrete class | Christian Poessinger | |
Instead of using an Adapter pattern to make interfaces VLAN-aware, create a derived class named VLANIf to represent a VLAN. This change was necessary to eliminate mixed code in Interfaces class which was VLAN - free, but recently gained some VLAN specific code for set_admin_state(). In addition this "autoresolves" the issue in T2894 as a bond vlan interface will no longer change the lower interface. | |||
2020-09-17 | smoketest: bond: T2894: extend comments | Christian Poessinger | |
2020-09-17 | smoketest: bond: T2894: vlan interfaces must not remove bond members | Christian Poessinger | |
A regression showed that when adding a vif to a bond the bond interface will loose all its member interfaces. This is - of course - super bad! | |||
2020-09-17 | Merge pull request #546 from DmitriyEshenko/cur-1x-rb | Christian Poessinger | |
ethernet: T2891: Add ethernet ring-buffer CLI commands | |||
2020-09-17 | ethernet: T2891: Add ethernet ring-buffer CLI commands | DmitriyEshenko | |
2020-09-16 | smoketest: T2886: typo, use assertIn over asserIn | Christian Poessinger | |
2020-09-16 | wireless: T2887: add smoketest for hostapd | Christian Poessinger | |
2020-09-16 | wireless: T1627: "capabilities ht smps" is not a multi node | Christian Poessinger | |
2020-09-16 | wireless: T2887: Jinja2 can not work on keys starting with a number | Christian Poessinger | |
... an error would be presented: jinja2.exceptions.TemplateSyntaxError: expected token 'end of statement block', got 'mhz_incapable', thus we simply rename the key before rendering the template. | |||
2020-09-16 | wireless: T2887: hostapd template cleanup | Christian Poessinger | |
2020-09-16 | wireless: T1627: "capabilities ht max_amsdu" is not a multi node | Christian Poessinger | |
VyOS 1.2 confirmed it was a regular node - copy/paste error. | |||
2020-09-16 | wireless: T2887: fix template renderint on ht and vht options | Christian Poessinger | |