Resource example
# Create VLAN 2, configure the description as vlan2, and configure the VLAN name as vlan2.
netdev_vlan 'vlan2' do vlan_id 2 description 'vlan2' vlan_name ‘vlan2’ end
# Create VLAN 2, configure the description as vlan2, and configure the VLAN name as vlan2.
netdev_vlan 'vlan2' do vlan_id 2 description 'vlan2' vlan_name ‘vlan2’ end