Change admin_state_up to True when create port
VM can not get IP address by DHCP if the port's admin_state_up is False. Change-Id: I684312581522483fb4a040ebb8e939b4fde78e5f
This commit is contained in:
parent
1f2cb05d67
commit
786efb321a
|
@ -138,7 +138,7 @@ class DeviceNova(abstract_driver.DeviceAbstractDriver):
|
|||
port_data = {
|
||||
'tenant_id': tenant_id,
|
||||
'network_id': network_id,
|
||||
'admin_state_up': False,
|
||||
'admin_state_up': True,
|
||||
'fixed_ips': attributes.ATTR_NOT_SPECIFIED,
|
||||
}
|
||||
if subnet_id:
|
||||
|
|
Loading…
Reference in New Issue