When vif.plug is called, XenAPI's vif plug does not plug a device,
but returns a dictionary of the vif record. This is not vif.plug is
expected to do. This fix will create a new VIF when vif_driver.plug
is called and destroy this VIF when vif_driver.unplug is called
Reviewed: https:/ /review. openstack. org/254022 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0e3372ac2e9 444e69fde6df14a 445ff1b963988a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0e3372ac2e9444e 69fde6df14a445f f1b963988a
Author: Huan Xie <email address hidden>
Date: Mon Dec 7 06:12:31 2015 +0000
XenAPI: Fix VIF plug and unplug problem
When vif.plug is called, XenAPI's vif plug does not plug a device,
but returns a dictionary of the vif record. This is not vif.plug is
expected to do. This fix will create a new VIF when vif_driver.plug
is called and destroy this VIF when vif_driver.unplug is called
Change-Id: I1eb4cc3b1c4466 2fb3063a854880e bf79fcf6942
Closes-Bug: #1521977