Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Num keyword Str keyword Str keyword Str keyword Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args defaults vararg body Return ListLoad Call NameLoad keyword Num keyword Str keyword Str keyword Str keyword Num keyword Num Call NameLoad keyword Num keyword Str keyword Str keyword Str keyword Num keyword Num decorator_list FunctionDef arguments args defaults vararg body Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Call NameLoad keyword Num keyword Str keyword Str keyword Str keyword Num keyword Num Call NameLoad keyword Num keyword Str keyword Str keyword Str keyword Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list Assign NameStore ListLoad Call NameLoad keyword Str keyword Num keyword Str keyword Str Call NameLoad keyword Str keyword Num keyword Str keyword Str Call NameLoad keyword Str keyword Num keyword Str keyword Str Call NameLoad keyword Str keyword Num keyword Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Return NameLoad 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 keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad 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 AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad 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 Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body 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 Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body 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 decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Str 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 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 Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str keyword Str 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 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 Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Assign NameStore Call NameLoad keyword Call NameLoad keyword Str keyword Str 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 AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad 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 AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore NameLoad For NameStore NameLoad body If CompareNotEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Continue Assign NameStore NameLoad For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list decorator_list
N/A N/A stubout N/A webob N/A json N/A nova.db nova context nova crypto nova flags nova test nova.api.openstack zones nova.tests.api.openstack fakes nova.scheduler api N/A FLAGS N/A flags FLAGS zone_get N/A N/A context zone_id N/A N/A N/A N/A dict id 1 api_url http://example.com username bob password xxx weight_scale 1.0 weight_offset 0.0 N/A zone_create N/A N/A context values N/A N/A N/A zone N/A dict id 1 N/A N/A N/A zone update values N/A zone N/A zone_update N/A N/A context zone_id values N/A N/A N/A zone N/A dict id zone_id api_url http://example.com username bob password xxx N/A N/A N/A zone update values N/A zone N/A zone_delete N/A N/A context zone_id N/A N/A N/A N/A zone_get_all_scheduler N/A N/A N/A args N/A N/A N/A N/A dict id 1 api_url http://example.com username bob password xxx weight_scale 1.0 weight_offset 0.0 N/A dict id 2 api_url http://example.org username alice password qwerty weight_scale 1.0 weight_offset 0.0 N/A zone_get_all_scheduler_empty N/A N/A N/A args N/A N/A N/A N/A zone_get_all_db N/A N/A context N/A N/A N/A N/A N/A dict id 1 api_url http://example.com username bob password xxx weight_scale 1.0 weight_offset 0.0 N/A dict id 2 api_url http://example.org username alice password qwerty weight_scale 1.0 weight_offset 0.0 N/A zone_capabilities N/A N/A method context N/A N/A N/A N/A dict N/A N/A GLOBAL_BUILD_PLAN N/A N/A dict name host1 weight 10 ip 10.0.0.1 zone zone1 N/A dict name host2 weight 9 ip 10.0.0.2 zone zone2 N/A dict name host3 weight 8 ip 10.0.0.3 zone zone3 N/A dict name host4 weight 7 ip 10.0.0.4 zone zone4 zone_select N/A N/A context specs N/A N/A N/A GLOBAL_BUILD_PLAN N/A ZonesTest 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 ZonesTest self setUp N/A N/A N/A self flags verbose True allow_admin_api True N/A N/A N/A fakes stub_out_networking N/A self stubs N/A N/A N/A fakes stub_out_rate_limiting N/A self stubs N/A N/A N/A N/A self stubs Set N/A nova db zone_get zone_get N/A N/A N/A N/A self stubs Set N/A nova db zone_update zone_update N/A N/A N/A N/A self stubs Set N/A nova db zone_create zone_create N/A N/A N/A N/A self stubs Set N/A nova db zone_delete zone_delete N/A test_get_zone_list_scheduler N/A N/A self N/A N/A N/A N/A N/A N/A self stubs Set api _call_scheduler zone_get_all_scheduler N/A req N/A N/A N/A webob Request blank /v1.0/zones 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 N/A res status_int 200 N/A N/A N/A self assertEqual N/A len N/A res_dict N/A zones 2 N/A test_get_zone_list_db N/A N/A self N/A N/A N/A N/A N/A N/A self stubs Set api _call_scheduler zone_get_all_scheduler_empty N/A N/A N/A N/A self stubs Set N/A nova db zone_get_all zone_get_all_db N/A req N/A N/A N/A webob Request blank /v1.0/zones 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 N/A res status_int 200 N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual N/A len N/A res_dict N/A zones 2 N/A test_get_zone_by_id N/A N/A self N/A N/A N/A req N/A N/A N/A webob Request blank /v1.0/zones/1 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 N/A res status_int 200 N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A id 1 N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A api_url http://example.com N/A N/A N/A self assertFalse N/A password N/A res_dict N/A zone N/A test_zone_delete N/A N/A self N/A N/A N/A req N/A N/A N/A webob Request blank /v1.0/zones/1 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 N/A res status_int 200 N/A test_zone_create N/A N/A self N/A N/A N/A body N/A dict zone N/A dict api_url http://example.com username fred password fubar N/A req N/A N/A N/A webob Request blank /v1.0/zones 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 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 N/A res status_int 200 N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A id 1 N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A api_url http://example.com N/A N/A N/A self assertFalse N/A username N/A res_dict N/A zone N/A test_zone_update N/A N/A self N/A N/A N/A body N/A dict zone N/A dict username zeb password sneaky N/A req N/A N/A N/A webob Request blank /v1.0/zones/1 N/A N/A N/A req headers N/A Content-Type application/json N/A N/A req method PUT N/A N/A req body N/A N/A json dumps body 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 N/A res status_int 200 N/A res_dict N/A N/A json loads N/A res body N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A id 1 N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A api_url http://example.com N/A N/A N/A self assertFalse N/A username N/A res_dict N/A zone N/A test_zone_info N/A N/A self N/A N/A N/A caps N/A cap1=a;b cap2=c;d N/A N/A N/A self flags zone_name darksecret zone_capabilities caps N/A N/A N/A N/A self stubs Set api _call_scheduler zone_capabilities N/A body N/A dict zone N/A dict username zeb password sneaky N/A req N/A N/A N/A webob Request blank /v1.0/zones/info 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 N/A res status_int 200 N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A name darksecret N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A cap1 a;b N/A N/A N/A self assertEqual N/A N/A res_dict N/A zone N/A cap2 c;d N/A test_zone_select N/A N/A self N/A N/A N/A key c286696d887c9aa0611bbb3e2025a45a N/A N/A N/A self flags build_plan_encryption_key key N/A N/A N/A N/A self stubs Set api select zone_select N/A req N/A N/A N/A webob Request blank /v1.0/zones/select N/A N/A req method POST N/A N/A N/A req headers N/A Content-Type application/json N/A N/A req body N/A N/A json dumps N/A N/A json dumps N/A 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 N/A res status_int 200 N/A N/A N/A self assertTrue N/A weights res_dict N/A item N/A res_dict N/A weights N/A N/A blob N/A item N/A blob N/A decrypt N/A N/A crypto decryptor N/A FLAGS build_plan_encryption_key N/A secret_item N/A N/A json loads N/A decrypt blob N/A found False N/A original_item GLOBAL_BUILD_PLAN N/A N/A N/A N/A original_item N/A name N/A secret_item N/A name N/A N/A N/A found True N/A key N/A weight ip zone N/A N/A N/A N/A self assertEqual N/A secret_item N/A key N/A original_item N/A key N/A N/A N/A self assertTrue found N/A N/A N/A self assertEqual N/A len item 2 N/A N/A N/A self assertTrue N/A weight item N/A N/A