nova/nova/tests
Moshe Levi a9d55427b6 Fix detach SR-IOV when using LibvirtConfigGuestHostdevPCI
This patch fixes an issue which was introduced by this
change If3edc1965c01a077eb61984a442e0d778d870d75.
Usually the vif config is of type LibvirtConfigGuestInterface,
but some vif use LibvirtConfigGuestHostdevPCI config
(e.g.  the ib_hostdev). The difference is that
LibvirtConfigGuestInterface keeps the pci address in source_dev
while LibvirtConfigGuestHostdevPCI has domain, bus, slot and
function, instead of relying on the vif config type we can take the
pci address for the neutron port.

Closes-Bug: #1560860

Change-Id: I62a7ff16f1c9c5da923451520fbeeabb5cc0c5c6
(cherry picked from commit f15d9a9693)
2016-03-30 02:04:28 +00:00
..
functional Merge "Add functional regression test for bug 1552888" 2016-03-10 15:13:04 +00:00
live_migration/hooks Ceph for live-migration job 2016-01-22 16:27:58 +03:00
unit Fix detach SR-IOV when using LibvirtConfigGuestHostdevPCI 2016-03-30 02:04:28 +00:00
__init__.py
fixtures.py Change SpawnIsSynchronous fixture return 2016-03-10 13:48:41 -05:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00