Module Import alias Import alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body If BoolOpAnd NameLoad CompareNotEq NameLoad SubscriptLoad NameLoad Index Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Raise Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad BinOpMult Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Call AttributeLoad NameLoad attr keyword Num body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Assign NameStore Dict Str Dict Str Str Str Str Num Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad BinOpMult Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Call AttributeLoad NameLoad attr keyword Num body Assign NameStore Dict Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list 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 keyword Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str 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 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 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 Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A mock N/A webob.exc nova.api.openstack.compute agents agents_v21 nova.api.openstack.compute.legacy_v2.contrib agents agents_v2 nova db nova.db.sqlalchemy models nova exception nova test nova.tests.unit.api.openstack fakes N/A fake_agents_list N/A N/A hypervisor os architecture version url md5hash id kvm win x86 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 1 N/A hypervisor os architecture version url md5hash id kvm linux x86 16.0 http://example.com/path/to/resource1 add6bb58e139be103324d04d82d8f546 2 N/A hypervisor os architecture version url md5hash id xen linux x86 16.0 http://example.com/path/to/resource2 add6bb58e139be103324d04d82d8f547 3 N/A hypervisor os architecture version url md5hash id xen win power 7.0 http://example.com/path/to/resource3 add6bb58e139be103324d04d82d8f548 4 fake_agent_build_get_all N/A N/A context hypervisor N/A N/A N/A agent_build_all N/A N/A agent fake_agents_list N/A N/A N/A hypervisor N/A hypervisor N/A agent N/A hypervisor N/A N/A N/A agent_build_ref N/A N/A models AgentBuild N/A N/A N/A agent_build_ref update agent N/A N/A N/A agent_build_all append agent_build_ref N/A agent_build_all N/A fake_agent_build_update N/A N/A context agent_build_id values N/A N/A N/A N/A fake_agent_build_destroy N/A N/A context agent_update_id N/A N/A N/A N/A fake_agent_build_create N/A N/A context values N/A N/A N/A N/A values N/A id 1 N/A agent_build_ref N/A N/A models AgentBuild N/A N/A N/A agent_build_ref update values N/A agent_build_ref N/A AgentsTestV21 N/A N/A test NoDBTestCase N/A N/A controller N/A N/A agents_v21 AgentController N/A validation_error N/A exception ValidationError setUp N/A N/A self N/A N/A N/A N/A N/A N/A super AgentsTestV21 self setUp N/A N/A N/A self stub_out nova.db.agent_build_get_all fake_agent_build_get_all N/A N/A N/A self stub_out nova.db.agent_build_update fake_agent_build_update N/A N/A N/A self stub_out nova.db.agent_build_destroy fake_agent_build_destroy N/A N/A N/A self stub_out nova.db.agent_build_create fake_agent_build_create N/A N/A self req N/A N/A self _get_http_request N/A _get_http_request N/A N/A self N/A N/A N/A N/A N/A N/A fakes HTTPRequest blank N/A test_agents_create N/A N/A self N/A N/A N/A body N/A agent N/A hypervisor os architecture version url md5hash kvm win x86 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A response N/A agent N/A hypervisor os architecture version url md5hash agent_id kvm win x86 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 1 N/A res_dict N/A N/A N/A self controller create N/A self req body body N/A N/A N/A self assertEqual res_dict response N/A _test_agents_create_key_error N/A N/A self key N/A N/A N/A body N/A agent N/A hypervisor os architecture version url md5hash kvm win x86 7.0 xxx://xxxx/xxx/xxx add6bb58e139be103324d04d82d8f545 N/A N/A N/A N/A body N/A agent pop key N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller create N/A self req body body N/A test_agents_create_without_hypervisor N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_key_error hypervisor N/A test_agents_create_without_os N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_key_error os N/A test_agents_create_without_architecture N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_key_error architecture N/A test_agents_create_without_version N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_key_error version N/A test_agents_create_without_url N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_key_error url N/A test_agents_create_without_md5hash N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_key_error md5hash N/A test_agents_create_with_wrong_type N/A N/A self N/A N/A N/A body N/A agent None N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller create N/A self req body body N/A test_agents_create_with_empty_type N/A N/A self N/A N/A N/A body N/A N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller create N/A self req body body N/A test_agents_create_with_existed_agent N/A N/A self N/A N/A fake_agent_build_create_with_exited_agent N/A N/A context values N/A N/A N/A N/A N/A exception AgentBuildExists values N/A N/A N/A N/A self stub_out nova.db.agent_build_create fake_agent_build_create_with_exited_agent N/A body N/A agent N/A hypervisor os architecture version url md5hash kvm win x86 7.0 xxx://xxxx/xxx/xxx add6bb58e139be103324d04d82d8f545 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller create N/A self req body body N/A _test_agents_create_with_invalid_length N/A N/A self key N/A N/A N/A body N/A agent N/A hypervisor os architecture version url md5hash kvm win x86 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A N/A N/A body N/A agent N/A key N/A x 256 N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller create N/A self req body body N/A test_agents_create_with_invalid_length_hypervisor N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_with_invalid_length hypervisor N/A test_agents_create_with_invalid_length_os N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_with_invalid_length os N/A test_agents_create_with_invalid_length_architecture N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_with_invalid_length architecture N/A test_agents_create_with_invalid_length_version N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_with_invalid_length version N/A test_agents_create_with_invalid_length_url N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_with_invalid_length url N/A test_agents_create_with_invalid_length_md5hash N/A N/A self N/A N/A N/A N/A N/A self _test_agents_create_with_invalid_length md5hash N/A test_agents_delete N/A N/A self N/A N/A N/A N/A N/A N/A self controller delete N/A self req 1 N/A test_agents_delete_with_id_not_found N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object db agent_build_destroy side_effect N/A N/A exception AgentBuildNotFound id 1 N/A N/A N/A N/A self assertRaises N/A N/A webob exc HTTPNotFound N/A N/A self controller delete N/A self req 1 N/A test_agents_delete_string_id N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller delete N/A self req string_id N/A test_agents_list N/A N/A self N/A N/A N/A res_dict N/A N/A N/A self controller index N/A self req N/A agents_list N/A N/A hypervisor os architecture version url md5hash agent_id kvm win x86 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 1 N/A hypervisor os architecture version url md5hash agent_id kvm linux x86 16.0 http://example.com/path/to/resource1 add6bb58e139be103324d04d82d8f546 2 N/A hypervisor os architecture version url md5hash agent_id xen linux x86 16.0 http://example.com/path/to/resource2 add6bb58e139be103324d04d82d8f547 3 N/A hypervisor os architecture version url md5hash agent_id xen win power 7.0 http://example.com/path/to/resource3 add6bb58e139be103324d04d82d8f548 4 N/A N/A N/A self assertEqual res_dict N/A agents agents_list N/A test_agents_list_with_hypervisor N/A N/A self N/A N/A N/A req N/A N/A N/A fakes HTTPRequest blank use_admin_context True query_string hypervisor=kvm N/A res_dict N/A N/A N/A self controller index req N/A response N/A N/A hypervisor os architecture version url md5hash agent_id kvm win x86 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 1 N/A hypervisor os architecture version url md5hash agent_id kvm linux x86 16.0 http://example.com/path/to/resource1 add6bb58e139be103324d04d82d8f546 2 N/A N/A N/A self assertEqual res_dict N/A agents response N/A test_agents_update N/A N/A self N/A N/A N/A body N/A para N/A version url md5hash 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A response N/A agent N/A agent_id version url md5hash 1 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A res_dict N/A N/A N/A self controller update N/A self req 1 body body N/A N/A N/A self assertEqual res_dict response N/A _test_agents_update_key_error N/A N/A self key N/A N/A N/A body N/A para N/A version url md5hash 7.0 xxx://xxxx/xxx/xxx add6bb58e139be103324d04d82d8f545 N/A N/A N/A N/A body N/A para pop key N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller update N/A self req 1 body body N/A test_agents_update_without_version N/A N/A self N/A N/A N/A N/A N/A self _test_agents_update_key_error version N/A test_agents_update_without_url N/A N/A self N/A N/A N/A N/A N/A self _test_agents_update_key_error url N/A test_agents_update_without_md5hash N/A N/A self N/A N/A N/A N/A N/A self _test_agents_update_key_error md5hash N/A test_agents_update_with_wrong_type N/A N/A self N/A N/A N/A body N/A agent None N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller update N/A self req 1 body body N/A test_agents_update_with_empty N/A N/A self N/A N/A N/A body N/A N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller update N/A self req 1 body body N/A test_agents_update_value_error N/A N/A self N/A N/A N/A body N/A para N/A version url md5hash 7.0 1111 add6bb58e139be103324d04d82d8f545 N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller update N/A self req 1 body body N/A test_agents_update_with_string_id N/A N/A self N/A N/A N/A body N/A para N/A version url md5hash 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller update N/A self req string_id body body N/A _test_agents_update_with_invalid_length N/A N/A self key N/A N/A N/A body N/A para N/A version url md5hash 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A N/A N/A body N/A para N/A key N/A x 256 N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller update N/A self req 1 body body N/A test_agents_update_with_invalid_length_version N/A N/A self N/A N/A N/A N/A N/A self _test_agents_update_with_invalid_length version N/A test_agents_update_with_invalid_length_url N/A N/A self N/A N/A N/A N/A N/A self _test_agents_update_with_invalid_length url N/A test_agents_update_with_invalid_length_md5hash N/A N/A self N/A N/A N/A N/A N/A self _test_agents_update_with_invalid_length md5hash N/A test_agents_update_with_id_not_found N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object db agent_build_update side_effect N/A N/A exception AgentBuildNotFound id 1 N/A N/A body N/A para N/A version url md5hash 7.0 http://example.com/path/to/resource add6bb58e139be103324d04d82d8f545 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPNotFound N/A N/A self controller update N/A self req 1 body body N/A N/A AgentsTestV2 N/A AgentsTestV21 N/A N/A controller N/A N/A agents_v2 AgentController N/A validation_error N/A N/A webob exc HTTPBadRequest setUp N/A N/A self N/A N/A N/A N/A N/A N/A super AgentsTestV2 self setUp N/A N/A self non_admin_req N/A N/A N/A fakes HTTPRequest blank N/A _get_http_request N/A N/A self N/A N/A N/A N/A N/A N/A fakes HTTPRequest blank use_admin_context True N/A test_agents_update_with_non_admin N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception AdminRequired N/A N/A self controller update N/A self non_admin_req N/A fakes FAKE_UUID body N/A N/A test_agents_create_with_non_admin N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception AdminRequired N/A N/A self controller create N/A self non_admin_req body N/A N/A test_agents_delete_with_non_admin N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception AdminRequired N/A N/A self controller delete N/A self non_admin_req N/A fakes FAKE_UUID N/A test_agents_index_with_non_admin N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception AdminRequired N/A N/A self controller index N/A self non_admin_req N/A N/A AgentsPolicyEnforcementV21 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 AgentsPolicyEnforcementV21 self setUp N/A N/A self controller N/A N/A agents_v21 AgentController N/A N/A self req N/A N/A N/A fakes HTTPRequest blank N/A test_create_policy_failed N/A N/A self N/A N/A N/A rule_name os_compute_api:os-agents N/A N/A N/A N/A self policy set_rules N/A rule_name project_id:non_fake N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller create N/A self req body N/A agent N/A hypervisor os architecture version url md5hash kvm win x86 7.0 xxx://xxxx/xxx/xxx add6bb58e139be103324d04d82d8f545 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_index_policy_failed N/A N/A self N/A N/A N/A rule_name os_compute_api:os-agents N/A N/A N/A N/A self policy set_rules N/A rule_name project_id:non_fake N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller index N/A self req 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_delete_policy_failed N/A N/A self N/A N/A N/A rule_name os_compute_api:os-agents N/A N/A N/A N/A self policy set_rules N/A rule_name project_id:non_fake N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller delete N/A self req N/A fakes FAKE_UUID 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_update_policy_failed N/A N/A self N/A N/A N/A rule_name os_compute_api:os-agents N/A N/A N/A N/A self policy set_rules N/A rule_name project_id:non_fake N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller update N/A self req N/A fakes FAKE_UUID body N/A para N/A version url md5hash 7.0 xxx://xxxx/xxx/xxx add6bb58e139be103324d04d82d8f545 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