<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/v3/shell.py, branch 2.0.0</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Merge "Make V3 the default and fixup version reporting"</title>
<updated>2017-03-11T01:09:36+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-03-11T01:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=6c499cc6a5dcb663bdc6ba7246114afcc21aface'/>
<id>6c499cc6a5dcb663bdc6ba7246114afcc21aface</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make V3 the default and fixup version reporting</title>
<updated>2017-03-10T17:58:50+00:00</updated>
<author>
<name>John Griffith</name>
<email>john.griffith8@gmail.com</email>
</author>
<published>2017-03-10T03:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=13702ce40c712e6ad38d688c92aa55b349fb935b'/>
<id>13702ce40c712e6ad38d688c92aa55b349fb935b</id>
<content type='text'>
This adds in a version-list command that reports the
min/max versions of the Cinder API supported by this
version of the client, and also queries the Cinder API
V3 server to obtain min/max micro-versions and report
those as well.

In addition, we bump the default version of the client to
3.0, of course if you specify V2 in your rc file or on the
cmd line that works fine too.

I did run into one problem where I broke:
  cinder.tests.unit.test_shell:test_cinder_service_name

Seems to be some hidden trickery with a fake, fixture or
mock that I can't figure out.  For now I added a skip to
that test, but maybe somebody can point out the problem
during review.

Change-Id: I44e667c511d89de28af758a3c9ea1f812e682f18
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds in a version-list command that reports the
min/max versions of the Cinder API supported by this
version of the client, and also queries the Cinder API
V3 server to obtain min/max micro-versions and report
those as well.

In addition, we bump the default version of the client to
3.0, of course if you specify V2 in your rc file or on the
cmd line that works fine too.

I did run into one problem where I broke:
  cinder.tests.unit.test_shell:test_cinder_service_name

Seems to be some hidden trickery with a fake, fixture or
mock that I can't figure out.  For now I added a skip to
that test, but maybe somebody can point out the problem
during review.

Change-Id: I44e667c511d89de28af758a3c9ea1f812e682f18
</pre>
</div>
</content>
</entry>
<entry>
<title>Group show command should be in V3</title>
<updated>2017-02-20T15:07:44+00:00</updated>
<author>
<name>wangxiyuan</name>
<email>wangxiyuan@huawei.com</email>
</author>
<published>2017-02-10T07:43:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=8fee629fd0554ba609c6a72195020013c7f21d9d'/>
<id>8fee629fd0554ba609c6a72195020013c7f21d9d</id>
<content type='text'>
Group feature was introduced in Cinder V3, So the command should
be there as well. But the "group show" command is in V2 which is
wrong.

Change-Id: If3ba44b2b188607542bdadfeb58f8e4b363837b7
Closes-bug: #1663496
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Group feature was introduced in Cinder V3, So the command should
be there as well. But the "group show" command is in V2 which is
wrong.

Change-Id: If3ba44b2b188607542bdadfeb58f8e4b363837b7
Closes-bug: #1663496
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicate columns from list output</title>
<updated>2017-02-14T03:50:34+00:00</updated>
<author>
<name>Dinesh Bhor</name>
<email>dinesh.bhor@nttdata.com</email>
</author>
<published>2017-01-20T10:38:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=2a64ed887c6884423e4ea092bb9ac63ad7a6e08b'/>
<id>2a64ed887c6884423e4ea092bb9ac63ad7a6e08b</id>
<content type='text'>
If you specify duplicate fields in --fields, then it prints duplicate
columns on the console. By default 'ID' column is added to the output
so if you specified it in --fields, then it shouldn't be displayed
twice.

A user can pass 'NaMe', ' Name ' or 'naMe' in --fields option and it
displays same name values three times under the user supplied column
names. If a user doesn't pass --fields option, then it shows "Name"
column in the list. To maintain consistency between user supplied
column and default column names, converted it into title case and
removed leading and trailing whitespaces. Kept ID field as capital
only('ID') for consistency.

Closes-Bug: #1659742
Change-Id: I98999e4c5934b56cd2e5a3fac1fe4d2a73a0d5a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If you specify duplicate fields in --fields, then it prints duplicate
columns on the console. By default 'ID' column is added to the output
so if you specified it in --fields, then it shouldn't be displayed
twice.

A user can pass 'NaMe', ' Name ' or 'naMe' in --fields option and it
displays same name values three times under the user supplied column
names. If a user doesn't pass --fields option, then it shows "Name"
column in the list. To maintain consistency between user supplied
column and default column names, converted it into title case and
removed leading and trailing whitespaces. Kept ID field as capital
only('ID') for consistency.

Closes-Bug: #1659742
Change-Id: I98999e4c5934b56cd2e5a3fac1fe4d2a73a0d5a1
</pre>
</div>
</content>
</entry>
<entry>
<title>Add start_version check for do_list() image_metadata option</title>
<updated>2017-02-08T00:40:30+00:00</updated>
<author>
<name>Mitsuhiro Tanino</name>
<email>mitsuhiro.tanino@hds.com</email>
</author>
<published>2017-02-08T00:31:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=4cd05c64dd394485ff119e805912496686d61bbb'/>
<id>4cd05c64dd394485ff119e805912496686d61bbb</id>
<content type='text'>
The image_metadata options requires Cinder API v3.4, but
user can specify this option before API v3.4 then the
option will be ignored without any warning message.

We should check this option using start_version to
avoid confusion.

Change-Id: I6983494cb6653a9eaf35f4eedba87aeb70b55260
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The image_metadata options requires Cinder API v3.4, but
user can specify this option before API v3.4 then the
option will be ignored without any warning message.

We should check this option using start_version to
avoid confusion.

Change-Id: I6983494cb6653a9eaf35f4eedba87aeb70b55260
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --metadata option to API v2 cinder list command again</title>
<updated>2017-02-03T19:39:02+00:00</updated>
<author>
<name>Mitsuhiro Tanino</name>
<email>mitsuhiro.tanino@hds.com</email>
</author>
<published>2017-02-01T17:41:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=9e0f7983c2792e0bbc031b22b31896ce2b81f9da'/>
<id>9e0f7983c2792e0bbc031b22b31896ce2b81f9da</id>
<content type='text'>
In the commit I90a2b713556e91db69270a03ef6b798e08f93f90,
--metadata option of do_list() in v2/shell.py was
unexpectedly removed and --image_metadata option was
added instead of --metadata option.

This is wrong fix because --image_metadata option
requires API version &gt;= "3.4" and is not supported at
API v2. On the other hands, --metadata option of
do_list() is supported from API v1.

We should remove --image_metadata option and then add
--metadata option to do_list() again.

Also comment on API v3 cinder list --metadata should
be fixed because this doesn't require API &gt;=3.4.

Co-Authored-By: Masaki Kimura &lt;masaki.kimura.kz@hitachi.com&gt;

Change-Id: Ic7d5cfa2acb47fbf73776e034d958ad8fb9119a8
Closes-Bug: #1661045
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the commit I90a2b713556e91db69270a03ef6b798e08f93f90,
--metadata option of do_list() in v2/shell.py was
unexpectedly removed and --image_metadata option was
added instead of --metadata option.

This is wrong fix because --image_metadata option
requires API version &gt;= "3.4" and is not supported at
API v2. On the other hands, --metadata option of
do_list() is supported from API v1.

We should remove --image_metadata option and then add
--metadata option to do_list() again.

Also comment on API v3 cinder list --metadata should
be fixed because this doesn't require API &gt;=3.4.

Co-Authored-By: Masaki Kimura &lt;masaki.kimura.kz@hitachi.com&gt;

Change-Id: Ic7d5cfa2acb47fbf73776e034d958ad8fb9119a8
Closes-Bug: #1661045
</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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>
</feed>
