VLAN interfaces can be created by stating the parent device in the VLAN definition, but the device should be applied automatically if the VLAN is a member of an interface.
For instance, this works:
- type: interface name: nic2 addresses: - ip_netmask: 192.168.20.10/24 members: - type: vlan vlan_id: 20 device: nic2
But the device: nic2 shouldn't be required, since the VLAN is a member of nic2 it should be applied automatically.
VLAN interfaces can be created by stating the parent device in the VLAN definition, but the device should be applied automatically if the VLAN is a member of an interface.
For instance, this works:
-
type: interface
name: nic2
addresses:
- ip_netmask: 192.168.20.10/24
members:
-
type: vlan
vlan_id: 20
device: nic2
But the device: nic2 shouldn't be required, since the VLAN is a member of nic2 it should be applied automatically.