Quota

Quota Base

class designate.quota.base.Quota[source]

Bases: designate.plugin.DriverPlugin

Base class for quota plugins

get_default_quotas(context)[source]
get_quota(context, tenant_id, resource)[source]
get_quotas(context, tenant_id)[source]
limit_check(context, tenant_id, **values)[source]
reset_quotas(context, tenant_id)[source]
set_quota(context, tenant_id, resource, hard_limit)[source]

Quota Storage

class designate.quota.impl_storage.StorageQuota[source]

Bases: designate.quota.base.Quota

get_quota(context, tenant_id, resource)[source]
reset_quotas(*args, **kwargs)[source]
set_quota(*args, **kwargs)[source]