<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/v3/shell.py, branch ocata-em</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>Attach/Detach V2</title>
<updated>2017-01-26T22:08:40+00:00</updated>
<author>
<name>John Griffith</name>
<email>john.griffith8@gmail.com</email>
</author>
<published>2016-10-17T23:21:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=22c3693f8c03ba4b9a22697656a519370d6b5eaf'/>
<id>22c3693f8c03ba4b9a22697656a519370d6b5eaf</id>
<content type='text'>
Add an attachments API
This includes a new attachment controller and shell
commands.  To use you'll need to set your api version
    `export OS_VOLUME_API_VERSION=3.27`

Now you can do things like attach a volume (cinders part at least):
    `cinder attachment-create --connect True ......`

List/show/delete existing attachments:
    `cinder attachment-list`
    `cinder attachment-show &lt;attachment-id&gt;`
    `cinder attachment-delete &lt;attachemnt-id&gt;`

Change-Id: I2c463f0910b6c9e37502869b7ec33073f12939f1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an attachments API
This includes a new attachment controller and shell
commands.  To use you'll need to set your api version
    `export OS_VOLUME_API_VERSION=3.27`

Now you can do things like attach a volume (cinders part at least):
    `cinder attachment-create --connect True ......`

List/show/delete existing attachments:
    `cinder attachment-list`
    `cinder attachment-show &lt;attachment-id&gt;`
    `cinder attachment-delete &lt;attachemnt-id&gt;`

Change-Id: I2c463f0910b6c9e37502869b7ec33073f12939f1
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix getting metadata attr error in snapshot-list command"</title>
<updated>2017-01-26T18:31:34+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-26T18:31:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4c61c6556b65af0347afc6e6a86c0f7fc06ffd6c'/>
<id>4c61c6556b65af0347afc6e6a86c0f7fc06ffd6c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix getting metadata attr error in snapshot-list command</title>
<updated>2017-01-26T15:19:12+00:00</updated>
<author>
<name>Mykhailo Dovgal</name>
<email>mdovgal@mirantis.com</email>
</author>
<published>2017-01-26T14:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=209eebbb127db6552610c44f36bea1d5d97eadbf'/>
<id>209eebbb127db6552610c44f36bea1d5d97eadbf</id>
<content type='text'>
Because of 'start_version' parameter in decorator here [0]
we won't have metadata attr in args using api versions from 3.0 to 3.21.

This patch changes getting metadata from args logic for compatibility with
the api versions 3.0 - 3.21.

[0] - https://github.com/openstack/python-cinderclient/blob/b73b3932404c4645e05aaefae5502ab2304a5334/cinderclient/v3/shell.py#L1237

Change-Id: I4aa099556c57c49e9ad74fe80e5591d738cf3aa0
Closes-Bug: #1659561
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because of 'start_version' parameter in decorator here [0]
we won't have metadata attr in args using api versions from 3.0 to 3.21.

This patch changes getting metadata from args logic for compatibility with
the api versions 3.0 - 3.21.

[0] - https://github.com/openstack/python-cinderclient/blob/b73b3932404c4645e05aaefae5502ab2304a5334/cinderclient/v3/shell.py#L1237

Change-Id: I4aa099556c57c49e9ad74fe80e5591d738cf3aa0
Closes-Bug: #1659561
</pre>
</div>
</content>
</entry>
<entry>
<title>Support filter volumes by group_id</title>
<updated>2017-01-25T03:04:33+00:00</updated>
<author>
<name>wangxiyuan</name>
<email>wangxiyuan@huawei.com</email>
</author>
<published>2016-12-13T07:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=aaffe41e3161ff5684eb87202780680f2a006fbe'/>
<id>aaffe41e3161ff5684eb87202780680f2a006fbe</id>
<content type='text'>
After v3.10, cinder support filter volumes by group_id, this patch
support this feature for client side.

Change-Id: Ie7df4d8b81789fd36ca6f91d96a477c88e8d5a52
Partial-Implements: blueprint improvement-to-query-consistency-group-detail
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After v3.10, cinder support filter volumes by group_id, this patch
support this feature for client side.

Change-Id: Ie7df4d8b81789fd36ca6f91d96a477c88e8d5a52
Partial-Implements: blueprint improvement-to-query-consistency-group-detail
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed unnecessary 'service_type' decorator</title>
<updated>2017-01-23T11:58:33+00:00</updated>
<author>
<name>Ivan Kolodyazhny</name>
<email>e0ne@e0ne.info</email>
</author>
<published>2016-12-23T14:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=204b15ab13004e3d5ac1ec4d0dbd3fe94bb2a8fd'/>
<id>204b15ab13004e3d5ac1ec4d0dbd3fe94bb2a8fd</id>
<content type='text'>
@utils.service_type was introduced with 'Initial split from
python-novaclient' commit and used for CLI. Now both Python and
Command-line APIs for each version  work well without this decorator.

Unused 'get_service_type' function is removed too.

'utils.retype_method' removed as well because everything works well
without it.

Change-Id: Ic2470d8ca9d581b7c47da8d7e6a414c3c78ad27a
Partial-Bug: #1643584
Related-Bug: #1621126
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
@utils.service_type was introduced with 'Initial split from
python-novaclient' commit and used for CLI. Now both Python and
Command-line APIs for each version  work well without this decorator.

Unused 'get_service_type' function is removed too.

'utils.retype_method' removed as well because everything works well
without it.

Change-Id: Ic2470d8ca9d581b7c47da8d7e6a414c3c78ad27a
Partial-Bug: #1643584
Related-Bug: #1621126
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix v3 volume list based on image_metadata</title>
<updated>2017-01-19T16:20:09+00:00</updated>
<author>
<name>Vivek Agrawal</name>
<email>vivek.agrawal@veritas.com</email>
</author>
<published>2017-01-19T16:20:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=f08ecd29ade3c8917f4fa317ebbd7fdefc7a09cf'/>
<id>f08ecd29ade3c8917f4fa317ebbd7fdefc7a09cf</id>
<content type='text'>
volume list filtered on image_metadata does not work as expected.
The filtering based on image_metadata depended on non existent
utility for extracting image_metadata.
Fixed the issue by calling appropriate utility module
for extracting image_metadata. Looks like a typo.

Change-Id: I13e78277fc1afd22d044bb49b6a5ccc00904228c
Closes-bug: #1657650
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
volume list filtered on image_metadata does not work as expected.
The filtering based on image_metadata depended on non existent
utility for extracting image_metadata.
Fixed the issue by calling appropriate utility module
for extracting image_metadata. Looks like a typo.

Change-Id: I13e78277fc1afd22d044bb49b6a5ccc00904228c
Closes-bug: #1657650
</pre>
</div>
</content>
</entry>
<entry>
<title>Metadata based snapshop filtering</title>
<updated>2017-01-18T14:28:21+00:00</updated>
<author>
<name>Vivek Agrawal</name>
<email>vivek.agrawal@veritas.com</email>
</author>
<published>2017-01-06T21:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=056cf5c0591465dadd5017be9349d8f272fdddd0'/>
<id>056cf5c0591465dadd5017be9349d8f272fdddd0</id>
<content type='text'>
The snpapshot-list API for cinder gives a list of snapshots based
on certain criteria to the user. From microversion 3.22 onwards
the snapshot-list API has been enhanced to support snapshot list
filtering based on metadata of snapshots. The metadata is stored
as key-value pair for every snapshot.
With this commit cinder will be queried based on metadata key and
value specified in the API snaphot-list. All the snapshots which
match the key, value provided by the user along with any other
filter criteria will be returned.
Added the test cases for the CLI and web requests.

DocImpact: "Filters results by a metadata key and value pair.
Default=None." on cinder snapshot-list
APIImpact

Closes-bug: #1569554

Change-Id: Idec0d0d02e7956843f202508e32c023c3cafbb0f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The snpapshot-list API for cinder gives a list of snapshots based
on certain criteria to the user. From microversion 3.22 onwards
the snapshot-list API has been enhanced to support snapshot list
filtering based on metadata of snapshots. The metadata is stored
as key-value pair for every snapshot.
With this commit cinder will be queried based on metadata key and
value specified in the API snaphot-list. All the snapshots which
match the key, value provided by the user along with any other
filter criteria will be returned.
Added the test cases for the CLI and web requests.

DocImpact: "Filters results by a metadata key and value pair.
Default=None." on cinder snapshot-list
APIImpact

Closes-bug: #1569554

Change-Id: Idec0d0d02e7956843f202508e32c023c3cafbb0f
</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>Remove extra 'u' from cli output</title>
<updated>2016-12-16T14:11:31+00:00</updated>
<author>
<name>Cao ShuFeng</name>
<email>caosf.fnst@cn.fujitsu.com</email>
</author>
<published>2016-07-27T14:13:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=64c8f74a7c238694d473884682a763f6a8a5b02b'/>
<id>64c8f74a7c238694d473884682a763f6a8a5b02b</id>
<content type='text'>
The unicode_key_value_to_string() function is designed to remove
extra 'u' in cinderclient cli output.
However this patch[1] bring the extra 'u' back.
Let's remove the extra 'u' again.

Closes-bug: #1615921
Closes-bug: #1606904

[1] https://review.openstack.org/#/c/342734/
Change-Id: I26f0ad7149f57e935953c2398ba90b7b3585e201
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The unicode_key_value_to_string() function is designed to remove
extra 'u' in cinderclient cli output.
However this patch[1] bring the extra 'u' back.
Let's remove the extra 'u' again.

Closes-bug: #1615921
Closes-bug: #1606904

[1] https://review.openstack.org/#/c/342734/
Change-Id: I26f0ad7149f57e935953c2398ba90b7b3585e201
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix help message for 'type-list' command</title>
<updated>2016-11-01T15:25:03+00:00</updated>
<author>
<name>Ivan Kolodyazhny</name>
<email>e0ne@e0ne.info</email>
</author>
<published>2016-11-01T11:18:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=b8d1966d93377abc31afe02ea6bfd1e6c4b9da66'/>
<id>b8d1966d93377abc31afe02ea6bfd1e6c4b9da66</id>
<content type='text'>
Change help about private volume types according to the implementation.

Change-Id: I59d811c4a6afb1a8162cf25ff1a734facbf68d8d
Related-Bug: #1637549
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change help about private volume types according to the implementation.

Change-Id: I59d811c4a6afb1a8162cf25ff1a734facbf68d8d
Related-Bug: #1637549
</pre>
</div>
</content>
</entry>
</feed>
