serial_tests.api.compute.admin package¶
Submodules¶
serial_tests.api.compute.admin.test_aggregates module¶
- class AggregatesAdminTestBase(*args, **kwargs)[source]¶
Bases:
BaseV2ComputeAdminTest
Tests Aggregates API that require admin privileges
- class AggregatesAdminTestJSON(*args, **kwargs)[source]¶
Bases:
AggregatesAdminTestBase
Tests Aggregates API that require admin privileges
- test_aggregate_add_host_create_server_with_az()[source]¶
Test idempotent id: 96be03c7-570d-409c-90f8-e4db3c646996
Test adding a host to the given aggregate and creating a server
- test_aggregate_add_host_get_details()[source]¶
Test idempotent id: eeef473c-7c52-494d-9f09-2ed7fc8fc036
Test showing aggregate contains the host added to the aggregate
Add a host to the given aggregate and get details.
- test_aggregate_add_host_list()[source]¶
Test idempotent id: 7f6a1cc5-2446-4cdb-9baa-b6ae0a919b72
Test listing aggregate contains the host added to the aggregate
Add a host to the given aggregate and list.
- test_aggregate_add_remove_host()[source]¶
Test idempotent id: c8e85064-e79b-4906-9931-c11c24294d02
Test adding host to and removing host from aggregate
- test_aggregate_create_delete()[source]¶
Test idempotent id: 0d148aa3-d54c-4317-aa8d-42040a475e20
Test create/delete aggregate
- test_aggregate_create_delete_with_az()[source]¶
Test idempotent id: 5873a6f8-671a-43ff-8838-7ce430bb6d0b
Test create/delete aggregate with availability_zone
- test_aggregate_create_update_metadata_get_details()[source]¶
Test idempotent id: 36ec92ca-7a73-43bc-b920-7531809e8540
Test set/get aggregate metadata
- class AggregatesAdminTestV241(*args, **kwargs)[source]¶
Bases:
AggregatesAdminTestBase
Tests Aggregates API that require admin privileges
Tests Aggregates API that require admin privileges with compute microversion greater than 2.40.
serial_tests.api.compute.admin.test_server_affinity module¶
- class ServersAffinityTest(*args, **kwargs)[source]¶
Bases:
BaseV2ComputeAdminTest
Test creating servers without multi-create with scheduler_hints.
The server affinity tests in ServersOnMultiNodesTest use the /servers multi-create API and therefore do not test affinity behavior when server group members already exist on hosts.
These tests must be run in serial because they will be disabling compute hosts in order to verify affinity behavior.
- test_create_server_with_affinity()[source]¶
Test idempotent id: 28ef4c29-09db-40a8-aacd-dc5fa321f35e
- test_create_server_with_affinity_negative()[source]¶
Test idempotent id: 3ac1ff4e-0fa2-4069-ae59-695cf829275b
- test_create_server_with_anti_affinity()[source]¶
Test idempotent id: 475e9db0-5512-41cb-a6b2-4bd6fb3c7603
- test_create_server_with_anti_affinity_max_server_per_host()[source]¶
Test idempotent id: 88a8c3d4-c0e8-4873-ba6f-006004779f29
- test_create_server_with_anti_affinity_negative()[source]¶
Test idempotent id: c5e43585-0fdd-42a9-a525-2b99465c28df