<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/v3/group_snapshots.py, branch stein-eol</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>Fix encoding of query parameters</title>
<updated>2018-09-14T00:51:17+00:00</updated>
<author>
<name>Goutham Pacha Ravi</name>
<email>gouthampravi@gmail.com</email>
</author>
<published>2018-09-13T22:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=223d754f6162d87a305bcb2b041a5e73d5fae303'/>
<id>223d754f6162d87a305bcb2b041a5e73d5fae303</id>
<content type='text'>
IETF RFC 3986 classifies "~" as a reserved character [1],
however until python3.7 [2], python's url parsing
used to encode this character.

urllib has seen a lot of churn in various python
releases, and hence we were using a six wrapper
to shield ourselves, however, this backwards-incompatible
change in encoding norms forces us to deal with
the problem at our end.

Cinder's API accepts "~" in both, its encoded
or un-encoded forms. So, let's stop encoding it
within cinderclient, regardless of the version
of python running it.

Also fix an inconsitency around the use of the
generic helper method in utils added in
I3a3ae90cc6011d1aa0cc39db4329d9bc08801904
(cinderclient/utils.py - build_query_param)
to allow for False as a value in the query.

[1] https://tools.ietf.org/html/rfc3986.html
[2] https://docs.python.org/3/library/urllib.parse.html#url-quoting

Change-Id: I89809694ac3e4081ce83fd4f788f9355d6772f59
Closes-Bug: #1784728
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IETF RFC 3986 classifies "~" as a reserved character [1],
however until python3.7 [2], python's url parsing
used to encode this character.

urllib has seen a lot of churn in various python
releases, and hence we were using a six wrapper
to shield ourselves, however, this backwards-incompatible
change in encoding norms forces us to deal with
the problem at our end.

Cinder's API accepts "~" in both, its encoded
or un-encoded forms. So, let's stop encoding it
within cinderclient, regardless of the version
of python running it.

Also fix an inconsitency around the use of the
generic helper method in utils added in
I3a3ae90cc6011d1aa0cc39db4329d9bc08801904
(cinderclient/utils.py - build_query_param)
to allow for False as a value in the query.

[1] https://tools.ietf.org/html/rfc3986.html
[2] https://docs.python.org/3/library/urllib.parse.html#url-quoting

Change-Id: I89809694ac3e4081ce83fd4f788f9355d6772f59
Closes-Bug: #1784728
</pre>
</div>
</content>
</entry>
<entry>
<title>Add api_version wraps for some v3 volume APIs</title>
<updated>2018-01-25T13:56:28+00:00</updated>
<author>
<name>jeremy.zhang</name>
<email>zhangjun_inspur@163.com</email>
</author>
<published>2018-01-25T13:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=e2618ebb246d225c452b1f4aa2871a73633d9f5f'/>
<id>e2618ebb246d225c452b1f4aa2871a73633d9f5f</id>
<content type='text'>
This patch is mainly to add api_version wraps for some v3 volume APIs.

Change-Id: Iea8b9b68930548156749da3f98629e3602ffca83
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is mainly to add api_version wraps for some v3 volume APIs.

Change-Id: Iea8b9b68930548156749da3f98629e3602ffca83
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed unnecessary parameters from group and group_snapshots create APIs</title>
<updated>2017-12-14T05:53:12+00:00</updated>
<author>
<name>pooja jadhav</name>
<email>pooja.jadhav@nttdata.com</email>
</author>
<published>2017-12-13T07:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=2a478b3528e9acb59d65f4fda8ed647a749f6021'/>
<id>2a478b3528e9acb59d65f4fda8ed647a749f6021</id>
<content type='text'>
As per code, the 'status', 'user_id' and 'project_id' parameter
is not required to be passed in the request body in case of group
and group_snapshot create APIs. Even if you pass these parameter,
it is silently ignored in the code.

This patch removes those parameters passed in the request body.

Change-Id: I29e7d4c8a3eee52f4ea7278d2edf2c7deec40628
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per code, the 'status', 'user_id' and 'project_id' parameter
is not required to be passed in the request body in case of group
and group_snapshot create APIs. Even if you pass these parameter,
it is silently ignored in the code.

This patch removes those parameters passed in the request body.

Change-Id: I29e7d4c8a3eee52f4ea7278d2edf2c7deec40628
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable H306</title>
<updated>2017-08-01T20:23:49+00:00</updated>
<author>
<name>Eric Harney</name>
<email>eharney@redhat.com</email>
</author>
<published>2017-08-01T19:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=60d00b0a035f5d6e0c436dee50719238cdf119cc'/>
<id>60d00b0a035f5d6e0c436dee50719238cdf119cc</id>
<content type='text'>
Enforce ordering of imports with H306.

For tests, this is mostly done by grouping test
imports after other cinderclient imports.

Change-Id: Ie40fda014d1aedb057e5b4ea1f27f999c84e6373
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enforce ordering of imports with H306.

For tests, this is mostly done by grouping test
imports after other cinderclient imports.

Change-Id: Ie40fda014d1aedb057e5b4ea1f27f999c84e6373
</pre>
</div>
</content>
</entry>
<entry>
<title>Cinder client reset-state improvements</title>
<updated>2017-05-19T22:52:24+00:00</updated>
<author>
<name>TommyLike</name>
<email>tommylikehu@gmail.com</email>
</author>
<published>2017-03-16T08:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=af921bb6b4301a073ad9bed4231a6ced9c82be61'/>
<id>af921bb6b4301a073ad9bed4231a6ced9c82be61</id>
<content type='text'>
Now we can use 'cinder reset-state' command for 'volume',
'snapshot', 'backup', 'group' and 'group-snapshot'.
Also change volume's default status from 'available' to
'None' when not any status is specified.

Co-Authored-By: Eric Harney &lt;eharney@redhat.com&gt;

Change-Id: I0aefeaf5ece74f1f2bc4b72d5705c8c088921e20
Partial-implements: blueprint client-reset-state-improvements
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we can use 'cinder reset-state' command for 'volume',
'snapshot', 'backup', 'group' and 'group-snapshot'.
Also change volume's default status from 'available' to
'None' when not any status is specified.

Co-Authored-By: Eric Harney &lt;eharney@redhat.com&gt;

Change-Id: I0aefeaf5ece74f1f2bc4b72d5705c8c088921e20
Partial-implements: blueprint client-reset-state-improvements
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize: add build_query_param method to clean code</title>
<updated>2016-11-07T01:26:52+00:00</updated>
<author>
<name>TommyLike</name>
<email>tommylikehu@gmail.com</email>
</author>
<published>2016-09-29T08:00:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=d8ca399aba604c2fb518eabaadf846433700eb30'/>
<id>d8ca399aba604c2fb518eabaadf846433700eb30</id>
<content type='text'>
Currently the client build query params in respective method
this patch intends to use 'utils.build_query_param' to make
the code clean.

Change-Id: I3a3ae90cc6011d1aa0cc39db4329d9bc08801904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the client build query params in respective method
this patch intends to use 'utils.build_query_param' to make
the code clean.

Change-Id: I3a3ae90cc6011d1aa0cc39db4329d9bc08801904
</pre>
</div>
</content>
</entry>
<entry>
<title>Move old oslo-incubator code out of openstack/common</title>
<updated>2016-11-03T12:59:31+00:00</updated>
<author>
<name>dineshbhor</name>
<email>dinesh.bhor@nttdata.com</email>
</author>
<published>2016-11-03T09:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=a01a3e1b7f6dd0919ffa15a4d54b84f0ac1e7915'/>
<id>a01a3e1b7f6dd0919ffa15a4d54b84f0ac1e7915</id>
<content type='text'>
As part of the first community-wide goal, teams were asked to
remove the openstack/common package of their projects if one
existed. This was a byproduct of the old oslo-incubator form
of syncing common functionality.

The package, apiclient, was moved to a top level location and
cliutils was moved to the common module. There are no oslo
specific libraries, the recommended solution is to move it in
tree and maintain it there.

Change-Id: Iee52004bd33c19d63133577ff466164b85fd6ca6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the first community-wide goal, teams were asked to
remove the openstack/common package of their projects if one
existed. This was a byproduct of the old oslo-incubator form
of syncing common functionality.

The package, apiclient, was moved to a top level location and
cliutils was moved to the common module. There are no oslo
specific libraries, the recommended solution is to move it in
tree and maintain it there.

Change-Id: Iee52004bd33c19d63133577ff466164b85fd6ca6
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for group snapshots</title>
<updated>2016-07-19T20:35:45+00:00</updated>
<author>
<name>xing-yang</name>
<email>xing.yang@emc.com</email>
</author>
<published>2016-05-21T12:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=f7928c405824691013428177455c8257814316f5'/>
<id>f7928c405824691013428177455c8257814316f5</id>
<content type='text'>
This patch adds support for group snapshots.

Server side API patch was merged:
    https://review.openstack.org/#/c/361369/

Current microversion is 3.14. The following CLI's are supported:
cinder --os-volume-api-version 3.14 group-create-from-src
    --name my_group --group-snapshot &lt;group snapshot uuid&gt;
cinder --os-volume-api-version 3.14 group-create-from-src
    --name my_group --source-group &lt;source group uuid&gt;
cinder --os-volume-api-version 3.14 group-snapshot-create
    --name &lt;name&gt; &lt;group uuid&gt;
cinder --os-volume-api-version 3.14 group-snapshot-list
cinder --os-volume-api-version 3.14 group-snapshot-show
    &lt;group snapshot uuid&gt;
cinder --os-volume-api-version 3.14 group-snapshot-delete
    &lt;group snapshot uuid&gt;

Depends-on: I2e628968afcf058113e1f1aeb851570c7f0f3a08
Partial-Implements: blueprint generic-volume-group
Change-Id: I5c311fe5a6aeadd1d4fca60493f4295dc368944c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for group snapshots.

Server side API patch was merged:
    https://review.openstack.org/#/c/361369/

Current microversion is 3.14. The following CLI's are supported:
cinder --os-volume-api-version 3.14 group-create-from-src
    --name my_group --group-snapshot &lt;group snapshot uuid&gt;
cinder --os-volume-api-version 3.14 group-create-from-src
    --name my_group --source-group &lt;source group uuid&gt;
cinder --os-volume-api-version 3.14 group-snapshot-create
    --name &lt;name&gt; &lt;group uuid&gt;
cinder --os-volume-api-version 3.14 group-snapshot-list
cinder --os-volume-api-version 3.14 group-snapshot-show
    &lt;group snapshot uuid&gt;
cinder --os-volume-api-version 3.14 group-snapshot-delete
    &lt;group snapshot uuid&gt;

Depends-on: I2e628968afcf058113e1f1aeb851570c7f0f3a08
Partial-Implements: blueprint generic-volume-group
Change-Id: I5c311fe5a6aeadd1d4fca60493f4295dc368944c
</pre>
</div>
</content>
</entry>
</feed>
