<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/unit, 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>Add get_highest_version method</title>
<updated>2017-03-10T16:48:46+00:00</updated>
<author>
<name>scottda</name>
<email>scott.dangelo@gmail.com</email>
</author>
<published>2016-12-13T19:14:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=61faea2eb3a3725e4dc81e15c1a402f2c8dc8fcc'/>
<id>61faea2eb3a3725e4dc81e15c1a402f2c8dc8fcc</id>
<content type='text'>
Add method to query a server that supports /v3 endpoint and get the
highest supported microversion.

Change-Id: If179760787526440c852803eafaf9617bcd2d36e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add method to query a server that supports /v3 endpoint and get the
highest supported microversion.

Change-Id: If179760787526440c852803eafaf9617bcd2d36e
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix discover_version"</title>
<updated>2017-03-10T14:26:31+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-03-10T14:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=5badc3ef3171fa7efc658aabbb2c427e69c1146d'/>
<id>5badc3ef3171fa7efc658aabbb2c427e69c1146d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix discover_version</title>
<updated>2017-03-09T21:42:28+00:00</updated>
<author>
<name>scottda</name>
<email>scott.dangelo@hpe.com</email>
</author>
<published>2016-10-12T22:03:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=3220566e46f2480098801546345d429dd6dfc9d6'/>
<id>3220566e46f2480098801546345d429dd6dfc9d6</id>
<content type='text'>
discover_version needs to find the proper module for server_api_version
method, and it needs to properly parse a list of versions.
Do some refactor to clean things up.
Add unit tests.

Co-Authored-By: waj334 &lt;justin.wilson@intel.com&gt;
Change-Id: I742bc33074cc55fe5f9682b8b97a82573c51183f
Closes-Bug: #1632872
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
discover_version needs to find the proper module for server_api_version
method, and it needs to properly parse a list of versions.
Do some refactor to clean things up.
Add unit tests.

Co-Authored-By: waj334 &lt;justin.wilson@intel.com&gt;
Change-Id: I742bc33074cc55fe5f9682b8b97a82573c51183f
Closes-Bug: #1632872
</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>Merge "Add start_version check for do_list() image_metadata option"</title>
<updated>2017-02-10T16:38:29+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-02-10T16:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=b8a3ef936ea0a1756077b444bb4545beb3b08bd1'/>
<id>b8a3ef936ea0a1756077b444bb4545beb3b08bd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add --metadata option to API v2 cinder list command again"</title>
<updated>2017-02-10T16:35:08+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-02-10T16:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=7d4c8fe4899f806178657af5fc2f689932331fa9'/>
<id>7d4c8fe4899f806178657af5fc2f689932331fa9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
</feed>
