nova/nova/tests/unit
Dustin Cowles 3667af6cd1 Provider Config File: YAML file loading and schema validation
This series implements the referenced blueprint to allow for specifying
custom resource provider traits and inventories via yaml config files.

This first commit includes schema version 1.0 and functions to load and
validate against that schema.

Since this patch, package ddt>=1.2.1 is required to run tests.

Co-Author: Tony Su <tao.su@intel.com>
Author: Dustin Cowles <dustin.cowles@intel.com>
Blueprint: provider-config-file
Change-Id: I58099726f799c427e9174a0dcce9889344d51e7c
2020-07-30 07:22:46 +00:00
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api Merge "compute: Do not allow rescue attempts using volume snapshot images" 2020-07-23 09:50:04 +00:00
cmd Add nova-status upgrade check and reno for policy new defaults 2020-05-01 15:32:51 +00:00
compute Provider Config File: YAML file loading and schema validation 2020-07-30 07:22:46 +00:00
conductor objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
conf Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Fix configure() called after DatabaseAtVersion fixture 2020-05-22 17:45:14 +01:00
fake_loadables
image Merge "Move image verification and writing out of download method" 2020-07-21 14:22:14 +00:00
keymgr
network Merge "Switch from unittest2 compat methods to Python 3.x methods" 2020-07-21 13:57:40 +00:00
notifications scheduler: Request vTPM trait based on flavor or image 2020-07-16 17:54:44 +01:00
objects Merge "trivial: Test object backporting against correct version" 2020-07-24 09:44:26 +00:00
pci objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
policies Merge "objects: Introduce 'pcpuset' field for InstanceNUMACell" 2020-07-15 10:49:05 +00:00
privsep images: Make JSON the default output format of calls to qemu-img info 2020-04-16 16:38:24 +01:00
scheduler Merge "scheduler: Request vTPM trait based on flavor or image" 2020-07-24 09:23:54 +00:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
virt Merge "tests: Rename tests for '_create_guest_with_network'" 2020-07-24 09:24:26 +00:00
volume Merge "Add retry to cinder API calls related to volume detach" 2020-04-20 17:36:33 +00:00
__init__.py
cast_as_call.py
conf_fixture.py Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py objects: Update keypairs when saving an instance 2020-07-22 12:29:19 +00:00
fake_ldap.py
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py Add new default roles in remaining servers policies 2020-04-18 18:04:19 +00:00
fake_processutils.py
fake_request_spec.py objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py
policy_fixture.py Fix the suppress of policy deprecation warnings 2020-01-07 17:58:09 +00:00
test_api_validation.py Don't hardcode Python versions in test 2019-12-12 15:16:21 +00:00
test_availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
test_baserpc.py
test_block_device.py utils: Move 'get_bdm_image_metadata' to nova.block_device 2020-07-08 11:56:01 +01:00
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py crypto: Add support for creating, destroying vTPM secrets 2020-07-16 17:58:36 +01:00
test_exception.py
test_fake_notifier.py
test_fixtures.py Fix configure() called after DatabaseAtVersion fixture 2020-05-22 17:45:14 +01:00
test_flavors.py
test_hacking.py Remove hacking rules for python 2/3 compatibility 2020-06-17 08:19:13 +00:00
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_loadables.py
test_matchers.py
test_metadata.py metadata: export the vCPU IDs that are pinning on the host CPUs 2020-07-21 21:31:41 +08:00
test_notifications.py nova-net: Remove dependency on nova-net from fake cache 2020-01-08 13:54:12 +00:00
test_notifier.py
test_policy.py Suppress remaining policy warnings in unit tests 2020-05-08 11:43:38 -05:00
test_profiler.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
test_quota.py nova-net: Convert remaining unit tests to neutron 2019-12-16 09:58:42 +00:00
test_rpc.py
test_safeutils.py
test_service.py nova-net: Remove final references to nova-network 2020-01-08 13:54:12 +00:00
test_service_auth.py
test_test.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_test_utils.py Extend is_ipv6_supported() to cover more error cases 2020-06-29 15:13:55 +02:00
test_utils.py utils: Move 'get_bdm_image_metadata' to nova.block_device 2020-07-08 11:56:01 +01:00
test_versions.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_weights.py
test_wsgi.py
utils.py Extend is_ipv6_supported() to cover more error cases 2020-06-29 15:13:55 +02:00