Quota

Quota Base

class designate.quota.base.Quota[source]

Bases: DriverPlugin

Base class for quota plugins

get_default_quotas(context)[source]
abstract get_quota(context, tenant_id, resource)[source]

Get Quota

get_quotas(context, tenant_id)[source]
limit_check(context, tenant_id, **values)[source]
abstract reset_quotas(context, tenant_id)[source]

Reset Quotas

abstract set_quota(context, tenant_id, resource, hard_limit)[source]

Set Quota

Quota Storage

class designate.quota.impl_storage.StorageQuota[source]

Bases: Quota

get_quota(context, tenant_id, resource)[source]

Get Quota

reset_quotas(context, tenant_id)[source]

Reset Quotas

set_quota(context, tenant_id, resource, hard_limit)[source]

Set Quota