compute package¶
Subpackages¶
- compute.admin package
- Submodules
- compute.admin.test_aggregates_negative module
AggregatesAdminNegativeTestJSON
AggregatesAdminNegativeTestJSON.test_aggregate_add_existent_host()
AggregatesAdminNegativeTestJSON.test_aggregate_add_host_as_user()
AggregatesAdminNegativeTestJSON.test_aggregate_add_non_exist_host()
AggregatesAdminNegativeTestJSON.test_aggregate_create_aggregate_name_length_exceeds_255()
AggregatesAdminNegativeTestJSON.test_aggregate_create_aggregate_name_length_less_than_1()
AggregatesAdminNegativeTestJSON.test_aggregate_create_as_user()
AggregatesAdminNegativeTestJSON.test_aggregate_create_with_existent_aggregate_name()
AggregatesAdminNegativeTestJSON.test_aggregate_delete_as_user()
AggregatesAdminNegativeTestJSON.test_aggregate_delete_with_invalid_id()
AggregatesAdminNegativeTestJSON.test_aggregate_get_details_as_user()
AggregatesAdminNegativeTestJSON.test_aggregate_get_details_with_invalid_id()
AggregatesAdminNegativeTestJSON.test_aggregate_list_as_user()
AggregatesAdminNegativeTestJSON.test_aggregate_remove_host_as_user()
AggregatesAdminNegativeTestJSON.test_aggregate_remove_nonexistent_host()
- compute.admin.test_assisted_volume_snapshots module
- compute.admin.test_auto_allocate_network module
- compute.admin.test_availability_zone module
- compute.admin.test_availability_zone_negative module
- compute.admin.test_create_server module
- compute.admin.test_delete_server module
- compute.admin.test_flavors module
FlavorsAdminTestJSON
FlavorsAdminTestJSON.test_create_flavor_using_string_ram()
FlavorsAdminTestJSON.test_create_flavor_verify_entry_in_list_details()
FlavorsAdminTestJSON.test_create_flavor_with_int_id()
FlavorsAdminTestJSON.test_create_flavor_with_none_id()
FlavorsAdminTestJSON.test_create_flavor_with_uuid_id()
FlavorsAdminTestJSON.test_create_list_flavor_without_extra_data()
FlavorsAdminTestJSON.test_create_server_with_non_public_flavor()
FlavorsAdminTestJSON.test_is_public_string_variations()
FlavorsAdminTestJSON.test_list_non_public_flavor()
FlavorsAdminTestJSON.test_list_public_flavor_with_other_user()
- compute.admin.test_flavors_access module
- compute.admin.test_flavors_access_negative module
FlavorsAccessNegativeTestJSON
FlavorsAccessNegativeTestJSON.test_add_flavor_access_duplicate()
FlavorsAccessNegativeTestJSON.test_flavor_access_list_with_public_flavor()
FlavorsAccessNegativeTestJSON.test_flavor_non_admin_add()
FlavorsAccessNegativeTestJSON.test_flavor_non_admin_remove()
FlavorsAccessNegativeTestJSON.test_remove_flavor_access_not_found()
- compute.admin.test_flavors_extra_specs module
- compute.admin.test_flavors_extra_specs_negative module
FlavorsExtraSpecsNegativeTestJSON
FlavorsExtraSpecsNegativeTestJSON.test_flavor_get_nonexistent_key()
FlavorsExtraSpecsNegativeTestJSON.test_flavor_non_admin_set_keys()
FlavorsExtraSpecsNegativeTestJSON.test_flavor_non_admin_unset_keys()
FlavorsExtraSpecsNegativeTestJSON.test_flavor_non_admin_update_specific_key()
FlavorsExtraSpecsNegativeTestJSON.test_flavor_unset_nonexistent_key()
FlavorsExtraSpecsNegativeTestJSON.test_flavor_update_mismatch_key()
FlavorsExtraSpecsNegativeTestJSON.test_flavor_update_more_key()
- compute.admin.test_flavors_microversions module
- compute.admin.test_hosts module
- compute.admin.test_hosts_negative module
HostsAdminNegativeTestJSON
HostsAdminNegativeTestJSON.test_list_hosts_with_non_admin_user()
HostsAdminNegativeTestJSON.test_reboot_host_with_non_admin_user()
HostsAdminNegativeTestJSON.test_reboot_nonexistent_host()
HostsAdminNegativeTestJSON.test_show_host_detail_with_non_admin_user()
HostsAdminNegativeTestJSON.test_show_host_detail_with_nonexistent_hostname()
HostsAdminNegativeTestJSON.test_shutdown_host_with_non_admin_user()
HostsAdminNegativeTestJSON.test_shutdown_nonexistent_host()
HostsAdminNegativeTestJSON.test_startup_host_with_non_admin_user()
HostsAdminNegativeTestJSON.test_startup_nonexistent_host()
HostsAdminNegativeTestJSON.test_update_host_with_invalid_maintenance_mode()
HostsAdminNegativeTestJSON.test_update_host_with_invalid_status()
HostsAdminNegativeTestJSON.test_update_host_with_non_admin_user()
HostsAdminNegativeTestJSON.test_update_host_without_param()
HostsAdminNegativeTestJSON.test_update_nonexistent_host()
- compute.admin.test_hypervisor module
- compute.admin.test_hypervisor_negative module
HypervisorAdminNegativeTestBase
HypervisorAdminNegativeTestJSON
HypervisorAdminNegativeTestJSON.test_get_hypervisor_list_details_with_non_admin_user()
HypervisorAdminNegativeTestJSON.test_get_hypervisor_list_with_non_admin_user()
HypervisorAdminNegativeTestJSON.test_get_hypervisor_stats_with_non_admin_user()
HypervisorAdminNegativeTestJSON.test_get_hypervisor_uptime_with_non_admin_user()
HypervisorAdminNegativeTestJSON.test_get_nonexistent_hypervisor_uptime()
HypervisorAdminNegativeTestJSON.test_show_hypervisor_with_non_admin_user()
HypervisorAdminNegativeTestJSON.test_show_nonexistent_hypervisor()
HypervisorAdminNegativeUnderV252Test
HypervisorAdminNegativeUnderV252Test.test_search_hypervisor_with_non_admin_user()
HypervisorAdminNegativeUnderV252Test.test_search_nonexistent_hypervisor()
HypervisorAdminNegativeUnderV252Test.test_show_servers_with_non_admin_user()
HypervisorAdminNegativeUnderV252Test.test_show_servers_with_nonexistent_hypervisor()
- compute.admin.test_instance_usage_audit_log module
- compute.admin.test_instance_usage_audit_log_negative module
- compute.admin.test_keypairs_v210 module
- compute.admin.test_live_migration module
- compute.admin.test_live_migration_negative module
- compute.admin.test_migrations module
- compute.admin.test_networks module
- compute.admin.test_quotas module
- compute.admin.test_quotas_negative module
- compute.admin.test_security_groups module
- compute.admin.test_server_diagnostics module
- compute.admin.test_server_diagnostics_negative module
- compute.admin.test_server_external_events module
- compute.admin.test_servers module
ServersAdmin275Test
ServersAdminTestJSON
ServersAdminTestJSON.test_create_server_with_scheduling_hint()
ServersAdminTestJSON.test_inject_network_info()
ServersAdminTestJSON.test_list_servers_by_admin()
ServersAdminTestJSON.test_list_servers_by_admin_with_all_tenants()
ServersAdminTestJSON.test_list_servers_by_admin_with_specified_tenant()
ServersAdminTestJSON.test_list_servers_detailed_filter_by_invalid_status()
ServersAdminTestJSON.test_list_servers_filter_by_error_status()
ServersAdminTestJSON.test_list_servers_filter_by_exist_host()
ServersAdminTestJSON.test_rebuild_server_in_error_state()
ServersAdminTestJSON.test_reset_state_server()
- compute.admin.test_servers_negative module
ServersAdminNegativeTestJSON
ServersAdminNegativeTestJSON.test_migrate_non_existent_server()
ServersAdminNegativeTestJSON.test_migrate_server_invalid_state()
ServersAdminNegativeTestJSON.test_reset_state_server_invalid_state()
ServersAdminNegativeTestJSON.test_reset_state_server_invalid_type()
ServersAdminNegativeTestJSON.test_reset_state_server_nonexistent_server()
ServersAdminNegativeTestJSON.test_resize_server_using_overlimit_ram()
ServersAdminNegativeTestJSON.test_resize_server_using_overlimit_vcpus()
- compute.admin.test_servers_on_multinodes module
ServersOnMultiNodesTest
ServersOnMultiNodesTest.test_create_server_with_scheduler_hint_group_affinity()
ServersOnMultiNodesTest.test_create_server_with_scheduler_hint_group_anti_affinity()
ServersOnMultiNodesTest.test_create_servers_on_different_hosts()
ServersOnMultiNodesTest.test_create_servers_on_different_hosts_with_list_of_servers()
ServersOnMultiNodesTest.test_create_servers_on_same_host()
UnshelveToHostMultiNodesTest
- compute.admin.test_services module
- compute.admin.test_services_negative module
ServicesAdminNegativeTestJSON
ServicesAdminNegativeTestJSON.test_get_service_by_invalid_params()
ServicesAdminNegativeTestJSON.test_get_service_by_invalid_service_and_valid_host()
ServicesAdminNegativeTestJSON.test_get_service_with_valid_service_and_invalid_host()
ServicesAdminNegativeTestJSON.test_list_services_with_non_admin_user()
ServicesAdminNegativeV253TestJSON
- compute.admin.test_simple_tenant_usage module
- compute.admin.test_simple_tenant_usage_negative module
- compute.admin.test_volume module
- compute.admin.test_volume_swap module
- compute.admin.test_volumes_negative module
- Module contents
- compute.certificates package
- compute.flavors package
- Submodules
- compute.flavors.test_flavors module
FlavorsV2TestJSON
FlavorsV2TestJSON.test_get_flavor()
FlavorsV2TestJSON.test_list_flavors()
FlavorsV2TestJSON.test_list_flavors_detailed_filter_by_min_disk()
FlavorsV2TestJSON.test_list_flavors_detailed_filter_by_min_ram()
FlavorsV2TestJSON.test_list_flavors_detailed_limit_results()
FlavorsV2TestJSON.test_list_flavors_detailed_using_marker()
FlavorsV2TestJSON.test_list_flavors_filter_by_min_disk()
FlavorsV2TestJSON.test_list_flavors_filter_by_min_ram()
FlavorsV2TestJSON.test_list_flavors_limit_results()
FlavorsV2TestJSON.test_list_flavors_using_marker()
FlavorsV2TestJSON.test_list_flavors_with_detail()
- compute.flavors.test_flavors_negative module
- Module contents
- compute.floating_ips package
- Submodules
- compute.floating_ips.base module
- compute.floating_ips.test_floating_ips_actions module
- compute.floating_ips.test_floating_ips_actions_negative module
FloatingIPsAssociationNegativeTestJSON
FloatingIPsAssociationNegativeTestJSON.test_associate_ip_to_server_with_floating_ip()
FloatingIPsAssociationNegativeTestJSON.test_associate_ip_to_server_without_passing_floating_ip()
FloatingIPsAssociationNegativeTestJSON.test_associate_nonexistent_floating_ip()
FloatingIPsAssociationNegativeTestJSON.test_dissociate_nonexistent_floating_ip()
FloatingIPsNegativeTestJSON
- compute.floating_ips.test_list_floating_ips module
- compute.floating_ips.test_list_floating_ips_negative module
- Module contents
- compute.images package
- Submodules
- compute.images.test_image_metadata module
ImagesMetadataTestJSON
ImagesMetadataTestJSON.test_delete_image_metadata_item()
ImagesMetadataTestJSON.test_get_image_metadata_item()
ImagesMetadataTestJSON.test_list_image_metadata()
ImagesMetadataTestJSON.test_set_image_metadata()
ImagesMetadataTestJSON.test_set_image_metadata_item()
ImagesMetadataTestJSON.test_update_image_metadata()
- compute.images.test_image_metadata_negative module
ImagesMetadataNegativeTestJSON
ImagesMetadataNegativeTestJSON.test_delete_nonexistent_image_metadata_item()
ImagesMetadataNegativeTestJSON.test_get_nonexistent_image_metadata_item()
ImagesMetadataNegativeTestJSON.test_list_nonexistent_image_metadata()
ImagesMetadataNegativeTestJSON.test_set_nonexistent_image_metadata()
ImagesMetadataNegativeTestJSON.test_set_nonexistent_image_metadata_item()
ImagesMetadataNegativeTestJSON.test_update_nonexistent_image_metadata()
- compute.images.test_images module
- compute.images.test_images_negative module
ImagesDeleteNegativeTestJSON
ImagesDeleteNegativeTestJSON.test_delete_image_blank_id()
ImagesDeleteNegativeTestJSON.test_delete_image_negative_image_id()
ImagesDeleteNegativeTestJSON.test_delete_image_non_hex_string_id()
ImagesDeleteNegativeTestJSON.test_delete_image_with_id_over_character_limit()
ImagesDeleteNegativeTestJSON.test_delete_image_with_invalid_image_id()
ImagesDeleteNegativeTestJSON.test_delete_non_existent_image()
ImagesNegativeTestBase
ImagesNegativeTestJSON
- compute.images.test_images_oneserver module
- compute.images.test_images_oneserver_negative module
ImagesOneServerNegativeTestJSON
ImagesOneServerNegativeTestJSON.test_create_image_specify_invalid_metadata()
ImagesOneServerNegativeTestJSON.test_create_image_specify_metadata_over_limits()
ImagesOneServerNegativeTestJSON.test_create_image_specify_name_over_character_limit()
ImagesOneServerNegativeTestJSON.test_create_second_image_when_first_image_is_being_saved()
ImagesOneServerNegativeTestJSON.test_delete_image_that_is_not_yet_active()
- compute.images.test_list_image_filters module
ListImageFiltersTestJSON
ListImageFiltersTestJSON.test_list_images_filter_by_changes_since()
ListImageFiltersTestJSON.test_list_images_filter_by_name()
ListImageFiltersTestJSON.test_list_images_filter_by_server_id()
ListImageFiltersTestJSON.test_list_images_filter_by_server_ref()
ListImageFiltersTestJSON.test_list_images_filter_by_status()
ListImageFiltersTestJSON.test_list_images_filter_by_type()
ListImageFiltersTestJSON.test_list_images_limit_results()
ListImageFiltersTestJSON.test_list_images_with_detail_filter_by_changes_since()
ListImageFiltersTestJSON.test_list_images_with_detail_filter_by_name()
ListImageFiltersTestJSON.test_list_images_with_detail_filter_by_server_ref()
ListImageFiltersTestJSON.test_list_images_with_detail_filter_by_status()
ListImageFiltersTestJSON.test_list_images_with_detail_filter_by_type()
ListImageFiltersTestJSON.test_list_images_with_detail_limit_results()
- compute.images.test_list_image_filters_negative module
- compute.images.test_list_images module
- Module contents
- compute.keypairs package
- Submodules
- compute.keypairs.base module
- compute.keypairs.test_keypairs module
- compute.keypairs.test_keypairs_negative module
KeyPairsNegativeTestJSON
KeyPairsNegativeTestJSON.test_create_keypair_invalid_name()
KeyPairsNegativeTestJSON.test_create_keypair_when_public_key_bits_exceeds_maximum()
KeyPairsNegativeTestJSON.test_create_keypair_with_duplicate_name()
KeyPairsNegativeTestJSON.test_create_keypair_with_empty_name_string()
KeyPairsNegativeTestJSON.test_create_keypair_with_empty_public_key()
KeyPairsNegativeTestJSON.test_create_keypair_with_long_keynames()
KeyPairsNegativeTestJSON.test_keypair_create_with_invalid_pub_key()
KeyPairsNegativeTestJSON.test_keypair_delete_nonexistent_key()
- compute.keypairs.test_keypairs_v22 module
- Module contents
- compute.limits package
- compute.security_groups package
- Submodules
- compute.security_groups.base module
- compute.security_groups.test_security_group_rules module
SecurityGroupRulesTestJSON
SecurityGroupRulesTestJSON.test_security_group_rules_create()
SecurityGroupRulesTestJSON.test_security_group_rules_create_with_optional_cidr()
SecurityGroupRulesTestJSON.test_security_group_rules_create_with_optional_group_id()
SecurityGroupRulesTestJSON.test_security_group_rules_delete_when_peer_group_deleted()
SecurityGroupRulesTestJSON.test_security_group_rules_list()
- compute.security_groups.test_security_group_rules_negative module
SecurityGroupRulesNegativeTestJSON
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_duplicate()
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_with_invalid_from_port()
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_with_invalid_id()
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_with_invalid_ip_protocol()
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_with_invalid_port_range()
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_with_invalid_to_port()
SecurityGroupRulesNegativeTestJSON.test_create_security_group_rule_with_non_existent_id()
SecurityGroupRulesNegativeTestJSON.test_delete_security_group_rule_with_non_existent_id()
- compute.security_groups.test_security_groups module
- compute.security_groups.test_security_groups_negative module
SecurityGroupsNegativeTestJSON
SecurityGroupsNegativeTestJSON.test_delete_nonexistent_security_group()
SecurityGroupsNegativeTestJSON.test_delete_security_group_without_passing_id()
SecurityGroupsNegativeTestJSON.test_delete_the_default_security_group()
SecurityGroupsNegativeTestJSON.test_security_group_create_with_duplicate_name()
SecurityGroupsNegativeTestJSON.test_security_group_create_with_invalid_group_description()
SecurityGroupsNegativeTestJSON.test_security_group_create_with_invalid_group_name()
SecurityGroupsNegativeTestJSON.test_security_group_get_nonexistent_group()
SecurityGroupsNegativeTestJSON.test_update_non_existent_security_group()
SecurityGroupsNegativeTestJSON.test_update_security_group_with_invalid_sg_des()
SecurityGroupsNegativeTestJSON.test_update_security_group_with_invalid_sg_id()
SecurityGroupsNegativeTestJSON.test_update_security_group_with_invalid_sg_name()
- Module contents
- compute.servers package
- Submodules
- compute.servers.test_attach_interfaces module
- compute.servers.test_availability_zone module
- compute.servers.test_create_server module
- compute.servers.test_create_server_multi_nic module
- compute.servers.test_delete_server module
DeleteServersTestJSON
DeleteServersTestJSON.test_delete_active_server()
DeleteServersTestJSON.test_delete_server_while_in_attached_volume()
DeleteServersTestJSON.test_delete_server_while_in_building_state()
DeleteServersTestJSON.test_delete_server_while_in_pause_state()
DeleteServersTestJSON.test_delete_server_while_in_shelved_state()
DeleteServersTestJSON.test_delete_server_while_in_shutoff_state()
DeleteServersTestJSON.test_delete_server_while_in_suspended_state()
DeleteServersTestJSON.test_delete_server_while_in_verify_resize_state()
- compute.servers.test_device_tagging module
- compute.servers.test_disk_config module
ServerDiskConfigTestJSON
ServerDiskConfigTestJSON.test_rebuild_server_with_auto_disk_config()
ServerDiskConfigTestJSON.test_rebuild_server_with_manual_disk_config()
ServerDiskConfigTestJSON.test_resize_server_from_auto_to_manual()
ServerDiskConfigTestJSON.test_resize_server_from_manual_to_auto()
ServerDiskConfigTestJSON.test_update_server_from_auto_to_manual()
- compute.servers.test_instance_actions module
- compute.servers.test_instance_actions_negative module
- compute.servers.test_list_server_filters module
ListServerFiltersTestJSON
ListServerFiltersTestJSON.test_list_servers_detailed_filter_by_flavor()
ListServerFiltersTestJSON.test_list_servers_detailed_filter_by_image()
ListServerFiltersTestJSON.test_list_servers_detailed_filter_by_server_name()
ListServerFiltersTestJSON.test_list_servers_detailed_filter_by_server_status()
ListServerFiltersTestJSON.test_list_servers_detailed_limit_results()
ListServerFiltersTestJSON.test_list_servers_filter_by_active_status()
ListServerFiltersTestJSON.test_list_servers_filter_by_exceed_limit()
ListServerFiltersTestJSON.test_list_servers_filter_by_flavor()
ListServerFiltersTestJSON.test_list_servers_filter_by_image()
ListServerFiltersTestJSON.test_list_servers_filter_by_limit()
ListServerFiltersTestJSON.test_list_servers_filter_by_server_name()
ListServerFiltersTestJSON.test_list_servers_filter_by_shutoff_status()
ListServerFiltersTestJSON.test_list_servers_filter_by_zero_limit()
ListServerFiltersTestJSON.test_list_servers_filtered_by_ip()
ListServerFiltersTestJSON.test_list_servers_filtered_by_ip_regex()
ListServerFiltersTestJSON.test_list_servers_filtered_by_name_regex()
ListServerFiltersTestJSON.test_list_servers_filtered_by_name_wildcard()
- compute.servers.test_list_servers_negative module
ListServersNegativeTestJSON
ListServersNegativeTestJSON.test_list_servers_by_changes_since_future_date()
ListServersNegativeTestJSON.test_list_servers_by_changes_since_invalid_date()
ListServersNegativeTestJSON.test_list_servers_by_limits_greater_than_actual_count()
ListServersNegativeTestJSON.test_list_servers_by_limits_pass_negative_value()
ListServersNegativeTestJSON.test_list_servers_by_limits_pass_string()
ListServersNegativeTestJSON.test_list_servers_by_non_existing_flavor()
ListServersNegativeTestJSON.test_list_servers_by_non_existing_image()
ListServersNegativeTestJSON.test_list_servers_by_non_existing_server_name()
ListServersNegativeTestJSON.test_list_servers_detail_server_is_deleted()
ListServersNegativeTestJSON.test_list_servers_status_non_existing()
ListServersNegativeTestJSON.test_list_servers_with_a_deleted_server()
- compute.servers.test_multiple_create module
- compute.servers.test_multiple_create_negative module
MultipleCreateNegativeTestJSON
MultipleCreateNegativeTestJSON.test_max_count_less_than_min_count()
MultipleCreateNegativeTestJSON.test_max_count_less_than_one()
MultipleCreateNegativeTestJSON.test_max_count_non_integer()
MultipleCreateNegativeTestJSON.test_min_count_less_than_one()
MultipleCreateNegativeTestJSON.test_min_count_non_integer()
- compute.servers.test_novnc module
- compute.servers.test_server_actions module
ServerActionsBase
ServerActionsTestJSON
ServerActionsTestJSON.test_change_server_password()
ServerActionsTestJSON.test_get_console_output()
ServerActionsTestJSON.test_lock_unlock_server()
ServerActionsTestJSON.test_pause_unpause_server()
ServerActionsTestJSON.test_reboot_server_hard()
ServerActionsTestJSON.test_rebuild_server()
ServerActionsTestJSON.test_resize_server_confirm()
ServerActionsTestJSON.test_resize_server_revert()
ServerActionsTestJSON.test_stop_start_server()
ServerActionsTestJSON.test_suspend_resume_server()
ServerActionsTestOtherA
ServerActionsTestOtherB
ServerActionsTestOtherB.test_create_backup()
ServerActionsTestOtherB.test_get_console_output_server_id_in_shutoff_status()
ServerActionsTestOtherB.test_get_console_output_with_unlimited_size()
ServerActionsTestOtherB.test_get_vnc_console()
ServerActionsTestOtherB.test_resize_server_confirm_from_stopped()
ServerActionsTestOtherB.test_resize_server_revert_with_volume_attached()
ServerActionsTestOtherB.test_shelve_paused_server()
ServerActionsTestOtherB.test_shelve_unshelve_server()
ServerActionsV293TestJSON
ServersAaction247Test
- compute.servers.test_server_addresses module
- compute.servers.test_server_addresses_negative module
- compute.servers.test_server_group module
ServerGroup264TestJSON
ServerGroupTestJSON
ServerGroupTestJSON.test_create_delete_multiple_server_groups_with_same_name_policy()
ServerGroupTestJSON.test_create_delete_server_group_with_affinity_policy()
ServerGroupTestJSON.test_create_delete_server_group_with_anti_affinity_policy()
ServerGroupTestJSON.test_create_server_with_scheduler_hint_group()
ServerGroupTestJSON.test_list_server_groups()
ServerGroupTestJSON.test_show_server_group()
- compute.servers.test_server_metadata module
ServerMetadataTestJSON
ServerMetadataTestJSON.test_delete_server_metadata_item()
ServerMetadataTestJSON.test_get_server_metadata_item()
ServerMetadataTestJSON.test_list_server_metadata()
ServerMetadataTestJSON.test_set_server_metadata()
ServerMetadataTestJSON.test_set_server_metadata_item()
ServerMetadataTestJSON.test_update_metadata_empty_body()
ServerMetadataTestJSON.test_update_server_metadata()
- compute.servers.test_server_metadata_negative module
ServerMetadataNegativeTestJSON
ServerMetadataNegativeTestJSON.test_create_server_metadata_blank_key()
ServerMetadataNegativeTestJSON.test_delete_metadata_non_existent_server()
ServerMetadataNegativeTestJSON.test_list_server_metadata_non_existent_server()
ServerMetadataNegativeTestJSON.test_metadata_items_limit()
ServerMetadataNegativeTestJSON.test_server_create_metadata_key_too_long()
ServerMetadataNegativeTestJSON.test_server_metadata_non_existent_server()
ServerMetadataNegativeTestJSON.test_set_metadata_invalid_key()
ServerMetadataNegativeTestJSON.test_set_metadata_non_existent_server()
ServerMetadataNegativeTestJSON.test_set_server_metadata_blank_key()
ServerMetadataNegativeTestJSON.test_set_server_metadata_missing_metadata()
ServerMetadataNegativeTestJSON.test_update_metadata_non_existent_server()
ServerMetadataNegativeTestJSON.test_update_metadata_with_blank_key()
- compute.servers.test_server_password module
- compute.servers.test_server_personality module
- compute.servers.test_server_rescue module
- compute.servers.test_server_rescue_negative module
ServerRescueNegativeTestJSON
ServerRescueNegativeTestJSON.test_rescue_non_existent_server()
ServerRescueNegativeTestJSON.test_rescue_paused_instance()
ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume()
ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume()
ServerRescueNegativeTestJSON.test_rescued_vm_reboot()
ServerRescueNegativeTestJSON.test_rescued_vm_rebuild()
- compute.servers.test_server_tags module
- compute.servers.test_servers module
ServerShowV247Test
ServerShowV263Test
ServersListShow296Test
ServersTestJSON
ServersTestJSON.test_create_server_specify_multibyte_character_name()
ServersTestJSON.test_create_server_with_admin_password()
ServersTestJSON.test_create_server_with_ipv6_addr_only()
ServersTestJSON.test_create_specify_keypair()
ServersTestJSON.test_create_with_existing_server_name()
ServersTestJSON.test_update_access_server_address()
ServersTestJSON.test_update_server_name()
- compute.servers.test_servers_microversions module
- compute.servers.test_servers_negative module
ServersNegativeTestJSON
ServersNegativeTestJSON.test_create_numeric_server_name()
ServersNegativeTestJSON.test_create_server_from_non_bootable_volume()
ServersNegativeTestJSON.test_create_server_invalid_bdm_in_2nd_dict()
ServersNegativeTestJSON.test_create_server_metadata_exceeds_length_limit()
ServersNegativeTestJSON.test_create_server_name_length_exceeds_256()
ServersNegativeTestJSON.test_create_with_invalid_flavor()
ServersNegativeTestJSON.test_create_with_invalid_image()
ServersNegativeTestJSON.test_create_with_invalid_network_uuid()
ServersNegativeTestJSON.test_create_with_non_existent_keypair()
ServersNegativeTestJSON.test_create_with_nonexistent_security_group()
ServersNegativeTestJSON.test_delete_non_existent_server()
ServersNegativeTestJSON.test_delete_server_pass_id_exceeding_length_limit()
ServersNegativeTestJSON.test_delete_server_pass_negative_id()
ServersNegativeTestJSON.test_force_delete_nonexistent_server_id()
ServersNegativeTestJSON.test_get_console_output_of_non_existent_server()
ServersNegativeTestJSON.test_get_non_existent_server()
ServersNegativeTestJSON.test_invalid_access_ip_v4_address()
ServersNegativeTestJSON.test_invalid_ip_v6_address()
ServersNegativeTestJSON.test_pause_non_existent_server()
ServersNegativeTestJSON.test_pause_paused_server()
ServersNegativeTestJSON.test_personality_file_contents_not_encoded()
ServersNegativeTestJSON.test_reboot_deleted_server()
ServersNegativeTestJSON.test_reboot_non_existent_server()
ServersNegativeTestJSON.test_rebuild_deleted_server()
ServersNegativeTestJSON.test_rebuild_non_existent_server()
ServersNegativeTestJSON.test_resize_nonexistent_server()
ServersNegativeTestJSON.test_resize_server_with_non_existent_flavor()
ServersNegativeTestJSON.test_resize_server_with_null_flavor()
ServersNegativeTestJSON.test_restore_nonexistent_server_id()
ServersNegativeTestJSON.test_restore_server_invalid_state()
ServersNegativeTestJSON.test_resume_non_existent_server()
ServersNegativeTestJSON.test_resume_server_invalid_state()
ServersNegativeTestJSON.test_server_name_blank()
ServersNegativeTestJSON.test_shelve_non_existent_server()
ServersNegativeTestJSON.test_shelve_shelved_server()
ServersNegativeTestJSON.test_stop_non_existent_server()
ServersNegativeTestJSON.test_suspend_non_existent_server()
ServersNegativeTestJSON.test_suspend_server_invalid_state()
ServersNegativeTestJSON.test_unpause_non_existent_server()
ServersNegativeTestJSON.test_unpause_server_invalid_state()
ServersNegativeTestJSON.test_unshelve_non_existent_server()
ServersNegativeTestJSON.test_unshelve_server_invalid_state()
ServersNegativeTestJSON.test_update_name_of_non_existent_server()
ServersNegativeTestJSON.test_update_server_name_length_exceeds_256()
ServersNegativeTestJSON.test_update_server_set_empty_name()
ServersNegativeTestMultiTenantJSON
- Module contents
- compute.volumes package
- Submodules
- compute.volumes.test_attach_volume module
AttachVolumeMultiAttachTest
AttachVolumeMultiAttachTest.test_boot_from_multiattach_volume()
AttachVolumeMultiAttachTest.test_boot_from_multiattach_volume_direct_lun()
AttachVolumeMultiAttachTest.test_boot_with_multiattach_volume_direct_lun()
AttachVolumeMultiAttachTest.test_list_get_volume_attachments_multiattach()
AttachVolumeMultiAttachTest.test_resize_server_with_multiattached_volume()
AttachVolumeMultiAttachTest.test_snapshot_volume_backed_multiattach()
AttachVolumeShelveTestJSON
AttachVolumeTestJSON
BaseAttachVolumeTest
- compute.volumes.test_attach_volume_negative module
- compute.volumes.test_volume_snapshots module
- compute.volumes.test_volumes_get module
- compute.volumes.test_volumes_list module
VolumesTestJSON
VolumesTestJSON.test_volume_list()
VolumesTestJSON.test_volume_list_param_limit()
VolumesTestJSON.test_volume_list_param_offset_and_limit()
VolumesTestJSON.test_volume_list_with_detail_param_limit()
VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit()
VolumesTestJSON.test_volume_list_with_details()
- compute.volumes.test_volumes_negative module
VolumesNegativeTest
VolumesNegativeTest.test_create_volume_with_invalid_size()
VolumesNegativeTest.test_create_volume_with_size_zero()
VolumesNegativeTest.test_create_volume_without_passing_size()
VolumesNegativeTest.test_delete_invalid_volume_id()
VolumesNegativeTest.test_delete_volume_without_passing_volume_id()
VolumesNegativeTest.test_get_volume_without_passing_volume_id()
VolumesNegativeTest.test_volume_delete_nonexistent_volume_id()
VolumesNegativeTest.test_volume_get_nonexistent_volume_id()
- Module contents
Submodules¶
compute.api_microversion_fixture module¶
compute.base module¶
- class BaseV2ComputeAdminTest(*args, **kwargs)[source]¶
Bases:
BaseV2ComputeTest
Base test case class for Compute Admin API tests.
- class BaseV2ComputeTest(*args, **kwargs)[source]¶
Bases:
BaseMicroversionTest
,BaseTestCase
Base test case class for all Compute API tests.
compute.test_extensions module¶
compute.test_networks module¶
compute.test_quotas module¶
- class QuotasTestJSON(*args, **kwargs)[source]¶
Bases:
BaseV2ComputeTest
Test compute quotas
- test_compare_tenant_quotas_with_default_quotas()[source]¶
Test idempotent id: cd65d997-f7e4-4966-a7e9-d5001b674fdc
Test tenants are created with the default compute quota values
compute.test_tenant_networks module¶
compute.test_versions module¶
- class TestVersions(*args, **kwargs)[source]¶
Bases:
BaseV2ComputeTest
- test_get_version_details()[source]¶
Test idempotent id: b953a29e-929c-4a8e-81be-ec3a7e03cb76
Test individual version endpoints info works.
In addition to the GET / version request, there is also a version info document stored at the top of the versioned endpoints. This provides access to details about that endpoint, including min / max version if that implements microversions.
This test starts with the version list, iterates all the returned endpoints, and fetches them. This will also ensure that all the version links are followable constructs which will help detect configuration issues when SSL termination isn’t done completely for a site.
- test_list_api_versions()[source]¶
Test idempotent id: 6c0a0990-43b6-4529-9b61-5fd8daf7c55c
Test that a get of the unversioned url returns the choices doc.
A key feature in OpenStack services is the idea that you can GET / on the service and get a list of the versioned endpoints that you can access. This comes back as a status 300 request. It’s important that this is available to API consumers to discover the API they can use.