nova/nova/tests/functional/api
Francois Palin 1d4f64b190 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
(cherry picked from commit ab7c968b6f)
2019-05-04 09:44:22 -06:00
..
openstack Use external placement in functional tests 2018-12-12 18:46:49 +00:00
__init__.py move the integrated tests into the functional tree 2014-11-26 13:17:20 -05:00
client.py Include all network devices in nova diagnostics 2019-05-04 09:44:22 -06:00