Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore Call AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str NameLoad keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str NameLoad keyword BinOpAdd Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str NameLoad keyword BinOpAdd Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Dict AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A mock oslo_config cfg oslo_utils uuidutils webob exc web_exc N/A webtest neutron.api extensions neutron.api.v2 router neutron context neutron.extensions providernet pnet neutron manager neutron quota neutron.tests tools neutron.tests.unit.api test_extensions neutron.tests.unit.api.v2 test_base neutron.tests.unit testlib_api ProviderExtensionManager N/A object N/A get_resources N/A N/A self N/A N/A N/A N/A N/A get_actions N/A N/A self N/A N/A N/A N/A N/A get_request_extensions N/A N/A self N/A N/A N/A N/A N/A get_extended_resources N/A N/A self version N/A N/A N/A N/A N/A pnet get_extended_resources version N/A N/A ProvidernetExtensionTestCase N/A N/A testlib_api WebTestCase N/A N/A fmt json setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ProvidernetExtensionTestCase self setUp N/A plugin neutron.neutron_plugin_base_v2.NeutronPluginBaseV2 N/A N/A N/A extensions PluginAwareExtensionManager _instance None N/A N/A N/A self useFixture N/A N/A tools AttributeMapMemento N/A N/A N/A self setup_coreplugin plugin N/A N/A N/A N/A cfg CONF set_override allow_pagination True N/A N/A N/A N/A cfg CONF set_override allow_sorting True N/A N/A self _plugin_patcher N/A N/A mock patch plugin autospec True N/A N/A self plugin N/A N/A N/A self _plugin_patcher start N/A instance N/A N/A self plugin return_value N/A N/A N/A instance get_networks_count return_value 1 N/A N/A N/A N/A N/A manager NeutronManager get_plugin supported_extension_aliases N/A provider N/A ext_mgr N/A ProviderExtensionManager N/A N/A self ext_mdw N/A N/A test_extensions setup_extensions_middleware ext_mgr N/A N/A N/A self addCleanup N/A N/A self _plugin_patcher stop N/A N/A self api N/A N/A webtest TestApp N/A N/A router APIRouter N/A N/A N/A quota QUOTAS _driver None N/A N/A N/A N/A cfg CONF set_override quota_driver neutron.quota.ConfDriver group QUOTAS N/A _prepare_net_data N/A N/A self N/A N/A N/A N/A name N/A pnet NETWORK_TYPE N/A pnet PHYSICAL_NETWORK N/A pnet SEGMENTATION_ID net1 sometype physnet 666 N/A _put_network_with_provider_attrs N/A N/A self ctx expect_errors N/A False N/A N/A data N/A N/A self _prepare_net_data N/A env N/A neutron.context ctx N/A instance N/A N/A self plugin return_value N/A N/A N/A instance get_network return_value N/A tenant_id shared N/A ctx tenant_id False N/A net_id N/A N/A uuidutils generate_uuid N/A res N/A N/A N/A self api put N/A N/A test_base _get_path networks id net_id fmt N/A self fmt N/A N/A self serialize N/A network data extra_environ env expect_errors expect_errors N/A N/A res data net_id N/A _post_network_with_provider_attrs N/A N/A self ctx expect_errors N/A False N/A N/A data N/A N/A self _prepare_net_data N/A env N/A neutron.context ctx N/A res N/A N/A N/A self api post N/A N/A test_base _get_path networks fmt N/A self fmt N/A N/A self serialize N/A network data content_type N/A application/ N/A self fmt extra_environ env expect_errors expect_errors N/A N/A res data N/A _post_network_with_bad_provider_attrs N/A N/A self ctx bad_data expect_errors N/A False N/A N/A data N/A N/A self _prepare_net_data N/A N/A N/A data update bad_data N/A env N/A neutron.context ctx N/A res N/A N/A N/A self api post N/A N/A test_base _get_path networks fmt N/A self fmt N/A N/A self serialize N/A network data content_type N/A application/ N/A self fmt extra_environ env expect_errors expect_errors N/A N/A res data N/A test_network_create_with_provider_attrs N/A N/A self N/A N/A N/A ctx N/A N/A context get_admin_context N/A N/A ctx tenant_id an_admin N/A N/A res data N/A N/A self _post_network_with_provider_attrs ctx N/A instance N/A N/A self plugin return_value N/A exp_input N/A network data N/A N/A N/A N/A exp_input N/A network update N/A admin_state_up tenant_id shared True an_admin False N/A N/A N/A N/A instance create_network assert_called_with N/A mock ANY network exp_input N/A N/A N/A self assertEqual N/A N/A web_exc HTTPCreated code N/A res status_int N/A test_network_create_with_bad_provider_attrs_400 N/A N/A self N/A N/A N/A ctx N/A N/A context get_admin_context N/A N/A ctx tenant_id an_admin N/A bad_data N/A N/A pnet SEGMENTATION_ID abc N/A N/A res _1 N/A N/A self _post_network_with_bad_provider_attrs ctx bad_data True N/A N/A N/A self assertEqual N/A N/A web_exc HTTPBadRequest code N/A res status_int N/A test_network_update_with_provider_attrs N/A N/A self N/A N/A N/A ctx N/A N/A context get_admin_context N/A N/A ctx tenant_id an_admin N/A N/A res data net_id N/A N/A self _put_network_with_provider_attrs ctx N/A instance N/A N/A self plugin return_value N/A exp_input N/A network data N/A N/A N/A N/A instance update_network assert_called_with N/A mock ANY net_id network exp_input N/A N/A N/A self assertEqual N/A N/A web_exc HTTPOk code N/A res status_int N/A test_network_create_with_provider_attrs_noadmin_returns_403 N/A N/A self N/A N/A N/A tenant_id no_admin N/A ctx N/A N/A context Context tenant_id is_admin False N/A N/A res _1 N/A N/A self _post_network_with_provider_attrs ctx True N/A N/A N/A self assertEqual N/A N/A web_exc HTTPForbidden code N/A res status_int N/A test_network_update_with_provider_attrs_noadmin_returns_403 N/A N/A self N/A N/A N/A tenant_id no_admin N/A ctx N/A N/A context Context tenant_id is_admin False N/A N/A res _1 _2 N/A N/A self _put_network_with_provider_attrs ctx True N/A N/A N/A self assertEqual N/A N/A web_exc HTTPForbidden code N/A res status_int N/A N/A