Now, VLAN devices will be disabled by default. To enable them, create a
file named /etc/vswitchd.enable-vlans.
This commit will be reverted when a real fix is available.
argv += ['--add=bridge.%s.port=%s' % (datapath, port)]
if vlan_slave:
argv += ['--add=vlan.%s.tag=%s' % (ipdev, pifrec['VLAN'])]
- argv += ['--add=iface.%s.internal=true' % (ipdev)]
+ if os.path.exists("/etc/vswitchd.enable-vlans"):
+ argv += ['--add=iface.%s.internal=true' % (ipdev)]
if bond_master:
argv += configure_bond(bond_master)
modify_config(argv)