nova/nova/tests/functional
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
..
api Include all network devices in nova diagnostics 2019-04-15 11:10:08 -04:00
api_sample_tests Move slight bonkers IP management to privsep. 2019-03-17 23:19:08 +00:00
compute Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
db Add placeholder migrations for Stein backports 2019-04-08 18:08:40 +01:00
libvirt Include all network devices in nova diagnostics 2019-04-15 11:10:08 -04:00
notification_sample_tests Remove CellMappingPayload database_connection and transport_url fields 2019-04-04 09:59:12 -04:00
regressions Do not persist RequestSpec.ignore_hosts 2019-04-01 15:01:29 +00:00
wsgi Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api_paste_fixture.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
api_samples_test_base.py Merge "Fix os-simple-tenant-usage result order" 2018-10-27 08:57:52 +00:00
fixtures.py Convert driver supported capabilities to compute node provider traits 2019-02-28 23:28:19 +00:00
integrated_helpers.py Handle placement error during re-schedule 2019-03-29 15:48:44 +01:00
test_aggregates.py Check hosts have no instances for AZ rename 2019-03-01 12:25:16 -05:00
test_availability_zones.py Update instance.availability_zone on revertResize 2019-03-13 21:12:04 -04:00
test_boot_from_volume.py Properly track local root disk usage during moves 2018-10-08 17:33:49 -04:00
test_compute_mgr.py Fup for the bandwidth series 2019-02-27 10:23:15 +01:00
test_conf_max_attach_disk_devices.py Add configuration of maximum disk devices to attach 2019-01-30 15:47:10 +00:00
test_images.py Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
test_instance_actions.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_json_filter.py Add functional test for the JsonFilter 2019-03-26 12:56:11 -04:00
test_legacy_v2_compatible_wrapper.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_list_servers_ip_filter.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_nova_manage.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_report_client.py Use a placement conf when testing report client 2019-03-04 20:43:48 +00:00
test_server_group.py Remove duplicate cleanup in functional tests 2019-03-07 23:58:58 +00:00
test_servers.py Merge "Fix bug preventing forbidden traits from working" 2019-04-03 00:16:50 +00:00