The nova.tests.api.ec2.test_cloud Module

class CloudTestCase(*args, **kwargs)

Bases: nova.test.TestCase

assertDictListUnorderedMatch(L1, L2, key)
fake_get_target(obj, iqn)
fake_remove_iscsi_target(obj, tid, lun, vol_id, **kwargs)
setUp()
tearDown()
test_allocate_address()
test_associate_disassociate_address()
test_authorize_revoke_security_group_ingress_by_id()
test_authorize_security_group_fail_missing_source_group()
test_authorize_security_group_ingress()
test_authorize_security_group_ingress_already_exists()
test_authorize_security_group_ingress_ip_permissions_groups()
test_authorize_security_group_ingress_ip_permissions_ip_ranges()
test_authorize_security_group_ingress_missing_group_name_or_id()
test_authorize_security_group_ingress_missing_protocol_params()
test_authorize_security_group_no_ports_icmp()
test_authorize_security_group_no_ports_tcp()
test_authorize_security_group_no_ports_udp()
test_console_output()
test_create_delete_security_group()
test_create_image_instance_store()

Ensure CreateImage fails as expected for an instance-store-backed instance

test_create_image_no_reboot()
test_create_image_with_reboot()
test_create_key_pair()
test_create_key_pair_quota_limit()
test_delete_key_pair()
test_delete_security_group_by_id()
test_delete_security_group_in_use_by_group()
test_delete_security_group_in_use_by_instance()
test_delete_security_group_no_params()
test_delete_security_group_with_bad_group_id()
test_delete_security_group_with_bad_name()
test_deregister_image()
test_deregister_image_wrong_container_type()
test_describe_addresses()
test_describe_availability_zones()
test_describe_availability_zones_verbose()
test_describe_bad_key_pairs()
test_describe_image_attribute()
test_describe_image_attribute_block_device_mapping()
test_describe_image_attribute_root_device_name()
test_describe_image_mapping()
test_describe_images()
test_describe_instance_attribute()
test_describe_instance_state()
test_describe_instances()
test_describe_instances_all_invalid()
test_describe_instances_deleted()
test_describe_instances_no_ipv6()
test_describe_instances_sorting()
test_describe_instances_with_filters()
test_describe_instances_with_image_deleted()
test_describe_key_pairs()
test_describe_regions()
test_describe_security_group_ingress_groups()
test_describe_security_groups()
test_describe_security_groups_all_tenants()
test_describe_security_groups_by_id()
test_describe_specific_address()
test_disassociate_auto_assigned_address()

Verifies disassociating auto assigned floating IP raises an exception

test_disassociate_unassociated_address()
test_format_image()
test_get_password_data()
test_import_key_pair()
test_import_key_pair_quota_limit()
test_instance_initiated_shutdown_behavior()
test_key_generation()
test_modify_image_attribute()
test_reboot_instances()
test_register_image()
test_register_image_empty()
test_register_image_name()
test_release_address()
test_revoke_security_group_ingress()
test_revoke_security_group_ingress_missing_group_name_or_id()
test_run_instances()
test_run_instances_availability_zone()
test_run_instances_image_state_invalid()
test_run_instances_image_state_none()
test_run_instances_image_status_active()
test_security_group_ingress_quota_limit()
test_security_group_quota_limit()
test_start_instances()
test_stop_instances()
test_stop_start_instance()
test_terminate_instances()
test_terminate_instances_disable_terminate()
test_terminate_instances_invalid_instance_id()
test_terminate_instances_two_instances()
class CloudTestCaseQuantumProxy(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
tearDown()
test_create_delete_security_group()
test_describe_security_groups()
test_describe_security_groups_by_id()
get_fake_cache()
get_instances_with_cached_ips(orig_func, *args, **kwargs)

Kludge the cache into instance(s) without having to create DB entries

Previous topic

The nova.tests.api.ec2.test_cinder_cloud Module

Next topic

The nova.tests.api.ec2.test_ec2_validate Module

This Page