Bases: Base
, ModelDictMixin
Bases: Base
, ModelDictMixin
Bases: UnifiedLimitDriverBase
Create new limits.
limits – a list of dictionaries representing limits to create.
all the newly created limits.
keystone.exception.Conflict – If a duplicate limit exists.
keystone.exception.NoLimitReference – If no reference registered limit exists.
Create new registered limits.
registered_limits – a list of dictionaries representing limits to create.
all the newly created registered limits.
keystone.exception.Conflict – If a duplicate registered limit exists.
Delete an existing limit.
limit_id – the limit id to delete.
keystone.exception.LimitNotFound – If limit doesn’t exist.
Delete the existing limits which belong to the specified project.
project_id – the limits’ project id.
a dictionary representing the deleted limits id. Used for cache invalidating.
Delete an existing registered limit.
registered_limit_id – the registered limit id to delete.
keystone.exception.RegisteredLimitNotFound – If registered limit doesn’t exist.
Get a limit.
limit_id – the limit id to get.
a dictionary representing a limit reference.
keystone.exception.LimitNotFound – If limit doesn’t exist.
Get a registered limit.
registered_limit_id – the registered limit id to get.
a dictionary representing a registered limit reference.
keystone.exception.RegisteredLimitNotFound – If registered limit doesn’t exist.
List all limits.
hints – contains the list of filters yet to be satisfied. Any filters satisfied here will be removed so that the caller will know if any filters remain.
a list of dictionaries or an empty list.
List all registered limits.
hints – contains the list of filters yet to be satisfied. Any filters satisfied here will be removed so that the caller will know if any filters remain.
a list of dictionaries or an empty registered limit.
Update existing limits.
limit_id – the id of the limit.
limit – a dict containing the limit attributes to update.
the updated limit.
keystone.exception.LimitNotFound – If limit doesn’t exist.
keystone.exception.Conflict – If update to a duplicate limit.
Update existing registered limits.
registered_limit_id – the id of the registered limit.
registered_limit – a dict containing the registered limit attributes to update.
the updated registered limit.
keystone.exception.RegisteredLimitNotFound – If registered limit doesn’t exist.
keystone.exception.Conflict – If update to a duplicate registered limit.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.