<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/volume/v1/volume_snapshot.py, branch 5.8.0</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>Merge "Fix faulthy state argument choice"</title>
<updated>2020-03-24T21:34:44+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2020-03-24T21:34:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=81dcc91214c7b449e74ed5d0fe6854590431e6ef'/>
<id>81dcc91214c7b449e74ed5d0fe6854590431e6ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace six.iteritems() with .items()</title>
<updated>2020-01-09T09:41:29+00:00</updated>
<author>
<name>lihaijing</name>
<email>lihaijing@fiberhome.com</email>
</author>
<published>2017-07-07T03:48:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=d15bbada73f81136c966007d9c564dd6cfb2fd9c'/>
<id>d15bbada73f81136c966007d9c564dd6cfb2fd9c</id>
<content type='text'>
1. As mentioned in [1], we should avoid using six.iteritems to achieve
   iterators. We can use dict.items instead, as it will return iterators
   in PY3 as well. And dict.items/keys will more readable.

2. In py2, the performance about list should be negligible,
   see the link [2].

[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Co-Authored-By: Akihiro Motoki &lt;amotoki@gmail.com&gt;
Change-Id: I4b9edb326444264c0f6c4ad281acaac356a07e85
Implements: blueprint replace-iteritems-with-items
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. As mentioned in [1], we should avoid using six.iteritems to achieve
   iterators. We can use dict.items instead, as it will return iterators
   in PY3 as well. And dict.items/keys will more readable.

2. In py2, the performance about list should be negligible,
   see the link [2].

[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Co-Authored-By: Akihiro Motoki &lt;amotoki@gmail.com&gt;
Change-Id: I4b9edb326444264c0f6c4ad281acaac356a07e85
Implements: blueprint replace-iteritems-with-items
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix faulthy state argument choice</title>
<updated>2019-12-19T08:48:17+00:00</updated>
<author>
<name>Bram Verschueren</name>
<email>verschueren.bram@gmail.com</email>
</author>
<published>2019-12-13T10:13:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=69870ae439f18863979949f5728543a0fb1cbe83'/>
<id>69870ae439f18863979949f5728543a0fb1cbe83</id>
<content type='text'>
The correct state name for a failing volume snapshot deletion is
'error_deleting' instead of 'error-deleting'. [1]

[1] https://opendev.org/openstack/cinder/src/commit/89d6a5042fcb2ede5a0b1112d72fae805ea52fcd/cinder/objects/fields.py#L126

Task: #37844
Story: #2007037

Change-Id: Ia99900ece4f1cd29769b22ddaa3965789d719556
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The correct state name for a failing volume snapshot deletion is
'error_deleting' instead of 'error-deleting'. [1]

[1] https://opendev.org/openstack/cinder/src/commit/89d6a5042fcb2ede5a0b1112d72fae805ea52fcd/cinder/objects/fields.py#L126

Task: #37844
Story: #2007037

Change-Id: Ia99900ece4f1cd29769b22ddaa3965789d719556
</pre>
</div>
</content>
</entry>
<entry>
<title>Use cliff formattable columns in volume v1 commands</title>
<updated>2019-06-22T19:53:28+00:00</updated>
<author>
<name>Akihiro Motoki</name>
<email>amotoki@gmail.com</email>
</author>
<published>2017-05-15T07:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=1af3056e301807e4474cde49eef3e00931ab08c2'/>
<id>1af3056e301807e4474cde49eef3e00931ab08c2</id>
<content type='text'>
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns

Change-Id: Ib4c5798171e32a8ddc08a37ee1d416e366a71d76
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns

Change-Id: Ib4c5798171e32a8ddc08a37ee1d416e366a71d76
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix NoneType error for volume snapshot create command</title>
<updated>2017-04-26T16:07:08+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2017-03-08T02:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=1c49a1f01da73b8eed701809de88b408e738dfed'/>
<id>1c49a1f01da73b8eed701809de88b408e738dfed</id>
<content type='text'>
In volume snapshot command, &lt;volume&gt; is the same
as &lt;snapshot-name&gt; when --volume is not specified,
but &lt;volume&gt; cannot be None, so when &lt;snapshot-name&gt;
is not specified (&lt;snapshot-name&gt; is None), a NoneType
error appears.
So make &lt;snapshot-name&gt; no longer optional, it should
be always present.

Change-Id: I3d9f10753a8ef601e70816421c160598e2cc811f
Closes-bug: #1659894
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In volume snapshot command, &lt;volume&gt; is the same
as &lt;snapshot-name&gt; when --volume is not specified,
but &lt;volume&gt; cannot be None, so when &lt;snapshot-name&gt;
is not specified (&lt;snapshot-name&gt; is None), a NoneType
error appears.
So make &lt;snapshot-name&gt; no longer optional, it should
be always present.

Change-Id: I3d9f10753a8ef601e70816421c160598e2cc811f
Closes-bug: #1659894
</pre>
</div>
</content>
</entry>
<entry>
<title>Support "--no-property" option in volume snapshot set</title>
<updated>2017-01-25T23:32:58+00:00</updated>
<author>
<name>zhiyong.dai</name>
<email>zhiyong.dai@easystack.cn</email>
</author>
<published>2017-01-02T09:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=26d50be79a401322f4e74b94c066257ddf0f287c'/>
<id>26d50be79a401322f4e74b94c066257ddf0f287c</id>
<content type='text'>
Supporting "--no-property" option will apply user a convenient
way to clean all properties of volume snapshot in a short command,
and this kind of behavior is the recommended way to devref.
The patch adds "--no-property" option in "volume snapshot set" command,
and update related test cases and devref document.

Change-Id: I5f10cc2b5814553699920c4343995b2e11416e4e
Implements: blueprint allow-overwrite-set-options
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Supporting "--no-property" option will apply user a convenient
way to clean all properties of volume snapshot in a short command,
and this kind of behavior is the recommended way to devref.
The patch adds "--no-property" option in "volume snapshot set" command,
and update related test cases and devref document.

Change-Id: I5f10cc2b5814553699920c4343995b2e11416e4e
Implements: blueprint allow-overwrite-set-options
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the description format</title>
<updated>2017-01-03T13:31:54+00:00</updated>
<author>
<name>zhiyong.dai</name>
<email>zhiyong.dai@easystack.cn</email>
</author>
<published>2017-01-03T10:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=be9e60be4b34ed65206cc0fc69e1b43e3217c2f7'/>
<id>be9e60be4b34ed65206cc0fc69e1b43e3217c2f7</id>
<content type='text'>
In network_qos_rule_type.py, network_service_provider.py, server.py and
volume_snapshot.py, the description format is using """ """.
In this patch, the former format is replaced with "_description = _( )".

Change-Id: I6863b01d3534e033df745070037ee45286745c92
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In network_qos_rule_type.py, network_service_provider.py, server.py and
volume_snapshot.py, the description format is using """ """.
In this patch, the former format is replaced with "_description = _( )".

Change-Id: I6863b01d3534e033df745070037ee45286745c92
</pre>
</div>
</content>
</entry>
<entry>
<title>Add options to "volume snapshot list" command</title>
<updated>2016-11-26T15:13:50+00:00</updated>
<author>
<name>jiahui.qiang</name>
<email>jiahui.qiang@easystack.cn</email>
</author>
<published>2016-11-22T09:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=6ca4dc3533d009866f82515c34cb3881f993c750'/>
<id>6ca4dc3533d009866f82515c34cb3881f993c750</id>
<content type='text'>
Add "--name", "--status" and "--volume" options
to "volume snapshot list" command for filtering results.

Change-Id: I72db1abce7701f31598deec34801a4d1f5713870
Closes-Bug:#1645252
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "--name", "--status" and "--volume" options
to "volume snapshot list" command for filtering results.

Change-Id: I72db1abce7701f31598deec34801a4d1f5713870
Closes-Bug:#1645252
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor "snapshot" commands</title>
<updated>2016-11-03T08:15:02+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-09-14T06:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=23ee2fd8f060ed312a84eb03c99494e8af2ffb6f'/>
<id>23ee2fd8f060ed312a84eb03c99494e8af2ffb6f</id>
<content type='text'>
1.change the command name ``snapshot create/delete/list/
show/set/unset`` to ``volume snapshot create/delete/list/
show/set/unset``.

2.change the optional parameter "--name &lt;name&gt;" to a
positional parameter "&lt;snapshot-name&gt;"; Change the
positional parameter "&lt;volume&gt;" to a optional
parameter "--volume &lt;volume&gt;"

Change-Id: If03276ecdf6f0d96893d5ecf91c2aaa64929cff3
Implements: bp backup-snapshot-renamed-for-volume-resource
Co-Authored-By: Sheel Rana &lt;ranasheel2000@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1.change the command name ``snapshot create/delete/list/
show/set/unset`` to ``volume snapshot create/delete/list/
show/set/unset``.

2.change the optional parameter "--name &lt;name&gt;" to a
positional parameter "&lt;snapshot-name&gt;"; Change the
positional parameter "&lt;volume&gt;" to a optional
parameter "--volume &lt;volume&gt;"

Change-Id: If03276ecdf6f0d96893d5ecf91c2aaa64929cff3
Implements: bp backup-snapshot-renamed-for-volume-resource
Co-Authored-By: Sheel Rana &lt;ranasheel2000@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
