Module ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Return AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str Dict Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str Dict Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A nova.api.openstack.compute.legacy_v2.contrib admin_actions suspend_server_v2 nova.api.openstack.compute suspend_server suspend_server_v21 nova exception nova test nova.tests.unit.api.openstack.compute admin_only_action_common nova.tests.unit.api.openstack fakes SuspendServerTestsV21 N/A N/A admin_only_action_common CommonTests N/A N/A suspend_server suspend_server_v21 N/A controller_name SuspendServerController N/A _api_version 2.1 setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SuspendServerTestsV21 self setUp N/A N/A self controller N/A N/A getattr N/A self suspend_server N/A self controller_name N/A N/A self compute_api N/A N/A self controller compute_api _fake_controller N/A N/A N/A args kwargs N/A N/A N/A self controller N/A N/A N/A N/A N/A self stubs Set N/A self suspend_server N/A self controller_name _fake_controller N/A N/A N/A N/A self mox StubOutWithMock N/A self compute_api get N/A test_suspend_resume N/A N/A self N/A N/A N/A N/A N/A self _test_actions N/A _suspend _resume N/A test_suspend_resume_with_non_existed_instance N/A N/A self N/A N/A N/A N/A N/A self _test_actions_with_non_existed_instance N/A _suspend _resume N/A test_suspend_resume_raise_conflict_on_invalid_state N/A N/A self N/A N/A N/A N/A N/A self _test_actions_raise_conflict_on_invalid_state N/A _suspend _resume N/A test_actions_with_locked_instance N/A N/A self N/A N/A N/A N/A N/A self _test_actions_with_locked_instance N/A _suspend _resume N/A N/A SuspendServerTestsV2 N/A SuspendServerTestsV21 N/A N/A suspend_server suspend_server_v2 N/A controller_name AdminActionsController N/A _api_version 2 N/A SuspendServerPolicyEnforcementV21 N/A N/A test NoDBTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SuspendServerPolicyEnforcementV21 self setUp N/A N/A self controller N/A N/A suspend_server_v21 SuspendServerController N/A N/A self req N/A N/A N/A fakes HTTPRequest blank N/A test_suspend_policy_failed N/A N/A self N/A N/A N/A rule_name os_compute_api:os-suspend-server:suspend N/A N/A N/A N/A self policy set_rules N/A rule_name project:non_fake N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller _suspend N/A self req N/A fakes FAKE_UUID body N/A suspend N/A N/A N/A N/A self assertEqual N/A Policy doesn't allow %s to be performed. rule_name N/A N/A exc format_message N/A test_resume_policy_failed N/A N/A self N/A N/A N/A rule_name os_compute_api:os-suspend-server:resume N/A N/A N/A N/A self policy set_rules N/A rule_name project:non_fake N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller _resume N/A self req N/A fakes FAKE_UUID body N/A resume N/A N/A N/A N/A self assertEqual N/A Policy doesn't allow %s to be performed. rule_name N/A N/A exc format_message N/A N/A