1.Cinder quota class hard_limit’s value should larger than -1 (-1 is a flag
value for unlimited).
2.Add unit tests for quota class.
3.Add quota_classes extension enabled in unitest, so as to do
unitest for quota_classes' update operation.
Closes-bug: #1245360
Change-Id: Ie483db1bdbd4fac875de26abab8ebebd96f4938b
(cherry picked from commit 8b6d51ea04a65d846b0e92a11e191327360d7427)
Reviewed: https:/ /review. openstack. org/64081 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=07892b1738c ae49b709cbb7e46 57dd29751d8c6d
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 07892b1738cae49 b709cbb7e4657dd 29751d8c6d
Author: ling-yun <email address hidden>
Date: Mon Oct 28 15:38:35 2013 +0800
Add valid check and unit tests on quota class
1.Cinder quota class hard_limit’s value should larger than -1 (-1 is a flag
value for unlimited).
2.Add unit tests for quota class.
3.Add quota_classes extension enabled in unitest, so as to do
unitest for quota_classes' update operation.
Closes-bug: #1245360
Change-Id: Ie483db1bdbd4fa c875de26abab8eb ebd96f4938b 46b0e92a11e1913 27360d7427)
(cherry picked from commit 8b6d51ea04a65d8