<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/v2/quota_classes.py, branch queens-eol</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Remove unused attribute when updating quota_class</title>
<updated>2017-08-18T07:25:30+00:00</updated>
<author>
<name>TommyLike</name>
<email>tommylikehu@gmail.com</email>
</author>
<published>2017-08-18T07:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=2c05b83a8c9445cee06a890789f1e0727cf479be'/>
<id>2c05b83a8c9445cee06a890789f1e0727cf479be</id>
<content type='text'>
When updating quota class, attribute 'class_name' is
neither used in the request nor the response [1].

[1]:
https://github.com/openstack/cinder/blob/master/cinder/api/contrib/quota_classes.py#L56

Change-Id: Ic1a743ce36a087f369703f10313d51b79b5cab9c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When updating quota class, attribute 'class_name' is
neither used in the request nor the response [1].

[1]:
https://github.com/openstack/cinder/blob/master/cinder/api/contrib/quota_classes.py#L56

Change-Id: Ic1a743ce36a087f369703f10313d51b79b5cab9c
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor v2 and v3 APIs support</title>
<updated>2016-12-20T14:29:36+00:00</updated>
<author>
<name>Ivan Kolodyazhny</name>
<email>e0ne@e0ne.info</email>
</author>
<published>2016-11-22T20:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=603c615ae59a8b6c24811b39ad05f26228ef5868'/>
<id>603c615ae59a8b6c24811b39ad05f26228ef5868</id>
<content type='text'>
Now v2 API uses code from v3. It's confusing and logically incorrect.
This patch makes v3 API as an extended version of v2.

The next patches related to this bug duplicated code between v1 and v2,
v2 and v3 will be removed.

Change-Id: I90a2b713556e91db69270a03ef6b798e08f93f90
Partial-Bug: #1643584
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now v2 API uses code from v3. It's confusing and logically incorrect.
This patch makes v3 API as an extended version of v2.

The next patches related to this bug duplicated code between v1 and v2,
v2 and v3 will be removed.

Change-Id: I90a2b713556e91db69270a03ef6b798e08f93f90
Partial-Bug: #1643584
</pre>
</div>
</content>
</entry>
<entry>
<title>Add /v3 endpoint support for cinderclient</title>
<updated>2016-04-18T16:49:51+00:00</updated>
<author>
<name>scottda</name>
<email>scott.dangelo@hpe.com</email>
</author>
<published>2016-03-31T15:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=27e6f6f7f85ef0e5fcc37b96e67c870b84880760'/>
<id>27e6f6f7f85ef0e5fcc37b96e67c870b84880760</id>
<content type='text'>
Add support for Cinder API /v3 endpoint.
A couple of unit tests for /v3 endpoint were added to v3/test_shell.py
to ensure that the v3 shell works, and to also test that modules work
with:
from cinderclient.v2.availability_zones import *
syntax.

Change-Id: I6ae0ada221bebb4ab1850d9c99b10fcbb585201f
Implements: https://blueprints.launchpad.net/python-cinderclient/+spec/add-v3-endpoint-support
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for Cinder API /v3 endpoint.
A couple of unit tests for /v3 endpoint were added to v3/test_shell.py
to ensure that the v3 shell works, and to also test that modules work
with:
from cinderclient.v2.availability_zones import *
syntax.

Change-Id: I6ae0ada221bebb4ab1850d9c99b10fcbb585201f
Implements: https://blueprints.launchpad.net/python-cinderclient/+spec/add-v3-endpoint-support
</pre>
</div>
</content>
</entry>
<entry>
<title>Add request_ids attribute to resource objects</title>
<updated>2016-02-16T08:53:50+00:00</updated>
<author>
<name>Ankit Agrawal</name>
<email>ankit11.agrawal@nttdata.com</email>
</author>
<published>2015-12-14T07:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=ec65605eded61801b817cc1e556de0ae8cb74f7c'/>
<id>ec65605eded61801b817cc1e556de0ae8cb74f7c</id>
<content type='text'>
Added request_ids attribute to resource object for all the
cgsnapshots, consistencygroups, qos_specs, quota_classes,
quotas and services APIs by updating following APIs:

cgsnapshots: delete, update
consistencygroups: delete, update, create
qos_specs: delete, associate, disassociate, disassociate_all
quota_classes: update
quotas: update
services: enable, disable, disable_log_reason

These changes are required to return 'request_id' from client to
log request_id mappings of cross projects.

For more details on how request_id will be returned to the caller,
please refer to the approved blueprint [1] discussed with the
cross-project team.
[1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html

DocImpact
'request-ids' will be returned as an attribute with response object.
User can access it using 'res.request_ids' where 'res' is a
response object.

Change-Id: I7b399512fcec9ecd31938656deb60e325bb76ad4
Partial-Implements: blueprint return-request-id-to-caller
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added request_ids attribute to resource object for all the
cgsnapshots, consistencygroups, qos_specs, quota_classes,
quotas and services APIs by updating following APIs:

cgsnapshots: delete, update
consistencygroups: delete, update, create
qos_specs: delete, associate, disassociate, disassociate_all
quota_classes: update
quotas: update
services: enable, disable, disable_log_reason

These changes are required to return 'request_id' from client to
log request_id mappings of cross projects.

For more details on how request_id will be returned to the caller,
please refer to the approved blueprint [1] discussed with the
cross-project team.
[1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html

DocImpact
'request-ids' will be returned as an attribute with response object.
User can access it using 'res.request_ids' where 'res' is a
response object.

Change-Id: I7b399512fcec9ecd31938656deb60e325bb76ad4
Partial-Implements: blueprint return-request-id-to-caller
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes quota-class-update commands</title>
<updated>2015-03-02T15:29:07+00:00</updated>
<author>
<name>liyingjun</name>
<email>yingjun.li@kylin-cloud.com</email>
</author>
<published>2015-03-02T08:01:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=9db3430ccd58370bf5c699f80c98f16e97df1877'/>
<id>9db3430ccd58370bf5c699f80c98f16e97df1877</id>
<content type='text'>
The quota-class-update commands for v1 and v2 are both broken,
Fix v1 by returning result for update method in QuotaClassSetManager,
fix v2 by changing arg 'class-name' to 'class_name' for consistent
with v1.

Change-Id: Ic7188f485b914dc55048cf056a0685618134e87a
Closes-bug: #1423884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The quota-class-update commands for v1 and v2 are both broken,
Fix v1 by returning result for update method in QuotaClassSetManager,
fix v2 by changing arg 'class-name' to 'class_name' for consistent
with v1.

Change-Id: Ic7188f485b914dc55048cf056a0685618134e87a
Closes-bug: #1423884
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Refactor dict for python2/python3 compat</title>
<updated>2013-10-11T13:04:49+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-10-07T02:39:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1'/>
<id>b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1</id>
<content type='text'>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace OpenStack LLC with OpenStack Foundation</title>
<updated>2013-09-28T15:13:54+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2013-09-19T19:31:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=5ad95e9fd236a1f27cbcf1105494d6680a7d8ffe'/>
<id>5ad95e9fd236a1f27cbcf1105494d6680a7d8ffe</id>
<content type='text'>
NOTE:
* openstack/common/* should be synced from oslo, so i leave them
untouched.
* add (c) symbol for related lines, leave others untouched.

Change-Id: I46a87c7f248d3468b1fdf5661411962faf2fb875
Fixes-Bug: #1214176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NOTE:
* openstack/common/* should be synced from oslo, so i leave them
untouched.
* add (c) symbol for related lines, leave others untouched.

Change-Id: I46a87c7f248d3468b1fdf5661411962faf2fb875
Fixes-Bug: #1214176
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes for volume type quotas.</title>
<updated>2013-07-15T15:48:21+00:00</updated>
<author>
<name>Cory Stone</name>
<email>corystone@gmail.com</email>
</author>
<published>2013-03-21T21:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=784f53f0a0c685ffad54ec3adb4859de758c51ba'/>
<id>784f53f0a0c685ffad54ec3adb4859de758c51ba</id>
<content type='text'>
blueprint quotas-limits-by-voltype

Change-Id: I1bb676689c79fe1b14a14a81b21105a02ec117ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
blueprint quotas-limits-by-voltype

Change-Id: I1bb676689c79fe1b14a14a81b21105a02ec117ef
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add `snapshots` key support for quota class update"</title>
<updated>2013-06-21T00:45:11+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-06-21T00:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=bbf791a1f50a28f22a76cdd9ede85c913476a1fe'/>
<id>bbf791a1f50a28f22a76cdd9ede85c913476a1fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Fix traceback while running tests</title>
<updated>2013-06-20T01:52:22+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-06-20T01:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=3044671b3647cd9a6b14b6262baa44567c6e995b'/>
<id>3044671b3647cd9a6b14b6262baa44567c6e995b</id>
<content type='text'>
The testsuite is full of the following:

TypeError: 'dict_keys' object does not support indexing

This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.

Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The testsuite is full of the following:

TypeError: 'dict_keys' object does not support indexing

This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.

Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
