Instead of redefining the flag 'vlan_interface', just setting a default value (vmnic0) in vmwareapi_net.py
This commit is contained in:
parent
db18a79241
commit
61a4dd17be
@ -30,9 +30,7 @@ LOG = logging.getLogger("nova.network.vmwareapi_net")
|
||||
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
flags.DEFINE_string('vlan_interface', 'vmnic0',
|
||||
'Physical network adapter name in VMware ESX host for '
|
||||
'vlan networking')
|
||||
FLAGS['vlan_interface'].SetDefault('vmnic0')
|
||||
|
||||
|
||||
def ensure_vlan_bridge(vlan_num, bridge, net_attrs=None):
|
||||
|
Loading…
Reference in New Issue
Block a user