The nova.tests.api.openstack.compute.contrib.test_admin_actions Module

class AdminActionsTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_admin_api_actions()
test_admin_api_actions_raise_conflict_on_invalid_state()
test_migrate_live_compute_service_unavailable()
test_migrate_live_destination_hypervisor_too_old()
test_migrate_live_enabled()
test_migrate_live_invalid_hypervisor_type()
test_migrate_live_missing_dict_param()
test_migrate_live_unable_to_migrate_to_self()
class CreateBackupTests(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_create_backup_bad_entity()
test_create_backup_negative_rotation()

Rotation must be greater than or equal to zero for backup requests

test_create_backup_no_backup_type()
test_create_backup_no_name()
test_create_backup_no_rotation()
test_create_backup_raises_conflict_on_invalid_state()
test_create_backup_rotation_is_positive()
test_create_backup_rotation_is_zero()
test_create_backup_with_metadata()
test_create_backup_with_too_much_metadata()
class ResetStateTests(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_bad_state()
test_no_instance()
test_no_state()
test_reset_active()
test_reset_error()
fake_compute_api(*args, **kwargs)
fake_compute_api_get(self, context, instance_id)
fake_compute_api_raises_invalid_state(*args, **kwargs)

Previous topic

The nova.tests.api.openstack.common Module

Next topic

The nova.tests.api.openstack.compute.contrib.test_admin_actions_with_cells Module

This Page