Files
deb-nova/nova/virt/hyperv/vmops.py
Claudiu Belu 00fdf28408 hyper-v: wait for neutron vif plug events
During spawn, the Hyper-V driver should wait for the Neutron
VIF plug events before starting the instance, in order to ensure
that the VIFs are already bound and the guest will be able to
send DHCP requests.

The configuration option "vif_plugging_timeout" will determine
the maximum amount of time to wait for the Neutron events.

Setting the configuration option "vif_plugging_is_fatal" to True
will cause an exception to be raised during spawn, if the Hyper-V
driver did not receive needed Neutron port bound events.

Closes-Bug: #1631872

Change-Id: Ie8b4cc64f580aca1115d88258728ab90241d112b
2016-11-17 15:04:44 +02:00

43 KiB