Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias 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 Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad ListLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Str Str Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad If NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad If NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Dict Str Str Dict AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str keyword NameLoad keyword NameLoad keyword ListLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Dict Str Str Str Str Dict AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str ListLoad Str NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str keyword Str keyword NameLoad keyword ListLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Dict Str Str Str Str Str Str Dict AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str ListLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str keyword NameLoad keyword Str keyword ListLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Dict Str Str Str Str Dict AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str ListLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Dict Str Dict Str Str Str NameLoad Dict AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Num NameLoad NameLoad Dict Str Str Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Dict Str Dict Str Str Str Str NameLoad Str Dict AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Num NameLoad NameLoad Dict Str Str Str Str Str NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Dict Str Str Dict AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A uuid N/A mock N/A six N/A webob N/A webob.exc ooi.api compute ooi.api helpers ooi exception ooi.occi.core collection ooi.occi.infrastructure compute occi_compute ooi.occi.infrastructure storage occi_storage ooi.openstack contextualization ooi.openstack templates ooi.tests base ooi.tests fakes TestComputeController N/A N/A base TestController N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestComputeController self setUp N/A N/A self controller N/A N/A compute Controller N/A N/A mock MagicMock None N/A test_index N/A N/A self m_index N/A N/A N/A test_servers N/A N/A N/A N/A fakes servers N/A N/A N/A N/A fakes tenants N/A foo N/A id N/A servers test_servers N/A N/A N/A m_index return_value servers N/A result N/A N/A N/A self controller index None N/A expected N/A N/A N/A self controller _get_compute_resources servers N/A N/A N/A self assertEqual expected N/A result resources N/A N/A N/A m_index assert_called_with None N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper index test_get_server_floating_ips_no_ips N/A N/A self mock_get_server N/A N/A N/A N/A mock_get_server return_value N/A N/A ret N/A N/A N/A self controller _get_server_floating_ips None foo N/A N/A N/A mock_get_server assert_called_with None foo N/A N/A N/A self assertEqual N/A ret N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server test_get_server_floating_ips_with_ips N/A N/A self mock_get_server N/A N/A N/A N/A mock_get_server return_value N/A addresses N/A private N/A N/A OS-EXT-IPS:type addr floating 1.2.3.4 N/A OS-EXT-IPS:type addr fixed 10.11.12.13 N/A OS-EXT-IPS:type addr floating 5.6.7.8 N/A ret N/A N/A N/A self controller _get_server_floating_ips None foo N/A N/A N/A mock_get_server assert_called_with None foo N/A N/A N/A self assertEqual N/A 1.2.3.4 5.6.7.8 ret N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server test_release_floating_ips N/A N/A self mock_release mock_remove mock_get_floating mock_server_floating N/A N/A N/A N/A mock_server_floating return_value N/A 1.2.3.4 5.6.7.8 N/A N/A mock_get_floating return_value N/A N/A ip id 1.2.3.4 bar N/A ip id 5.6.7.8 baz N/A N/A N/A N/A self controller _release_floating_ips None foo N/A N/A N/A mock_server_floating assert_called_with None foo N/A N/A N/A mock_get_floating assert_called_with None N/A N/A N/A mock_remove assert_has_calls N/A N/A N/A mock call None foo 1.2.3.4 N/A N/A mock call None foo 5.6.7.8 N/A N/A N/A mock_release assert_has_calls N/A N/A N/A mock call None bar N/A N/A mock call None baz N/A N/A N/A N/A mock patch object N/A compute Controller _get_server_floating_ips N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_floating_ips N/A N/A N/A mock patch object N/A helpers OpenStackHelper remove_floating_ip N/A N/A N/A mock patch object N/A helpers OpenStackHelper release_floating_ip test_delete N/A N/A self mock_delete N/A N/A N/A N/A mock_delete return_value N/A N/A ret N/A N/A N/A self controller delete None foo N/A N/A N/A self assertEqual N/A ret N/A N/A N/A mock_delete assert_called_with None N/A foo N/A N/A N/A N/A mock patch object N/A compute Controller _delete test_delete_ids N/A N/A self mock_release mock_delete N/A N/A N/A server_ids N/A N/A N/A N/A uuid uuid4 hex N/A N/A N/A uuid uuid4 hex N/A N/A mock_delete return_value None N/A ret N/A N/A N/A self controller _delete None server_ids N/A N/A N/A self assertEqual N/A ret N/A N/A N/A mock_delete assert_has_calls N/A N/A N/A mock call None s N/A s server_ids N/A N/A N/A mock_release assert_has_calls N/A N/A N/A mock call None s N/A s server_ids N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper delete N/A N/A N/A mock patch object N/A compute Controller _release_floating_ips test_delete_all N/A N/A self mock_delete mock_index N/A N/A N/A servers N/A N/A id N/A N/A N/A uuid uuid4 hex N/A id N/A N/A N/A uuid uuid4 hex N/A N/A mock_index return_value servers N/A N/A mock_delete return_value N/A N/A ret N/A N/A N/A self controller delete_all None N/A N/A N/A self assertEqual N/A ret N/A N/A N/A mock_delete assert_called_with None N/A N/A s N/A id N/A s servers N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper index N/A N/A N/A mock patch object N/A compute Controller _delete test_run_action_none N/A N/A self N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id N/A N/A N/A self assertRaises N/A exception InvalidAction N/A N/A self controller run_action req None None N/A test_run_action_invalid N/A N/A self N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id path /foo?action=foo N/A server_uuid N/A N/A N/A uuid uuid4 hex N/A N/A N/A self assertRaises N/A exception InvalidAction N/A N/A self controller run_action req server_uuid None N/A test_run_action_start N/A N/A self m_validator m_get_server m_run_action N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A action start N/A state_action_map N/A SUSPENDED PAUSED STOPPED resume unpause start N/A req N/A N/A self _build_req N/A tenant N/A id path /foo?action=start N/A N/A state action N/A N/A six iteritems state_action_map N/A N/A N/A req get_parser N/A N/A mock MagicMock N/A server_uuid N/A N/A N/A uuid uuid4 hex N/A server N/A status state N/A N/A m_get_server return_value server N/A N/A m_run_action return_value None N/A ret N/A N/A N/A self controller run_action req server_uuid None N/A N/A N/A self assertEqual N/A ret N/A N/A N/A m_run_action assert_called_with N/A mock ANY action server_uuid N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper run_action N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server N/A N/A mock patch ooi.occi.validator.Validator test_show N/A N/A self m_server m_flavor m_image m_vol N/A N/A N/A tenant N/A N/A N/A fakes tenants values N/A N/A servers N/A N/A fakes servers N/A N/A tenant N/A id N/A server servers N/A N/A flavor N/A N/A fakes flavors N/A N/A N/A server N/A flavor N/A id N/A image N/A N/A fakes images N/A N/A N/A server N/A image N/A id N/A volumes N/A N/A N/A fakes volumes get N/A tenant N/A id N/A N/A volumes N/A N/A volumes N/A N/A volumes N/A 0 N/A attachments N/A N/A m_server return_value server N/A N/A m_flavor return_value flavor N/A N/A m_image return_value image N/A N/A m_vol return_value volumes N/A ret N/A N/A N/A self controller show None N/A server N/A id N/A N/A N/A self assertIsInstance N/A ret N/A 0 N/A occi_compute ComputeResource N/A N/A N/A m_server assert_called_with None N/A server N/A id N/A N/A N/A m_flavor assert_called_with None N/A flavor N/A id N/A N/A N/A m_image assert_called_with None N/A image N/A id N/A N/A N/A m_vol assert_called_with None N/A server N/A id N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server_volumes_link N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_image N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_flavor N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server test_show_no_image N/A N/A self m_server m_flavor m_image m_vol N/A N/A N/A tenant N/A N/A N/A fakes tenants values N/A N/A servers N/A N/A fakes servers N/A N/A tenant N/A id N/A server servers N/A N/A flavor N/A N/A fakes flavors N/A N/A N/A server N/A flavor N/A id N/A image N/A N/A fakes images N/A N/A N/A server N/A image N/A id N/A volumes N/A N/A N/A fakes volumes get N/A tenant N/A id N/A N/A volumes N/A N/A volumes N/A N/A volumes N/A 0 N/A attachments N/A N/A m_server return_value server N/A N/A m_flavor return_value flavor N/A N/A m_image side_effect N/A N/A N/A webob exc HTTPNotFound N/A N/A m_vol return_value volumes N/A ret N/A N/A N/A self controller show None N/A server N/A id N/A N/A N/A self assertIsInstance N/A ret N/A 0 N/A occi_compute ComputeResource N/A N/A N/A m_server assert_called_with None N/A server N/A id N/A N/A N/A m_flavor assert_called_with None N/A flavor N/A id N/A N/A N/A m_image assert_called_with None N/A image N/A id N/A N/A N/A m_vol assert_called_with None N/A server N/A id N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server_volumes_link N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_image N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_flavor N/A N/A N/A mock patch object N/A helpers OpenStackHelper get_server test_create_server N/A N/A self m_validator m_create N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id N/A obj N/A attributes schemes N/A occi.core.title foo instance N/A N/A N/A templates OpenStackOSTemplate scheme N/A N/A templates OpenStackResourceTemplate scheme N/A foo N/A bar N/A N/A req get_parser N/A N/A mock MagicMock N/A N/A N/A N/A N/A N/A req get_parser return_value return_value parse return_value obj N/A N/A N/A m_validator validate return_value True N/A server N/A id N/A N/A N/A uuid uuid4 hex N/A N/A m_create return_value server N/A ret N/A N/A N/A self controller create req None N/A N/A N/A self assertIsInstance ret N/A collection Collection N/A N/A N/A m_create assert_called_with N/A mock ANY foo instance foo bar user_data None key_name None block_device_mapping_v2 N/A N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper create_server N/A N/A mock patch ooi.occi.validator.Validator test_create_server_with_context N/A N/A self m_validator m_create N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id N/A obj N/A attributes schemes N/A occi.core.title org.openstack.compute.user_data foo instance bazonk N/A N/A N/A templates OpenStackOSTemplate scheme N/A N/A templates OpenStackResourceTemplate scheme N/A N/A contextualization user_data scheme N/A N/A contextualization public_key scheme N/A foo N/A bar None None N/A N/A req get_parser N/A N/A mock MagicMock N/A N/A N/A N/A N/A N/A req get_parser return_value return_value parse return_value obj N/A N/A N/A m_validator validate return_value True N/A server N/A id N/A N/A N/A uuid uuid4 hex N/A N/A m_create return_value server N/A ret N/A N/A N/A self controller create req None N/A N/A N/A self assertIsInstance ret N/A collection Collection N/A N/A N/A m_create assert_called_with N/A mock ANY foo instance foo bar user_data bazonk key_name None block_device_mapping_v2 N/A N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper create_server N/A N/A mock patch ooi.occi.validator.Validator test_create_server_with_sshkeys N/A N/A self m_validator m_server m_keypair N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id N/A obj N/A attributes schemes N/A occi.core.title org.openstack.credentials.publickey.name org.openstack.credentials.publickey.data foo instance wtfoo wtfoodata N/A N/A N/A templates OpenStackOSTemplate scheme N/A N/A templates OpenStackResourceTemplate scheme N/A N/A contextualization public_key scheme N/A foo N/A bar None N/A N/A req get_parser N/A N/A mock MagicMock N/A N/A N/A N/A N/A N/A req get_parser return_value return_value parse return_value obj N/A N/A N/A m_validator validate return_value True N/A server N/A id N/A N/A N/A uuid uuid4 hex N/A N/A m_server return_value server N/A N/A m_keypair return_value None N/A ret N/A N/A N/A self controller create req None N/A N/A N/A self assertIsInstance ret N/A collection Collection N/A N/A N/A m_keypair assert_called_with N/A mock ANY wtfoo public_key wtfoodata N/A N/A N/A m_server assert_called_with N/A mock ANY foo instance foo bar user_data None key_name wtfoo block_device_mapping_v2 N/A N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper keypair_create N/A N/A N/A mock patch object N/A helpers OpenStackHelper create_server N/A N/A mock patch ooi.occi.validator.Validator test_create_server_with_no_sshkey_name N/A N/A self m_validator m_server m_keypair m_keypair_delete N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id N/A obj N/A attributes schemes N/A occi.core.title org.openstack.credentials.publickey.data foo instance wtfoodata N/A N/A N/A templates OpenStackOSTemplate scheme N/A N/A templates OpenStackResourceTemplate scheme N/A N/A contextualization public_key scheme N/A foo N/A bar None N/A N/A req get_parser N/A N/A mock MagicMock N/A N/A N/A N/A N/A N/A req get_parser return_value return_value parse return_value obj N/A N/A N/A m_validator validate return_value True N/A server N/A id N/A N/A N/A uuid uuid4 hex N/A N/A m_server return_value server N/A N/A m_keypair return_value None N/A ret N/A N/A N/A self controller create req None N/A N/A N/A self assertIsInstance ret N/A collection Collection N/A N/A N/A m_keypair assert_called_with N/A mock ANY N/A mock ANY public_key wtfoodata N/A N/A N/A m_server assert_called_with N/A mock ANY foo instance foo bar user_data None key_name N/A mock ANY block_device_mapping_v2 N/A N/A N/A N/A m_keypair_delete assert_called_with N/A mock ANY N/A mock ANY N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper keypair_delete N/A N/A N/A mock patch object N/A helpers OpenStackHelper keypair_create N/A N/A N/A mock patch object N/A helpers OpenStackHelper create_server N/A N/A mock patch ooi.occi.validator.Validator test_build_block_mapping_no_links N/A N/A self N/A N/A N/A ret N/A N/A N/A self controller _build_block_mapping None N/A N/A N/A N/A self assertEqual N/A ret N/A test_build_block_mapping_invalid_rel N/A N/A self N/A N/A N/A obj N/A links N/A foo N/A rel bar N/A ret N/A N/A N/A self controller _build_block_mapping None obj N/A N/A N/A self assertEqual N/A ret N/A test_build_block_mapping N/A N/A self m_get_id N/A N/A N/A vol_id N/A N/A N/A uuid uuid4 hex N/A image_id N/A N/A N/A uuid uuid4 hex N/A obj N/A links schemes N/A l1 N/A rel occi.core.target http://schemas.ogf.org/occi/infrastructure#storage vol_id N/A N/A N/A templates OpenStackOSTemplate scheme N/A image_id N/A N/A m_get_id return_value N/A None vol_id N/A ret N/A N/A N/A self controller _build_block_mapping None obj N/A expected N/A N/A source_type destination_type boot_index delete_on_termination uuid image local 0 True image_id N/A source_type uuid delete_on_termination volume vol_id False N/A N/A N/A self assertEqual expected ret N/A N/A N/A m_get_id assert_called_with None vol_id N/A N/A occi_storage StorageResource kind N/A N/A N/A mock patch ooi.api.helpers.get_id_with_kind test_build_block_mapping_device_id N/A N/A self m_get_id N/A N/A N/A vol_id N/A N/A N/A uuid uuid4 hex N/A image_id N/A N/A N/A uuid uuid4 hex N/A obj N/A links schemes N/A l1 N/A rel occi.core.target occi.storagelink.deviceid http://schemas.ogf.org/occi/infrastructure#storage vol_id baz N/A N/A N/A templates OpenStackOSTemplate scheme N/A image_id N/A N/A m_get_id return_value N/A None vol_id N/A ret N/A N/A N/A self controller _build_block_mapping None obj N/A expected N/A N/A source_type destination_type boot_index delete_on_termination uuid image local 0 True image_id N/A source_type uuid delete_on_termination device_name volume vol_id False baz N/A N/A N/A self assertEqual expected ret N/A N/A N/A m_get_id assert_called_with None vol_id N/A N/A occi_storage StorageResource kind N/A N/A N/A mock patch ooi.api.helpers.get_id_with_kind test_create_server_with_storage_link N/A N/A self m_validator m_block m_server N/A N/A N/A tenant N/A N/A fakes tenants N/A foo N/A req N/A N/A self _build_req N/A tenant N/A id N/A obj N/A attributes schemes N/A occi.core.title foo instance N/A N/A N/A templates OpenStackOSTemplate scheme N/A N/A templates OpenStackResourceTemplate scheme N/A foo N/A bar N/A N/A req get_parser N/A N/A mock MagicMock N/A N/A N/A N/A N/A N/A req get_parser return_value return_value parse return_value obj N/A N/A N/A m_validator validate return_value True N/A server N/A id N/A N/A N/A uuid uuid4 hex N/A N/A m_server return_value server N/A N/A m_block return_value mapping N/A ret N/A N/A N/A self controller create req None N/A N/A N/A self assertIsInstance ret N/A collection Collection N/A N/A N/A m_server assert_called_with N/A mock ANY foo instance foo bar user_data None key_name N/A mock ANY block_device_mapping_v2 mapping N/A N/A N/A m_block assert_called_with req obj N/A N/A N/A N/A mock patch object N/A helpers OpenStackHelper create_server N/A N/A N/A mock patch object N/A compute Controller _build_block_mapping N/A N/A mock patch ooi.occi.validator.Validator N/A