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 = flags.FLAGS
|
||||||
flags.DEFINE_string('vlan_interface', 'vmnic0',
|
FLAGS['vlan_interface'].SetDefault('vmnic0')
|
||||||
'Physical network adapter name in VMware ESX host for '
|
|
||||||
'vlan networking')
|
|
||||||
|
|
||||||
|
|
||||||
def ensure_vlan_bridge(vlan_num, bridge, net_attrs=None):
|
def ensure_vlan_bridge(vlan_num, bridge, net_attrs=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user