Allow specify a quota in bytes for an account.
Registered by
Chmouel Boudjnah
Limit an account by a certain amount of bytes on an account via the header
X-Account-
the header can be updated only by the reseller account (or the user with the ResellerAdmin role in keystone).
A value of -1 mean unlimited no header mean unlimited as well.
the logic when blocking work as this pseudo block :
new_size = total_bytes + (client_
quota = container_
if 0 <= quota < new_size:
return HTTPRequestEnti
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Chmouel Boudjnah
- Direction:
- Needs approval
- Assignee:
- Christian Schwede
- Definition:
- Approved
- Series goal:
- Accepted for grizzly
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Chmouel Boudjnah
- Completed by
- John Dickinson
Related branches
Related bugs
Sprints
Whiteboard
In review here:
(?)