keystone.limit.models.base module¶
- class keystone.limit.models.base.ModelBase[source]¶
 Bases:
objectInterface for a limit model driver.
- DESCRIPTION = None¶
 
- MAX_PROJECT_TREE_DEPTH = None¶
 
- NAME = None¶
 
- check_limit(limits)[source]¶
 Check the new creating or updating limits if satisfy the model.
- Parameters
 limits (A list of the limits. Each limit is a dictionary reference containing all limit attributes.) – A list of the limit references to be checked.
- Raises
 keystone.exception.InvalidLimit – If any of the input limits doesn’t satisfy the limit model.