Module ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict 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 Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict 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 Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict 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 Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict Str Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A oslo_config cfg nova.tests.functional.api_sample_tests api_sample_base N/A CONF N/A cfg CONF N/A N/A N/A CONF import_opt osapi_compute_extension nova.api.openstack.compute.legacy_v2.extensions NetworksAssociateJsonTests N/A N/A api_sample_base ApiSampleTestBaseV21 N/A N/A ADMIN_API True N/A extension_name os-networks-associate N/A extra_extensions_to_load N/A os-networks N/A _sentinel N/A object _get_flags N/A N/A self N/A N/A N/A f N/A N/A N/A super NetworksAssociateJsonTests self _get_flags N/A N/A f N/A osapi_compute_extension N/A N/A CONF osapi_compute_extension N/A N/A N/A N/A N/A f N/A osapi_compute_extension append nova.api.openstack.compute.contrib.os_networks.Os_networks N/A N/A N/A N/A f N/A osapi_compute_extension append nova.api.openstack.compute.contrib.networks_associate.Networks_associate N/A f N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super NetworksAssociateJsonTests self setUp fake_associate N/A N/A self context network_id host project N/A N/A NetworksAssociateJsonTests _sentinel N/A NetworksAssociateJsonTests _sentinel N/A N/A True N/A N/A N/A N/A self stub_out nova.network.api.API.associate fake_associate N/A test_disassociate N/A N/A self N/A N/A N/A response N/A N/A self _do_post os-networks/1/action network-disassociate-req N/A N/A N/A N/A self assertEqual 202 N/A response status_code N/A N/A N/A self assertEqual N/A response content N/A test_disassociate_host N/A N/A self N/A N/A N/A response N/A N/A self _do_post os-networks/1/action network-disassociate-host-req N/A N/A N/A N/A self assertEqual 202 N/A response status_code N/A N/A N/A self assertEqual N/A response content N/A test_disassociate_project N/A N/A self N/A N/A N/A response N/A N/A self _do_post os-networks/1/action network-disassociate-project-req N/A N/A N/A N/A self assertEqual 202 N/A response status_code N/A N/A N/A self assertEqual N/A response content N/A test_associate_host N/A N/A self N/A N/A N/A response N/A N/A self _do_post os-networks/1/action network-associate-host-req N/A host testHost N/A N/A N/A self assertEqual 202 N/A response status_code N/A N/A N/A self assertEqual N/A response content N/A N/A