]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Quota API is now compatible with keystone API v2
authorSzymon Borkowski <szymon.borkowski@intel.com>
Thu, 17 Dec 2015 12:18:31 +0000 (13:18 +0100)
committerSzymon Borkowski <szymon.borkowski@intel.com>
Wed, 23 Dec 2015 10:33:44 +0000 (11:33 +0100)
commitffd32c7e1947189eee701c417d9f72982f720a11
treee8c398350c12c0ffa7c17a8a263758b610b50313
parentae2ec9bf69a8567535e77a9e50bce61d9e53d95a
Quota API is now compatible with keystone API v2

Before, the quota API used to fail to perform calls with specified
keystone API v2, because the keystone client used in code was set
to v3 and all quota operations used to assume that the user would
use only keystone API v3.
Now, we use the generic client, which discovers the version of the
keystone API, so depending on that, the quota API can perform
appropriate operations.

Change-Id: I32595a37a9fe74ede77c92f76e0865f4c9371f65
Closes-Bug: 1517043
cinder/api/contrib/quotas.py
cinder/tests/unit/api/contrib/test_quotas.py