uncomment check_port_availability

we should make sure the port is available, before use it.

Change-Id: Id845d55e4ea94d4040cb74073138744665e59203
This commit is contained in:
Xinran 2017-09-07 15:42:03 +08:00
parent 475ec60d8d
commit bb40c3b20f
1 changed files with 1 additions and 1 deletions

View File

@ -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 "