Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-15 | pseudo-ethernet: T2800: source-interface must not be member of a bridge | Christian Poessinger | |
2020-07-25 | ifconfig: T2653: make ifname an optional argument to get_interface_dict() | Christian Poessinger | |
Further reduce the boiler-plate code to determine interface tag node or not. It can be passed into get_interface_dict() if explicitly required - else it is taken from the environment. | |||
2020-07-25 | interfaces: ifconfig: T2653: migrate to get_interface_dict() API | Christian Poessinger | |
After switching from raw parsing of the interface options to get_config_dict() this utilizes another utility function which wraps get_config_dict() and adds other common and reused parameters (like deleted or bridge member). Overall this drops redundant code (again) and makes the rest more maintainable as we only utilize a single function. | |||
2020-07-25 | pseudo-ethernet: ifconfig: T2653: move to get_config_dict() | Christian Poessinger | |
The current VyOS CLI parser code written in Python contains a ton of duplicates which I can also hold myself accountable for - or maybe mainly me - depends on the angle of judge. While providing a new update() method in vyos.ifconfig.interfaces() this is extended for pdeudo-ethernet interfaces in the derived class. | |||
2020-07-16 | pseudo-ethernet: T2626: Fix for changing interface mode | srividya0208 | |
Since it is not impossible to change MACVLAN interface mode on the fly, this fix adds a new one trigger to recreate it from scratch if the mode changed in system config | |||
2020-06-19 | pseudo-ethernet: T2589: fix for deleting interface(s) | Christian Poessinger | |
When deleting a peth interface the interface name was not added to the configuration dict, which lead to referencing non existent keys. | |||
2020-05-29 | Merge pull request #439 from thomas-mangin/T2088-explicit-airbag | Christian Poessinger | |
airbag :T2088: make airbag explicit | |||
2020-05-29 | airbag: T2088: explicit enabling of the feature | Thomas Mangin | |
airbag must now be explicitly installed. the patch also allow to fully disables the installation of the logging code at setup (and not just installing and doing nothing) | |||
2020-05-26 | dhcpv6-pd: T2506: add option to request specific prefix length | Christian Poessinger | |
Some ISPs (e.g. Comcast) only delegate a /64 by default. You have to explicitly "ask" for a bigger (e.g. /60) prefix. This commit adds a CLI node to request a specific prefix length in the range 32 - 64. dhcpv6-options { prefix-delegation { length 60 } } | |||
2020-05-26 | dhcpv6-pd: pppoe: T2506: restructure CLI | Christian Poessinger | |
Rename the CLI nodes for prefix delegation from "dhcpv6-options delegate <interface>" to "dhcpv6-options prefix-delegation interface <interface>". The change is required to add the possibility to request for specific prefix sized via the CLI. That option was not possible with the old configuration tree. | |||
2020-05-19 | dhcpv6-pd: T421: support ethernet based interfaces | Christian Poessinger | |
Add support for prefix delegation when receiving the prefix via ethernet, bridge, bond, wireless. | |||
2020-05-19 | configdict: T2372: interfaces must reuse interface_default_data | Christian Poessinger | |
This is to remove the amount of duplicated entries in dictionaries. It's one more part to move to a unified interface management. | |||
2020-05-11 | pseudo-ethernet: T2449: set accept_ra on pseudo-ethernet interfaces | Jernej Jakob | |
2020-05-08 | pseudo-ethernet: T2435: fix syntax and copy-paste error | Jernej Jakob | |
2020-05-05 | pseudo-ethernet: T2427: move VLAN adding to common function | Jernej Jakob | |
2020-05-04 | pseudo-ethernet: T2241: cleanup verify section | Jernej Jakob | |
- make error output more user friendly - replace .format with f-strings - split into lines less than ~80 characters long | |||
2020-05-04 | pseudo-ethernet: T2241: fix falling out of bridge when changing settings | Jernej Jakob | |
Previously, the interface was always deleted and recreated, which removed it from the bridge. - add checks to make VRF and bridge membership mutually exclusive - always re-add the interface back to any bridge it is part of | |||
2020-05-04 | pseudo-ethernet: T2241: make address and bridge membership mutually exclusive | Jernej Jakob | |
Bridge members should not have any addresses assigned. | |||
2020-05-04 | pseudo-ethernet: T2241: make VRF and bridge membership mutually exclusive | Jernej Jakob | |
2020-05-04 | validate: T2241: rewrite is_bridge_member to generic is_member | Jernej Jakob | |
- rewrite the function to support both bridge and bonding interface types, if the type is passed it searches only that type, otherwise it searches both - move is_member check out of the deleted condition - move is_member check to intf_from_dict for interfaces that use it | |||
2020-05-04 | configdict: T2241: get interface name in intf/vlan_from_dict | Jernej Jakob | |
This is needed as later functions depend on it | |||
2020-05-02 | peth: T2372: convert to use new configdict code | Thomas Mangin | |
use intf_to_dict and add_to_dict to correctly implement disable. keeping all interface code with VLAN the same. | |||
2020-04-23 | interfaces: T2362: add node to delete the default IPv6 link-local address | Jernej Jakob | |
2020-04-23 | interfaces: T2362: allow setting multiple 'ipv6 address eui64' | Jernej Jakob | |
2020-04-23 | interfaces: T2362: delete and re-add all EUI64 addresses if MAC has changed | Jernej Jakob | |
2020-04-23 | interfaces: T2362: add default IPv6 link-local address to make IPv6 work | Jernej Jakob | |
2020-04-23 | interfaces: T2362: split set_ipv6_eui64_address into add and del functions | Jernej Jakob | |
2020-04-21 | macvlan: pseudo-ethernet: 2341: bugfix empty source-interface on system boot | Christian Poessinger | |
2020-04-19 | bridge: T2232: bugfix - remove double colon (:) | Christian Poessinger | |
2020-04-19 | bridge: T2232: move helper to vyos.validate | Christian Poessinger | |
2020-04-11 | dhcp: T2265: refactor DHCP class | Thomas Mangin | |
Break the code between v4 and v6, remove need for getter/setter as they are just exposing the underlying dict. Move FixedDict from tunnel code and expose it to other part so it can be used to prevent accidental change to the dhcp option if no default exists already. | |||
2020-04-09 | vxlan: pseudo-ethernet: T2260: convert link nodes to source-interface | Christian Poessinger | |
2020-04-07 | bridge: T2232: prevent deletion of enslaved interfaces | Christian Poessinger | |
Interfaces enslaved to a bridge are not allowed to be deleted. If an interface is deleted from the config but it is still enslaved to a bridge will cause a configuration error on the subsequent boot. | |||
2020-03-28 | ipv6: T1831: migrate eui64 addressing to XML and python | Christian Poessinger | |
2020-03-28 | ipv6: T1831: migrate autoconf node | Christian Poessinger | |
Autoconfigure addresses using Prefix Information in Router Advertisements. | |||
2020-03-28 | ipv6: T1831: use integers over bool in interface configuration | Christian Poessinger | |
2020-03-28 | ipv6: T1831: migrate forwarding and dup-addr-detect-transmits nodes | Christian Poessinger | |
... to new XML and Python based frontend/backend. | |||
2020-03-28 | ifconfig: T2057: explicity name state functions | Thomas Mangin | |
The Interface get_state/set_state were not clear about if they edited the admin or operational state. functions are now using admin_state and oper_state for clarity. | |||
2020-03-23 | ifconfig: T31: convert all interface to set_vrf api | Thomas Mangin | |
2020-03-08 | vrf: T31: enable vrf support for pseudo-ethernet/macvlan interface | Christian Poessinger | |
2020-03-08 | macvlan: T1635: add missing VLAN/VIF creation logic | Christian Poessinger | |
2020-03-08 | vrf: T31: support VRF usage on VLAN/VIF interfaces | Christian Poessinger | |
2020-03-05 | macvlan: T1635: ensure 'link' interface really exists | Christian Poessinger | |
2020-03-03 | interfaces: T1579: fix c/p error when evaluating ↵ | Christian Poessinger | |
os.environ['VYOS_TAGNODE_VALUE'] This has been only a theoretical problem but then the error condition was triggered - only an error has been printed instead of raising an Exception. | |||
2020-02-24 | ifconfig: T2057: generalised Interface configuration | Thomas Mangin | |
Provides a way to pass options to interface consistent between subclasses of Interface | |||
2020-02-13 | macvlan: T1635: migrate pseudo-ethernet interface definition to XML/Python | Christian Poessinger | |