nova/nova/tests/functional/db
Jay Pipes 039c94a6b9 begin refactor AllocCandidates._get_by_filters()
The AllocationCandidates._get_by_filters() method is a long, complex
mega-method. We want to detangle it and make the code in it
understandable and readable. The first step in this refactoring involves
renaming a few poorly-named variables, adding more code comments, and
breaking out the SQL for the most common code path (where no providers
share resources with other providers) into a separate module-level
function.

Change-Id: I716b279f719eb1fe26401a776344b976eca6587a
2017-11-15 08:04:41 -06:00
..
api Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_aggregate.py Remove aggregate uuid generation on load from DB 2017-04-10 18:16:01 -04:00
test_aggregate_model.py Add aggregates tables to the API db. 2016-06-01 12:00:56 -05:00
test_allocation_candidates.py begin refactor AllocCandidates._get_by_filters() 2017-11-15 08:04:41 -06:00
test_archive.py Archive instance-related rows when the parent instance is deleted 2016-09-27 12:08:21 -07:00
test_build_request.py Support tag instances when boot(2/4) 2017-06-06 06:16:41 +00:00
test_cell_mapping.py Fix database poison warnings, part 25 2016-11-10 13:57:13 +00:00
test_compute_node.py Add ComputeNodeList.get_by_hypervisor_type() 2017-09-11 08:16:54 -07:00
test_connection_switch.py Add scatter gather utilities for cells 2017-06-29 19:41:20 +00:00
test_flavor.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_flavor_model.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_host_mapping.py Make discover_hosts only query for unmapped ComputeNode records 2017-05-15 10:50:01 -04:00
test_instance.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_instance_group.py Add InstanceGroup._remove_members_in_db 2017-06-08 21:01:08 +00:00
test_instance_group_model.py Add instance groups tables to the API database 2016-06-23 00:28:50 +00:00
test_instance_mapping.py Add get_by_instance_uuids() to InstanceMappingList 2017-04-06 10:57:06 -07:00
test_keypair.py Cleanup some redundant USES_DB_SELF usage 2016-09-26 15:47:16 -04:00
test_quota.py Count instances to check quota 2017-07-18 17:31:15 +00:00
test_quota_model.py Add quota related tables to the api database. 2016-10-12 07:40:00 +00:00
test_quotas.py Add online migration to move quotas to API database 2017-07-24 18:36:46 -04:00
test_request_spec.py Merge "Remove unused conf" 2016-10-06 20:57:28 +00:00
test_resource_class_cache.py placement: Perform build list of standard classes once 2016-12-05 16:13:49 +00:00
test_resource_provider.py begin refactor AllocCandidates._get_by_filters() 2017-11-15 08:04:41 -06:00
test_security_group.py Add SecurityGroupList.get_counts() 2017-06-19 21:51:46 +00:00