trove/trove/quota
Fan Zhang 8229572c1d Support -1 as unlimited quota restraint in Trove.
In other projects like nova and neutron, hard limit -1 often means
unlimited quota restraint. But Trove dose not support that. This patch
aims at two things:
1. Support -1, as unlimited quota restraint in check_quotas()
2. Add quota check to accept only -1, not -2 or other negative numbers
when updating quotas.

Change-Id: I028e6d7814ff240aa3f697e3d6ac8c7bac5bf3fd
Closes-bug: #1729791
Signed-off-by: Fan Zhang <zh.f@outlook.com>
2017-11-09 21:29:14 +08:00
..
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00
models.py Handle isotime deprecation in oslo_utils.timeutils 2017-06-09 16:22:11 +00:00
quota.py Support -1 as unlimited quota restraint in Trove. 2017-11-09 21:29:14 +08:00