Module ImportFrom alias Import alias identifier Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call NameLoad keyword Call NameLoad NameLoad orelse Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Call NameLoad Str Dict Str Str Str NameLoad NameLoad AttributeLoad NameLoad attr Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad FunctionDef arguments args NameParam defaults body Return IfExp CompareEq NameLoad Num Call NameLoad Str NameLoad decorator_list If CompareLt Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore BinOpMod Call NameLoad Str Dict Str Str Str NameLoad NameLoad NameLoad Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareGt Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore BinOpMod Call NameLoad Str Dict Str Str Str NameLoad NameLoad NameLoad Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad If NameLoad body Return NameLoad orelse Return DictComp NameLoad SubscriptLoad NameLoad Index Str comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str ListLoad NameLoad Index Num TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str ListLoad NameLoad Index Num TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore Call NameLoad Str Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue If BoolOpAnd CompareEq NameLoad Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd CompareNotIn NameLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpMod Call NameLoad Str Call AttributeLoad Str attr NameLoad Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpOr CompareIn NameLoad NameLoad BoolOpAnd UnaryOpNot NameLoad CompareNotEq NameLoad Num body Continue Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str ListLoad NameLoad Index Num If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Raise Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A oslo_utils strutils N/A six.moves.urllib.parse urlparse N/A webob nova.api.openstack extensions nova.api.openstack wsgi N/A nova.context nova db nova exception nova.i18n _ nova objects nova quota nova utils N/A QUOTAS N/A quota QUOTAS N/A NON_QUOTA_KEYS N/A tenant_id id force N/A EXTENDED_QUOTAS N/A server_groups server_group_members os-server-group-quotas os-server-group-quotas N/A authorize_update N/A N/A extensions extension_authorizer compute quotas:update N/A authorize_show N/A N/A extensions extension_authorizer compute quotas:show N/A authorize_delete N/A N/A extensions extension_authorizer compute quotas:delete QuotaSetsController N/A N/A wsgi Controller N/A N/A supported_quotas N/A __init__ N/A N/A self ext_mgr N/A N/A N/A N/A self ext_mgr ext_mgr N/A N/A self supported_quotas N/A QUOTAS resources N/A N/A resource extension N/A N/A EXTENDED_QUOTAS items N/A N/A N/A N/A N/A N/A self ext_mgr is_loaded extension N/A N/A N/A N/A N/A self supported_quotas remove resource N/A _format_quota_set N/A N/A self project_id quota_set N/A N/A N/A Convert the quota object to a result dict. N/A project_id N/A N/A result N/A dict id N/A str project_id N/A N/A result N/A N/A resource N/A self supported_quotas N/A N/A N/A resource quota_set N/A N/A N/A result N/A resource N/A quota_set N/A resource N/A N/A dict quota_set result N/A _validate_quota_limit N/A N/A self resource limit minimum maximum N/A N/A N/A N/A N/A limit -1 N/A limit N/A db MAX_INT N/A N/A msg N/A N/A _ Quota limit %(limit)s for %(resource)s must be in the range of -1 and %(max)s. N/A limit resource max limit resource N/A db MAX_INT N/A N/A N/A N/A webob exc HTTPBadRequest explanation msg conv_inf N/A N/A value N/A N/A N/A N/A N/A value -1 N/A float inf value N/A N/A N/A N/A conv_inf limit N/A conv_inf minimum N/A N/A msg N/A N/A _ Quota limit %(limit)s for %(resource)s must be greater than or equal to already used and reserved %(minimum)s. N/A limit resource minimum limit resource minimum N/A N/A N/A N/A webob exc HTTPBadRequest explanation msg N/A N/A N/A conv_inf limit N/A conv_inf maximum N/A N/A msg N/A N/A _ Quota limit %(limit)s for %(resource)s must be less than or equal to %(maximum)s. N/A limit resource maximum limit resource maximum N/A N/A N/A N/A webob exc HTTPBadRequest explanation msg N/A _get_quotas N/A N/A self context id user_id usages N/A None False N/A N/A user_id N/A N/A values N/A N/A QUOTAS get_user_quotas context id user_id usages usages N/A N/A values N/A N/A QUOTAS get_project_quotas context id usages usages N/A usages N/A N/A values N/A N/A N/A k N/A v N/A limit N/A N/A k v N/A N/A values items 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_show context N/A params N/A N/A urlparse parse_qs N/A N/A N/A req environ get QUERY_STRING N/A user_id None N/A N/A N/A N/A self ext_mgr is_loaded os-user-quotas N/A N/A user_id N/A N/A N/A params get user_id N/A None N/A 0 N/A N/A N/A N/A N/A N/A nova context authorize_project_context context id N/A N/A N/A self _format_quota_set id N/A N/A self _get_quotas context id user_id user_id N/A N/A N/A N/A exception Forbidden N/A N/A N/A N/A N/A webob exc HTTPForbidden N/A update N/A N/A self req id body N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize_update context N/A N/A N/A N/A N/A N/A nova context require_admin_context context N/A N/A N/A N/A exception AdminRequired N/A N/A N/A N/A N/A webob exc HTTPForbidden N/A project_id id N/A bad_keys N/A N/A force_update True N/A extended_loaded False N/A N/A N/A N/A self ext_mgr is_loaded os-extended-quotas N/A N/A extended_loaded True N/A force_update False N/A user_id None N/A N/A N/A N/A self ext_mgr is_loaded os-user-quotas N/A N/A params N/A N/A urlparse parse_qs N/A N/A N/A req environ get QUERY_STRING N/A user_id N/A N/A N/A params get user_id N/A None N/A 0 N/A N/A N/A N/A N/A N/A nova context authorize_project_context context id N/A settable_quotas N/A N/A QUOTAS get_settable_quotas context project_id user_id user_id N/A N/A N/A N/A exception Forbidden N/A N/A N/A N/A N/A webob exc HTTPForbidden N/A N/A N/A N/A self is_valid_body body quota_set N/A N/A msg N/A _ quota_set not specified N/A N/A N/A N/A webob exc HTTPBadRequest explanation msg N/A quota_set N/A body N/A quota_set N/A N/A key value N/A N/A quota_set items N/A N/A N/A N/A key N/A self supported_quotas N/A key NON_QUOTA_KEYS N/A N/A N/A N/A bad_keys append key N/A N/A N/A N/A key force extended_loaded N/A N/A force_update N/A N/A strutils bool_from_string value N/A N/A N/A N/A key NON_QUOTA_KEYS value N/A N/A N/A N/A N/A N/A utils validate_integer value key N/A N/A N/A N/A exception InvalidInput N/A e N/A N/A N/A N/A N/A webob exc HTTPBadRequest explanation N/A N/A e format_message N/A bad_keys N/A N/A msg N/A N/A _ Bad key(s) %s in quota_set N/A N/A , join bad_keys N/A N/A N/A N/A webob exc HTTPBadRequest explanation msg N/A valid_quotas N/A N/A N/A key value N/A N/A quota_set items N/A N/A N/A N/A key NON_QUOTA_KEYS N/A N/A value N/A value 0 N/A N/A N/A value N/A int value N/A N/A force_update N/A N/A minimum N/A N/A settable_quotas N/A key N/A minimum N/A maximum N/A N/A settable_quotas N/A key N/A maximum N/A N/A N/A self _validate_quota_limit key value minimum maximum N/A N/A valid_quotas N/A key value N/A N/A key value N/A N/A valid_quotas items N/A N/A N/A N/A N/A N/A N/A objects Quotas create_limit context project_id key value user_id user_id N/A N/A N/A N/A exception QuotaExists N/A N/A N/A N/A N/A objects Quotas update_limit context project_id key value user_id user_id N/A values N/A N/A self _get_quotas context id user_id user_id N/A N/A N/A self _format_quota_set None values N/A defaults 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_show context N/A values N/A N/A QUOTAS get_defaults context N/A N/A N/A self _format_quota_set id values N/A delete N/A N/A self req id N/A N/A N/A N/A N/A N/A self ext_mgr is_loaded os-extended-quotas N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize_delete context N/A params N/A N/A urlparse parse_qs N/A N/A N/A req environ get QUERY_STRING N/A user_id N/A N/A N/A params get user_id N/A None N/A 0 N/A N/A user_id N/A N/A N/A N/A self ext_mgr is_loaded os-user-quotas N/A N/A N/A N/A N/A webob exc HTTPNotFound N/A N/A N/A N/A N/A N/A nova context authorize_project_context context id N/A N/A N/A N/A nova context require_admin_context context N/A user_id N/A N/A N/A N/A QUOTAS destroy_all_by_project_and_user context id user_id N/A N/A N/A N/A QUOTAS destroy_all_by_project context id N/A N/A N/A webob Response status_int 202 N/A N/A N/A N/A exception Forbidden N/A N/A N/A N/A N/A webob exc HTTPForbidden N/A N/A N/A N/A webob exc HTTPNotFound N/A N/A Quotas N/A N/A extensions ExtensionDescriptor N/A N/A Quotas management support. N/A name Quotas N/A alias os-quota-sets N/A namespace http://docs.openstack.org/compute/ext/quotas-sets/api/v1.1 N/A updated 2011-08-08T00:00:00Z get_resources N/A N/A self N/A N/A N/A resources N/A N/A res N/A N/A extensions ResourceExtension os-quota-sets N/A QuotaSetsController N/A self ext_mgr member_actions N/A defaults GET N/A N/A N/A resources append res N/A resources N/A N/A