Module Import alias Import alias identifier ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return Dict Str Str Str BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return ListComp Dict Str Str NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Dict Str ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Call AttributeLoad NameLoad attr TupleLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Return Dict Str Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore NameLoad TryExcept body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad NameLoad Raise Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad NameLoad Raise Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr TupleLoad Num Num Num Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad Str Str Str Str Str Str Assign NameStore DictComp NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareLt AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad TryExcept body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad Return Dict Str Call NameLoad SubscriptLoad NameLoad Index Num decorator_list Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Return Call NameLoad keyword Call NameLoad NameLoad decorator_list If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Str
N/A N/A netaddr N/A netaddr.core netexc oslo_config cfg oslo_log log logging N/A six webob exc nova.api.openstack.compute.schemas tenant_networks schema nova.api.openstack extensions nova.api.openstack wsgi nova.api validation nova context nova_context nova exception nova.i18n _ nova.i18n _LE N/A nova.network nova quota N/A CONF N/A cfg CONF N/A N/A N/A CONF import_opt enable_network_quota nova.api.openstack.compute.legacy_v2.contrib.os_tenant_networks N/A N/A N/A CONF import_opt use_neutron_default_nets nova.api.openstack.compute.legacy_v2.contrib.os_tenant_networks N/A N/A N/A CONF import_opt neutron_default_tenant_id nova.api.openstack.compute.legacy_v2.contrib.os_tenant_networks N/A N/A N/A CONF import_opt quota_networks nova.api.openstack.compute.legacy_v2.contrib.os_tenant_networks N/A ALIAS os-tenant-networks N/A QUOTAS N/A quota QUOTAS N/A LOG N/A N/A logging getLogger __name__ N/A authorize N/A N/A extensions os_compute_authorizer ALIAS network_dict N/A N/A network N/A N/A N/A N/A id cidr label N/A N/A N/A network get uuid None N/A N/A network get id None N/A str N/A N/A network get cidr None N/A N/A network get label None N/A TenantNetworkController N/A N/A wsgi Controller N/A __init__ N/A N/A self network_api N/A None N/A N/A N/A self network_api N/A N/A N/A nova network API skip_policy_check True N/A N/A self _default_networks N/A N/A _refresh_default_networks N/A N/A self N/A N/A N/A N/A self _default_networks N/A N/A N/A N/A CONF use_neutron_default_nets True N/A N/A N/A N/A N/A self _default_networks N/A N/A self _get_default_networks N/A N/A N/A Exception N/A N/A N/A N/A LOG exception N/A _LE Failed to get default networks N/A _get_default_networks N/A N/A self N/A N/A N/A project_id N/A CONF neutron_default_tenant_id N/A ctx N/A N/A nova_context RequestContext user_id None project_id project_id N/A networks N/A N/A n N/A N/A N/A self network_api get_all ctx N/A N/A N/A networks N/A N/A n N/A id N/A n N/A label N/A N/A N/A id label k v N/A N/A k v N/A N/A six iteritems networks N/A index N/A N/A self req N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A networks N/A list N/A N/A N/A self network_api get_all context N/A N/A N/A self _default_networks N/A N/A N/A N/A self _refresh_default_networks N/A N/A N/A networks extend N/A self _default_networks N/A N/A networks N/A N/A network_dict n N/A n networks N/A N/A N/A extensions expected_errors N/A show N/A N/A self req id N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A N/A N/A network N/A N/A N/A self network_api get context id N/A N/A N/A N/A exception NetworkNotFound N/A N/A msg N/A _ Network not found N/A N/A N/A exc HTTPNotFound explanation msg N/A N/A network N/A network_dict network N/A N/A N/A extensions expected_errors 404 delete N/A N/A self req id N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A reservation None N/A N/A N/A N/A CONF enable_network_quota N/A N/A reservation N/A N/A QUOTAS reserve context networks -1 N/A N/A N/A Exception N/A N/A reservation None N/A N/A N/A LOG exception N/A _LE Failed to update usages deallocating network. _rollback_quota N/A N/A reservation N/A N/A N/A N/A N/A CONF enable_network_quota reservation N/A N/A N/A N/A QUOTAS rollback context reservation N/A N/A N/A N/A N/A N/A N/A self network_api disassociate context id N/A N/A N/A N/A self network_api delete context id N/A N/A N/A N/A exception PolicyNotAuthorized N/A e N/A N/A N/A _rollback_quota reservation N/A N/A N/A exc HTTPForbidden explanation N/A N/A six text_type e N/A N/A N/A exception NetworkInUse N/A e N/A N/A N/A _rollback_quota reservation N/A N/A N/A exc HTTPConflict explanation N/A N/A e format_message N/A N/A N/A exception NetworkNotFound N/A N/A N/A _rollback_quota reservation N/A msg N/A _ Network not found N/A N/A N/A exc HTTPNotFound explanation msg N/A N/A N/A CONF enable_network_quota reservation N/A N/A N/A N/A QUOTAS commit context reservation N/A N/A N/A extensions expected_errors N/A 403 404 409 N/A N/A wsgi response 202 create N/A N/A self req body N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A network N/A body N/A network N/A keys N/A cidr cidr_v6 ipam vlan_start network_size num_networks N/A kwargs N/A k N/A N/A network get k N/A k keys N/A label N/A network N/A label N/A N/A kwargs N/A cidr N/A N/A N/A N/A net N/A N/A netaddr IPNetwork N/A kwargs N/A cidr N/A N/A N/A net size 4 N/A N/A msg N/A _ Requested network does not contain enough (2+) usable hosts N/A N/A N/A exc HTTPBadRequest explanation msg N/A N/A N/A N/A netexc AddrConversionError N/A N/A msg N/A _ Address could not be converted. N/A N/A N/A exc HTTPBadRequest explanation msg N/A networks N/A N/A N/A N/A N/A CONF enable_network_quota N/A N/A reservation N/A N/A QUOTAS reserve context networks 1 N/A N/A N/A N/A exception OverQuota N/A N/A msg N/A _ Quota exceeded, too many networks. N/A N/A N/A exc HTTPBadRequest explanation msg N/A N/A kwargs N/A project_id N/A context project_id N/A N/A N/A networks N/A N/A N/A self network_api create context label label kwargs N/A N/A CONF enable_network_quota N/A N/A N/A N/A QUOTAS commit context reservation N/A N/A N/A N/A exception PolicyNotAuthorized N/A e N/A N/A N/A N/A exc HTTPForbidden explanation N/A N/A six text_type e N/A N/A N/A exception CidrConflict N/A e N/A N/A N/A N/A exc HTTPConflict explanation N/A N/A e format_message N/A N/A Exception N/A N/A N/A CONF enable_network_quota N/A N/A N/A N/A QUOTAS rollback context reservation N/A msg N/A _ Create networks failed N/A N/A N/A LOG exception msg extra network N/A N/A N/A exc HTTPServiceUnavailable explanation msg N/A N/A network N/A network_dict N/A networks N/A 0 N/A N/A N/A extensions expected_errors N/A 400 403 409 503 N/A N/A validation schema N/A schema create N/A TenantNetworks N/A N/A extensions V21APIExtensionBase N/A N/A Tenant-based Network Management Extension. N/A name OSTenantNetworks N/A alias ALIAS N/A version 1 get_resources N/A N/A self N/A N/A N/A ext N/A N/A extensions ResourceExtension ALIAS N/A TenantNetworkController N/A N/A ext N/A get_controller_extensions N/A N/A self N/A N/A N/A N/A N/A N/A _sync_networks N/A N/A context project_id session N/A N/A N/A ctx N/A N/A nova_context RequestContext user_id None project_id project_id N/A ctx N/A N/A ctx elevated N/A networks N/A N/A N/A N/A N/A N/A nova network api API get_all ctx N/A N/A dict networks N/A len networks N/A N/A N/A CONF enable_network_quota N/A N/A N/A N/A QUOTAS register_resource N/A N/A quota ReservableResource networks _sync_networks quota_networks