uncomment check_port_availability
we should make sure the port is available, before use it. Change-Id: Id845d55e4ea94d4040cb74073138744665e59203
This commit is contained in:
parent
475ec60d8d
commit
bb40c3b20f
@ -583,7 +583,7 @@ class EngineManager(base_manager.BaseEngineManager):
|
||||
except Exception:
|
||||
raise exception.PortNotFound(port_id=port_id)
|
||||
|
||||
# self.network_api.check_port_availability(vif_port)
|
||||
self.network_api.check_port_availability(vif_port)
|
||||
|
||||
else:
|
||||
LOG.debug("Attaching network interface %(net_id) to server "
|
||||
|
Loading…
x
Reference in New Issue
Block a user