nova/nova/tests/functional/libvirt
Francois Palin ab7c968b6f Include all network devices in nova diagnostics
get_instance_diagnostics expected all interfaces
to have a <target> element with a "dev" attribute in
the instance XML. This is not the case for VFIO
interfaces (<interface type="hostdev">).
This caused an IndexError when looping over
the interfaces.

This patch fixes this issue by retrieving interfaces
data directly from the guest XML and adding nics
appropriately to the diagnostics object.

Change-Id: I8ef852d449e9e637d45e4ac92ffc5d1abd8d31c5
Closes-Bug: #1821798
2019-04-15 11:10:08 -04:00
..
__init__.py tests: introduce a NUMAServersTest class 2015-04-16 11:43:53 -04:00
base.py Include all network devices in nova diagnostics 2019-04-15 11:10:08 -04:00
test_numa_servers.py Include all network devices in nova diagnostics 2019-04-15 11:10:08 -04:00
test_pci_sriov_servers.py Include all network devices in nova diagnostics 2019-04-15 11:10:08 -04:00
test_report_cpu_traits.py Convert driver supported capabilities to compute node provider traits 2019-02-28 23:28:19 +00:00
test_reshape.py FUP for test_reshape 2019-03-06 15:12:54 -06:00
test_rt_servers.py tests: Create functional libvirt test base class 2018-08-23 17:37:50 +00:00
test_shared_resource_provider.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00