Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str Str Str Str Str Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Dict For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index BinOpMod Str NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr 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 NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Dict Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad 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 AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr Str Str attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr 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 NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Expr Call AttributeLoad NameLoad attr NameLoad 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 NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad 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 AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr Str Str attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr 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 NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body 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 AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body 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 AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str Dict Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body 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 AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr Str Str attr Str Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr Str Str attr Str Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr 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 AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str Dict Str Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Dict Str Dict For NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr Num body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index BinOpMod Str NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Str Assign AttributeStore NameLoad 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 Num AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A json N/A webob xml.dom minidom nova exception nova flags nova test nova.tests.api.openstack fakes N/A nova.wsgi N/A FLAGS N/A flags FLAGS return_create_instance_metadata_max N/A N/A context server_id metadata delete N/A N/A N/A N/A stub_max_server_metadata N/A return_create_instance_metadata N/A N/A context server_id metadata delete N/A N/A N/A N/A stub_server_metadata N/A return_server_metadata N/A N/A context server_id N/A N/A N/A N/A stub_server_metadata N/A return_empty_server_metadata N/A N/A context server_id N/A N/A N/A N/A N/A delete_server_metadata N/A N/A context server_id key N/A N/A N/A N/A stub_server_metadata N/A N/A N/A N/A N/A metadata N/A key1 key2 key3 value1 value2 value3 N/A metadata N/A stub_max_server_metadata N/A N/A N/A N/A N/A metadata N/A metadata N/A N/A num N/A range N/A FLAGS quota_metadata_items N/A N/A N/A N/A metadata N/A metadata N/A N/A key%i num blah N/A metadata N/A return_server N/A N/A context server_id N/A N/A N/A N/A id server_id N/A return_server_nonexistant N/A N/A context server_id N/A N/A N/A N/A N/A exception InstanceNotFound N/A ServerMetaDataTest 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 ServerMetaDataTest self setUp N/A N/A N/A fakes stub_out_key_pair_funcs N/A self stubs N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_get return_server N/A test_index 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_metadata_get return_server_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual application/json N/A N/A res headers N/A Content-Type N/A expected N/A metadata N/A key1 key2 key3 value1 value2 value3 N/A N/A N/A self assertEqual expected res_dict N/A test_index_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_metadata_get return_server_metadata N/A request N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A request accept application/xml N/A response N/A N/A request get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A response status_int N/A N/A N/A self assertEqual application/xml N/A response content_type N/A actual_metadata N/A N/A minidom parseString N/A N/A N/A response body replace N/A expected_metadata N/A N/A minidom parseString N/A N/A N/A N/A 
            <metadata xmlns="http://docs.openstack.org/compute/api/v1.1">
                <meta key="key3">value3</meta>
                <meta key="key2">value2</meta>
                <meta key="key1">value1</meta>
            </metadata>
         replace replace N/A N/A N/A self assertEqual N/A N/A expected_metadata toxml N/A N/A actual_metadata toxml N/A test_index_nonexistant_server 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_nonexistant N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_index_no_data 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_metadata_get return_empty_server_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A res_dict N/A N/A json loads N/A res body N/A expected N/A metadata N/A N/A N/A N/A self assertEqual expected res_dict N/A test_show 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_metadata_get return_server_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key2 N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual 200 N/A res status_int N/A expected N/A meta N/A key2 value2 N/A N/A N/A self assertEqual expected res_dict N/A test_show_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_metadata_get return_server_metadata N/A request N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key2 N/A N/A request accept application/xml N/A response N/A N/A request get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A response status_int N/A N/A N/A self assertEqual application/xml N/A response content_type N/A actual_metadata N/A N/A minidom parseString N/A N/A N/A response body replace N/A expected_metadata N/A N/A minidom parseString N/A N/A N/A N/A 
            <meta xmlns="http://docs.openstack.org/compute/api/v1.1"
                 key="key2">value2</meta>
         replace replace N/A N/A N/A self assertEqual N/A N/A expected_metadata toxml N/A N/A actual_metadata toxml N/A test_show_nonexistant_server 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_nonexistant N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key2 N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_show_meta_not_found 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_metadata_get return_empty_server_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key6 N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_delete 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_metadata_get return_server_metadata N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_metadata_delete delete_server_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key2 N/A N/A req method DELETE N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 204 N/A res status_int N/A N/A N/A self assertEqual N/A res body N/A test_delete_nonexistant_server 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_nonexistant N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key1 N/A N/A req method DELETE N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_delete_meta_not_found 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_metadata_get return_empty_server_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key6 N/A N/A req method DELETE N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_create 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_metadata_get return_server_metadata N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method POST N/A N/A req content_type application/json N/A input N/A metadata N/A key9 value9 N/A N/A req body N/A N/A json dumps input N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A N/A input N/A metadata update N/A key1 key2 key3 value1 value2 value3 N/A N/A N/A self assertEqual input res_dict N/A test_create_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_metadata_get return_server_metadata N/A N/A N/A N/A self stubs Set N/A N/A nova db api instance_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method POST N/A N/A req content_type application/xml N/A N/A req accept application/xml N/A request_metadata N/A N/A minidom parseString N/A N/A N/A N/A 
            <metadata xmlns="http://docs.openstack.org/compute/api/v1.1">
                <meta key="key5">value5</meta>
            </metadata>
         replace replace N/A N/A req body N/A str N/A N/A request_metadata toxml N/A response N/A N/A req get_response N/A N/A fakes wsgi_app N/A expected_metadata N/A N/A minidom parseString N/A N/A N/A N/A 
            <metadata xmlns="http://docs.openstack.org/compute/api/v1.1">
                <meta key="key3">value3</meta>
                <meta key="key2">value2</meta>
                <meta key="key1">value1</meta>
                <meta key="key5">value5</meta>
            </metadata>
         replace replace N/A N/A N/A self assertEqual 200 N/A response status_int N/A actual_metadata N/A N/A minidom parseString N/A response body N/A N/A N/A self assertEqual N/A N/A expected_metadata toxml N/A N/A actual_metadata toxml N/A test_create_empty_body 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method POST N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_create_nonexistant_server 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_nonexistant N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/100/metadata N/A N/A req method POST N/A N/A req body {"metadata": {"key1": "value1"}} N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_update_all 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method PUT N/A N/A req content_type application/json N/A expected N/A metadata N/A key10 key99 value10 value99 N/A N/A req body N/A N/A json dumps expected N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual expected res_dict N/A test_update_all_empty_container 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method PUT N/A N/A req content_type application/json N/A expected N/A metadata N/A N/A N/A req body N/A N/A json dumps expected N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual expected res_dict N/A test_update_all_malformed_container 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method PUT N/A N/A req content_type application/json N/A expected N/A meta N/A N/A N/A req body N/A N/A json dumps expected N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_update_all_malformed_data 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method PUT N/A N/A req content_type application/json N/A expected N/A metadata N/A asdf N/A N/A req body N/A N/A json dumps expected N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_update_all_nonexistant_server 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_nonexistant N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/100/metadata N/A N/A req method PUT N/A N/A req content_type application/json N/A N/A req body N/A N/A json dumps N/A metadata N/A key10 value10 N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_update_item 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key1 N/A N/A req method PUT N/A N/A req body {"meta": {"key1": "value1"}} N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A N/A N/A self assertEqual application/json N/A N/A res headers N/A Content-Type N/A res_dict N/A N/A json loads N/A res body N/A expected N/A meta N/A key1 value1 N/A N/A N/A self assertEqual expected res_dict N/A test_update_item_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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key9 N/A N/A req method PUT N/A N/A req accept application/json N/A N/A req content_type application/xml N/A N/A req body 
            <meta xmlns="http://docs.openstack.org/compute/api/v1.1"
                  key="key9">value9</meta>
         N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 200 N/A res status_int N/A N/A N/A self assertEqual application/json N/A N/A res headers N/A Content-Type N/A res_dict N/A N/A json loads N/A res body N/A expected N/A meta N/A key9 value9 N/A N/A N/A self assertEqual expected res_dict N/A test_update_item_nonexistant_server 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_nonexistant N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/asdf/metadata/key1 N/A N/A req method PUT N/A N/A req body {"meta":{"key1": "value1"}} N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 404 N/A res status_int N/A test_update_item_empty_body 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key1 N/A N/A req method PUT N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_update_item_too_many_keys 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key1 N/A N/A req method PUT N/A N/A req body {"meta": {"key1": "value1", "key2": "value2"}} N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_update_item_body_uri_mismatch 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_metadata_update return_create_instance_metadata N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/bad N/A N/A req method PUT N/A N/A req body {"meta": {"key1": "value1"}} N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_too_many_metadata_items_on_create 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_metadata_update return_create_instance_metadata N/A data N/A metadata N/A N/A num N/A range N/A N/A FLAGS quota_metadata_items 1 N/A N/A N/A N/A data N/A metadata N/A N/A key%i num blah N/A json_string N/A N/A N/A str data replace ' " N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata N/A N/A req method POST N/A N/A req body json_string N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 413 N/A res status_int N/A test_too_many_metadata_items_on_update_item 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_metadata_update return_create_instance_metadata_max N/A req N/A N/A N/A webob Request blank /v1.1/fake/servers/1/metadata/key1 N/A N/A req method PUT N/A N/A req body {"meta": {"a new key": "a new value"}} N/A N/A N/A req headers N/A content-type application/json N/A res N/A N/A req get_response N/A N/A fakes wsgi_app N/A N/A N/A self assertEqual 400 N/A res status_int N/A N/A