b276acf7ba
Support three types of vlan configurations defined in interfaces, conforming to the PVE configurations: iface nic.<vlan-id> inet iface vlan<vlan-id> inet vlan-raw-device <nic> iface <arbitraty-name> inet vlan-id <vlan-id> vlan-raw-device <nic> * Add lexer Token enum variants for vlan-id and vlan-raw-device and parse them in parse_iface_attributes. * Add tests to verify this works in the above scenarios Signed-off-by: Stefan Lendl <s.lendl@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Folke Gleumes <f.gleumes@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>