Page MenuHomeVyOS Platform

Unify addressing and options of dummy and other interfaces
Open, WishlistPublic

Description

Right now, 'dummy' interface only has the plain 'address' node, and not the other nodes that interfaces like ethernet, bridge, bond have (ipv6, dhcp options, ...). If possible, apply these options to dummy interface, and other interfaces that don't have them but might be able to.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jjakob triaged this task as Wishlist priority.Apr 30 2020, 11:03 PM
jjakob created this task.
jjakob created this object in space S1 VyOS Public.

Thanks to @thomas-mangin there is now a common function to parse common interface options in configdict.intf_to_dict() and other common functions to get (configtree.add_to_dict()), verify and apply (ifconfig-vlan.py) vif and vif-s/vif-c configuration which simplifies things a lot. It can be used by other interfaces that support those options (all L2 interfaces, and tunnels in L2 mode). Those functions are already used by bonding, bridge, ethernet, pseudo-ethernet and wireless, it wouldn't be much work to add them to other L2-capable interfaces.

erkin set Issue type to Internal change (not visible to end users).Aug 30 2021, 6:24 AM
erkin removed a subscriber: Active contributors.