Module ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return BoolOpOr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Dict Str Str Str Str Str SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore SetComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Str decorator_list
N/A neutron_lib constants oslo_utils uuidutils N/A sqlalchemy sa sqlalchemy.orm exc neutron._i18n _ neutron.api.v2 attributes attr neutron.db db_base_plugin_v2 neutron.db model_base neutron.extensions address_scope ext_address_scope AddressScope N/A N/A model_base BASEV2 N/A model_base HasId N/A model_base HasTenant N/A N/A Represents a neutron address scope. N/A __tablename__ address_scopes N/A name N/A N/A sa Column N/A N/A sa String N/A attr NAME_MAX_LEN nullable False N/A shared N/A N/A sa Column N/A sa Boolean nullable False N/A ip_version N/A N/A sa Column N/A N/A sa Integer nullable False N/A AddressScopeDbMixin N/A N/A ext_address_scope AddressScopePluginBase N/A N/A Mixin class to add address scope to db_base_plugin_v2. N/A __native_bulk_support True _make_address_scope_dict N/A N/A self address_scope fields N/A None N/A N/A res N/A id name tenant_id shared ip_version N/A address_scope N/A id N/A address_scope N/A name N/A address_scope N/A tenant_id N/A address_scope N/A shared N/A address_scope N/A ip_version N/A N/A N/A self _fields res fields N/A _get_address_scope N/A N/A self context id N/A N/A N/A N/A N/A N/A N/A self _get_by_id context AddressScope id N/A N/A N/A N/A exc NoResultFound N/A N/A N/A N/A ext_address_scope AddressScopeNotFound address_scope_id id N/A is_address_scope_owned_by_tenant N/A N/A self context id N/A N/A N/A Check if address scope id is owned by the tenant or not.

        AddressScopeNotFound is raised if the
          - address scope id doesn't exist or
          - if the (unshared) address scope id is not owned by this tenant.

        @return Returns true if the user is admin or tenant is owner
                Returns false if the address scope id is shared and not
                owned by the tenant.
         N/A address_scope N/A N/A self _get_address_scope context id N/A N/A N/A context is_admin N/A N/A address_scope tenant_id N/A context tenant_id N/A get_ip_version_for_address_scope N/A N/A self context id N/A N/A N/A address_scope N/A N/A self _get_address_scope context id N/A N/A address_scope ip_version N/A create_address_scope N/A N/A self context address_scope N/A N/A N/A Create an address scope. N/A a_s N/A address_scope N/A address_scope N/A address_scope_id N/A N/A N/A a_s get id N/A N/A uuidutils generate_uuid N/A N/A N/A N/A context session begin subtransactions True N/A N/A pool_args N/A tenant_id id name shared ip_version N/A a_s N/A tenant_id address_scope_id N/A a_s N/A name N/A a_s N/A shared N/A a_s N/A ip_version N/A address_scope N/A AddressScope pool_args N/A N/A N/A N/A context session add address_scope N/A N/A N/A self _make_address_scope_dict address_scope N/A update_address_scope N/A N/A self context id address_scope N/A N/A N/A a_s N/A address_scope N/A address_scope N/A N/A N/A N/A context session begin subtransactions True N/A N/A address_scope N/A N/A self _get_address_scope context id N/A N/A N/A address_scope shared N/A N/A N/A a_s get shared True N/A N/A reason N/A _ Shared address scope can't be unshared N/A N/A N/A ext_address_scope AddressScopeUpdateError address_scope_id id reason reason N/A N/A N/A address_scope update a_s N/A N/A N/A self _make_address_scope_dict address_scope N/A get_address_scope N/A N/A self context id fields N/A None N/A N/A address_scope N/A N/A self _get_address_scope context id N/A N/A N/A self _make_address_scope_dict address_scope fields N/A get_address_scopes N/A N/A self context filters fields sorts limit marker page_reverse N/A None None None None None False N/A N/A marker_obj N/A N/A self _get_marker_obj context addrscope limit marker N/A collection N/A N/A self _get_collection context AddressScope N/A self _make_address_scope_dict filters filters fields fields sorts sorts limit limit marker_obj marker_obj page_reverse page_reverse N/A collection N/A get_address_scopes_count N/A N/A self context filters N/A None N/A N/A N/A N/A self _get_collection_count context AddressScope filters filters N/A delete_address_scope N/A N/A self context id N/A N/A N/A N/A N/A N/A context session begin subtransactions True N/A N/A N/A N/A self _get_subnetpools_by_address_scope_id context id N/A N/A N/A N/A ext_address_scope AddressScopeInUse address_scope_id id N/A address_scope N/A N/A self _get_address_scope context id N/A N/A N/A N/A context session delete address_scope N/A _extend_network_dict_address_scope N/A N/A self network_res network_db N/A N/A N/A N/A network_res N/A N/A ext_address_scope IPV4_ADDRESS_SCOPE None N/A N/A network_res N/A N/A ext_address_scope IPV6_ADDRESS_SCOPE None N/A subnetpools N/A N/A subnet subnetpool N/A subnet N/A network_db subnets N/A subnet subnetpool N/A subnetpool subnetpools N/A N/A as_id N/A subnetpool N/A N/A ext_address_scope ADDRESS_SCOPE_ID N/A N/A N/A subnetpool N/A ip_version N/A constants IP_VERSION_4 N/A N/A N/A network_res N/A N/A ext_address_scope IPV4_ADDRESS_SCOPE as_id N/A N/A N/A subnetpool N/A ip_version N/A constants IP_VERSION_6 N/A N/A N/A network_res N/A N/A ext_address_scope IPV6_ADDRESS_SCOPE as_id N/A network_res N/A N/A N/A N/A N/A db_base_plugin_v2 NeutronDbPluginV2 register_dict_extend_funcs N/A attr NETWORKS N/A _extend_network_dict_address_scope N/A