
Port and modify the quota management code mostly from Cinder, for Cinder has implemented for hierarchy multi-tenancy quota management The code is modified as following: 1. combine the Nova quota resources 2. add AllQuotaEngine and QuotaSetOperation 3. not implemented the volume_type, user based quota management 4. not process is_force 5. update and add test use cases to reflect the new added code and resources The quota management and control in Tricircle is described in the design doc: https://docs.google.com/document/d/18kZZ1snMOCD9IQvUKI5NVDzSASpw-QKj7l2zNqMEd3g/ BP: https://blueprints.launchpad.net/tricircle/+spec/implement-stateless Change-Id: I636d21b5bd7e51949f1431d642dac49321496fbd Signed-off-by: Chaoyi Huang <joehuang@huawei.com>