Module Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str Assign NameStore Dict Str Str Str Str Str Str Num Str NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Call AttributeLoad NameLoad attr Num Num Num Num Num Num ListLoad Dict Str Str Num Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Dict Str Str Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Return ListLoad Dict Str Str Str Str Str Str Str Str Str NameLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Return NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Call NameLoad TupleLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num If CompareIsNot NameLoad NameLoad body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num If CompareIsNot NameLoad NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Delete SubscriptDel SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Delete SubscriptDel SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A base64 N/A datetime N/A json N/A unittest xml.dom minidom N/A stubout N/A webob nova db nova exception nova flags nova test N/A nova.api.openstack nova.tests.api.openstack fakes N/A FLAGS N/A flags FLAGS N/A N/A FLAGS verbose True N/A FAKE_UUID aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa N/A FAKE_NETWORKS N/A N/A aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa 10.0.1.12 N/A bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb 10.0.2.12 N/A DUPLICATE_NETWORKS N/A N/A aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa 10.0.1.12 N/A aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa 10.0.1.12 N/A INVALID_NETWORKS N/A N/A invalid invalid-ip-address N/A INSTANCE N/A id display_name uuid created_at updated_at security_groups 1 test_server FAKE_UUID N/A N/A datetime datetime 2010 10 10 12 0 0 N/A N/A datetime datetime 2010 11 11 11 0 0 N/A N/A id name 1 test return_server_by_id N/A N/A context id session N/A None N/A N/A N/A INSTANCE N/A id id N/A INSTANCE N/A return_security_group_non_existing N/A N/A context project_id group_name N/A N/A N/A N/A N/A exception SecurityGroupNotFoundForProject project_id project_id security_group_id group_name N/A return_security_group_get_by_name N/A N/A context project_id group_name N/A N/A N/A N/A id name 1 group_name N/A return_security_group_get N/A N/A context security_group_id session N/A N/A N/A N/A id security_group_id N/A return_instance_add_security_group N/A N/A context instance_id security_group_id N/A N/A N/A N/A CreateserverextTest N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CreateserverextTest self setUp N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A super CreateserverextTest self tearDown N/A _setup_mock_compute_api N/A N/A self N/A N/A MockComputeAPI N/A N/A N/A nova compute API N/A __init__ N/A N/A self N/A N/A N/A N/A self injected_files None N/A N/A self networks None N/A N/A self user_data None N/A N/A self db db N/A create N/A N/A self N/A args kwargs N/A N/A N/A injected_files kwargs N/A N/A N/A self injected_files N/A kwargs N/A injected_files N/A N/A N/A self injected_files None N/A N/A requested_networks kwargs N/A N/A N/A self networks N/A kwargs N/A requested_networks N/A N/A N/A self networks None N/A N/A user_data kwargs N/A N/A N/A self user_data N/A kwargs N/A user_data N/A N/A N/A id display_name uuid user_id project_id created_at updated_at 1234 fakeinstance FAKE_UUID fake fake N/A set_admin_password N/A N/A self N/A args kwargs N/A N/A N/A N/A make_stub_method N/A N/A canned_return N/A N/A stub_method N/A N/A N/A args kwargs N/A N/A canned_return N/A N/A stub_method N/A N/A compute_api N/A MockComputeAPI N/A N/A N/A N/A self stubs Set N/A nova compute API N/A make_stub_method compute_api N/A N/A N/A N/A self stubs Set N/A N/A N/A N/A nova api openstack create_instance_helper CreateInstanceHelper _get_kernel_ramdisk_from_image N/A make_stub_method N/A 1 1 N/A compute_api N/A _create_security_group_request_dict N/A N/A self security_groups N/A N/A N/A server N/A N/A N/A server N/A name new-server-test N/A N/A server N/A imageRef 1 N/A N/A server N/A flavorRef 1 N/A N/A security_groups None N/A N/A sg_list N/A N/A name security_groups N/A N/A N/A N/A sg_list append N/A name name N/A N/A server N/A security_groups sg_list N/A N/A server server N/A _create_networks_request_dict N/A N/A self networks N/A N/A N/A server N/A N/A N/A server N/A name new-server-test N/A N/A server N/A imageRef 1 N/A N/A server N/A flavorRef 1 N/A N/A networks None N/A N/A network_list N/A N/A N/A uuid fixed_ip networks N/A N/A N/A N/A network_list append N/A uuid fixed_ip uuid fixed_ip N/A N/A server N/A networks network_list N/A N/A server server N/A _create_user_data_request_dict N/A N/A self user_data N/A N/A N/A server N/A N/A N/A server N/A name new-server-test N/A N/A server N/A imageRef 1 N/A N/A server N/A flavorRef 1 N/A N/A server N/A user_data user_data N/A N/A server server N/A _get_create_request_json N/A N/A self body_dict N/A N/A N/A req N/A N/A N/A webob Request blank /v1.1/123/os-create-server-ext N/A N/A N/A req headers N/A Content-Type application/json N/A N/A req method POST N/A N/A req body N/A N/A json dumps body_dict N/A req N/A _run_create_instance_with_mock_compute_api N/A N/A self request N/A N/A N/A compute_api N/A N/A self _setup_mock_compute_api N/A response N/A N/A request get_response N/A N/A fakes wsgi_app N/A N/A compute_api response N/A _format_xml_request_body N/A N/A self body_dict N/A N/A N/A server N/A body_dict N/A server N/A body_parts N/A N/A N/A N/A body_parts extend N/A <?xml version="1.0" encoding="UTF-8"?> <server xmlns="http://docs.rackspacecloud.com/servers/api/v1.1" N/A  name="%s" imageRef="%s" flavorRef="%s"> N/A N/A server N/A name N/A server N/A imageRef N/A server N/A flavorRef N/A N/A metadata server N/A N/A metadata N/A server N/A metadata N/A N/A N/A body_parts append <metadata> N/A item N/A N/A metadata iteritems N/A N/A N/A N/A body_parts append N/A <meta key="%s">%s</meta> item N/A N/A N/A body_parts append </metadata> N/A N/A personality server N/A N/A personalities N/A server N/A personality N/A N/A N/A body_parts append <personality> N/A file personalities N/A N/A item N/A N/A file N/A path N/A file N/A contents N/A N/A N/A body_parts append N/A <file path="%s">%s</file> item N/A N/A N/A body_parts append </personality> N/A N/A networks server N/A N/A networks N/A server N/A networks N/A N/A N/A body_parts append <networks> N/A network networks N/A N/A item N/A N/A network N/A uuid N/A network N/A fixed_ip N/A N/A N/A body_parts append N/A <network uuid="%s" fixed_ip="%s"></network> item N/A N/A N/A body_parts append </networks> N/A N/A N/A body_parts append </server> N/A N/A N/A join body_parts N/A _get_create_request_xml N/A N/A self body_dict N/A N/A N/A req N/A N/A N/A webob Request blank /v1.1/123/os-create-server-ext N/A N/A req content_type application/xml N/A N/A req accept application/xml N/A N/A req method POST N/A N/A req body N/A N/A self _format_xml_request_body body_dict N/A req N/A _create_instance_with_networks_json N/A N/A self networks N/A N/A N/A body_dict N/A N/A self _create_networks_request_dict networks N/A request N/A N/A self _get_create_request_json body_dict N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A request response N/A compute_api networks N/A _create_instance_with_user_data_json N/A N/A self networks N/A N/A N/A body_dict N/A N/A self _create_user_data_request_dict networks N/A request N/A N/A self _get_create_request_json body_dict N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A request response N/A compute_api user_data N/A _create_instance_with_networks_xml N/A N/A self networks N/A N/A N/A body_dict N/A N/A self _create_networks_request_dict networks N/A request N/A N/A self _get_create_request_xml body_dict N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A request response N/A compute_api networks N/A test_create_instance_with_no_networks N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_json networks None N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_no_networks_xml N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_xml networks None N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_one_network N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_json N/A N/A FAKE_NETWORKS N/A 0 N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals networks N/A N/A FAKE_NETWORKS N/A 0 N/A test_create_instance_with_one_network_xml N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_xml N/A N/A FAKE_NETWORKS N/A 0 N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals networks N/A N/A FAKE_NETWORKS N/A 0 N/A test_create_instance_with_two_networks N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_json FAKE_NETWORKS N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals networks FAKE_NETWORKS N/A test_create_instance_with_two_networks_xml N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_xml FAKE_NETWORKS N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals networks FAKE_NETWORKS N/A test_create_instance_with_duplicate_networks N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_json DUPLICATE_NETWORKS N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_duplicate_networks_xml N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_xml DUPLICATE_NETWORKS N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_network_no_id N/A N/A self N/A N/A N/A body_dict N/A N/A self _create_networks_request_dict N/A N/A FAKE_NETWORKS N/A 0 N/A N/A N/A N/A N/A body_dict N/A server N/A networks N/A 0 N/A uuid N/A request N/A N/A self _get_create_request_json body_dict N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals N/A compute_api networks None N/A test_create_instance_with_network_no_id_xml N/A N/A self N/A N/A N/A body_dict N/A N/A self _create_networks_request_dict N/A N/A FAKE_NETWORKS N/A 0 N/A request N/A N/A self _get_create_request_xml body_dict N/A uuid  uuid="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" N/A N/A request body N/A N/A N/A request body replace uuid N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals N/A compute_api networks None N/A test_create_instance_with_network_invalid_id N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_json INVALID_NETWORKS N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_network_invalid_id_xml N/A N/A self N/A N/A N/A N/A request response networks N/A N/A self _create_instance_with_networks_xml INVALID_NETWORKS N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_network_empty_fixed_ip N/A N/A self N/A N/A N/A networks N/A N/A 1 N/A N/A request response networks N/A N/A self _create_instance_with_networks_json networks N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_network_non_string_fixed_ip N/A N/A self N/A N/A N/A networks N/A N/A 1 12345 N/A N/A request response networks N/A N/A self _create_instance_with_networks_json networks N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_network_empty_fixed_ip_xml N/A N/A self N/A N/A N/A networks N/A N/A 1 N/A N/A request response networks N/A N/A self _create_instance_with_networks_xml networks N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals networks None N/A test_create_instance_with_network_no_fixed_ip N/A N/A self N/A N/A N/A body_dict N/A N/A self _create_networks_request_dict N/A N/A FAKE_NETWORKS N/A 0 N/A N/A N/A N/A N/A body_dict N/A server N/A networks N/A 0 N/A fixed_ip N/A request N/A N/A self _get_create_request_json body_dict N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals N/A compute_api networks N/A N/A aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa None N/A test_create_instance_with_network_no_fixed_ip_xml N/A N/A self N/A N/A N/A body_dict N/A N/A self _create_networks_request_dict N/A N/A FAKE_NETWORKS N/A 0 N/A request N/A N/A self _get_create_request_xml body_dict N/A N/A request body N/A N/A N/A request body replace  fixed_ip="10.0.1.12" N/A N/A compute_api response N/A N/A self _run_create_instance_with_mock_compute_api request N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals N/A compute_api networks N/A N/A aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa None N/A test_create_instance_with_userdata N/A N/A self N/A N/A N/A user_data_contents #!/bin/bash
echo "Oh no!"
 N/A user_data_contents N/A N/A base64 b64encode user_data_contents N/A N/A request response user_data N/A N/A self _create_instance_with_user_data_json user_data_contents N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals user_data user_data_contents N/A test_create_instance_with_userdata_none N/A N/A self N/A N/A N/A user_data_contents None N/A N/A request response user_data N/A N/A self _create_instance_with_user_data_json user_data_contents N/A N/A N/A self assertEquals N/A response status_int 202 N/A N/A N/A self assertEquals user_data user_data_contents N/A test_create_instance_with_userdata_with_non_b64_content N/A N/A self N/A N/A N/A user_data_contents #!/bin/bash
echo "Oh no!"
 N/A N/A request response user_data N/A N/A self _create_instance_with_user_data_json user_data_contents N/A N/A N/A self assertEquals N/A response status_int 400 N/A N/A N/A self assertEquals user_data None N/A test_create_instance_with_security_group_json N/A N/A self N/A N/A N/A security_groups N/A test test1 N/A N/A N/A N/A self stubs Set N/A N/A nova db api security_group_get_by_name return_security_group_get_by_name N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_add_security_group return_instance_add_security_group N/A body_dict N/A N/A self _create_security_group_request_dict security_groups N/A request N/A N/A self _get_create_request_json body_dict N/A response N/A N/A request get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEquals N/A response status_int 202 N/A test_get_server_by_id_verify_security_groups_json N/A N/A self N/A N/A N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_get return_server_by_id N/A req N/A N/A N/A webob Request blank /v1.1/123/os-create-server-ext/1 N/A N/A N/A req headers N/A Content-Type application/json N/A response N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEquals N/A response status_int 200 N/A res_dict N/A N/A json loads N/A response body N/A expected_security_group N/A N/A name test N/A N/A N/A self assertEquals N/A N/A res_dict N/A server N/A security_groups expected_security_group N/A test_get_server_by_id_verify_security_groups_xml N/A N/A self N/A N/A N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_get return_server_by_id N/A req N/A N/A N/A webob Request blank /v1.1/123/os-create-server-ext/1 N/A N/A N/A req headers N/A Accept application/xml N/A response N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEquals N/A response status_int 200 N/A dom N/A N/A minidom parseString N/A response body N/A server N/A N/A dom childNodes N/A 0 N/A sec_groups N/A N/A N/A server getElementsByTagName security_groups N/A 0 N/A sec_group N/A N/A N/A sec_groups getElementsByTagName security_group N/A 0 N/A N/A N/A self assertEqual N/A N/A N/A INSTANCE N/A security_groups N/A 0 N/A name N/A N/A sec_group getAttribute name N/A N/A