Commit Graph

12 Commits

Author SHA1 Message Date
Monty Taylor c34c371e96 Move tests into the novaclient package.
tests/__init__.py implies a package in the global namespace. These
tests are not global python tests, but rather tests for novaclient.

Change-Id: Ifeb8082aa010d15dddc9ae02e35589bc78ad48cc
2013-05-25 08:23:14 +02:00
Sean Dague c305a45892 Revert "Support force update quota"
This reverts commit e8b665edbf.

The previous commit created an incompatibility in using new nova
client with older nova server. Nova client needs to be always
releasable, and work with all nova server API versions out there.

Fixes bug #1173353

Change-Id: I2c07d109af4a35bc3b98dedaf991d5d3cc6fdd3b
2013-05-24 09:06:01 -04:00
gengjh e8b665edbf Support force update quota
Once we have additional check when update quota in
https://review.openstack.org/#/c/25887/, we need provide --force option
when run 'nova quota-update'.

Fix bug 1160749

DocImpact

Change-Id: Ib8d94d4eaa846f620abad5fb55017ac3fb0b322a
2013-04-11 17:11:08 +08:00
Wu Wenxiang 301500d6c8 Remove unused import
Remove unused import line in tests/v1_1/test_quotas.py

Change-Id: I07b23d945a361015974b546a455d9cd5a48a5b3d
2013-03-15 12:50:57 +08:00
Davanum Srinivas c5b579926f Fix Copyright Headers from LLC to Foundation
follow the lead from nova and oslo projects

Change-Id: I270c5f1e4eefa4b72e292bfb4a4c60de0c3f6e4a
2013-03-13 20:12:23 -04:00
Joe Gordon 1882b99734 Check if tenant flag is uuid_like for all quota operations
Fix bug 1145706

Change-Id: I9089ea4f968797b248f80bf84027a602e59ccd00
2013-03-07 14:55:55 -08:00
Haiwei Xu 168636e744 Check tenant_id's format in "nova quota-update"
Fix bug 1088835
"nova quota-update" command is executed without checking the format of
the tenant_id argument. The tenant_id should be in the format of UUID.
The tenant_id of quotas should be in accord with the form of keystone's
tenant_id. So this patch checks the format of the tenant_id when "nova
quota-update" command is executed.

Change-Id: I47c4f2ff9adbab5da4697270dcf024ac88e24529
2013-01-24 08:04:28 +00:00
François Charlier d17505462d Fix Quota ant SecurityGroup resources refreshing.
The Quota and SecurityGroup resources were not refreshed correctly.

Change-Id: I5b0a9efc07bc7ef05673256df5785aca931f64d8
2012-01-04 16:08:18 +01:00
Brian Waldon a905e5fe07 Accept 1 and 2 as version choices
- removes all unused imports
- update .gitignore with new venv path

Change-Id: I3e8199b72dc83268115133d7c73335ffb6060f9a
2011-12-14 14:44:26 -05:00
Jake Dahn 0476cb6b75 updating quotas and tests with the format which recently landed in nova 2011-08-16 13:38:34 -07:00
termie 461d3e7e2f add license headers 2011-08-09 13:12:09 -07:00
termie 17208cec6a add support for quotas 2011-08-08 14:48:07 -07:00