<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/v3/client.py, branch stable/pike</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>Support generalized resource filter in client</title>
<updated>2017-05-31T11:32:49+00:00</updated>
<author>
<name>TommyLike</name>
<email>tommylikehu@gmail.com</email>
</author>
<published>2017-05-16T09:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=a6affea92157a5656ba4beae6ffd059d12e23bdc'/>
<id>a6affea92157a5656ba4beae6ffd059d12e23bdc</id>
<content type='text'>
Introduce new command 'list-filters' to retrieve
enabled resource filters.

```
command: cinder list-filters --resource=volume

output:
+----------------+-------------------------------+
| Resource       | Filters                       |
+----------------+-------------------------------+
| volume         | name, status, image_metadata  |
+----------------+-------------------------------+

```

Also Added new option '--filters' to these list commands:
1. list
2. snapshot-list
3. backup-list
4. attachment-list
5. message-list
6. group-list
7. group-snapshot-list
8. get-pools

Change-Id: I062e6227342ea0d940a8333e84014969c33b49df
Partial: blueprint generalized-filtering-for-cinder-list-resource
Depends-On: 04bd22c1eb371805a3ce9f6c8915325bc0da2d36
Depends-On: 7fdc4688fea373afb85d929e649d311568d1855a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce new command 'list-filters' to retrieve
enabled resource filters.

```
command: cinder list-filters --resource=volume

output:
+----------------+-------------------------------+
| Resource       | Filters                       |
+----------------+-------------------------------+
| volume         | name, status, image_metadata  |
+----------------+-------------------------------+

```

Also Added new option '--filters' to these list commands:
1. list
2. snapshot-list
3. backup-list
4. attachment-list
5. message-list
6. group-list
7. group-snapshot-list
8. get-pools

Change-Id: I062e6227342ea0d940a8333e84014969c33b49df
Partial: blueprint generalized-filtering-for-cinder-list-resource
Depends-On: 04bd22c1eb371805a3ce9f6c8915325bc0da2d36
Depends-On: 7fdc4688fea373afb85d929e649d311568d1855a
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix client `retries` default value.</title>
<updated>2017-05-02T11:09:57+00:00</updated>
<author>
<name>Georgy Dyuldin</name>
<email>g.dyuldin@gmail.com</email>
</author>
<published>2017-04-20T11:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=85b56e1d88710453b3f2d5ceba1ad5a8715eb842'/>
<id>85b56e1d88710453b3f2d5ceba1ad5a8715eb842</id>
<content type='text'>
In case of constructing Client with session without specifying `retries`
value, `cinderclient.client.Client.retries` value become to None,
instead of 0. This raises TypeError on python 3 during comparison
`attempts &gt; self.retries` on
`cinderclient.client.SessionClient._cs_request`

Closes-Bug: #1684787
Change-Id: If1ac36acb0d1c92e9779e3e8995606c9b34f2cde
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of constructing Client with session without specifying `retries`
value, `cinderclient.client.Client.retries` value become to None,
instead of 0. This raises TypeError on python 3 during comparison
`attempts &gt; self.retries` on
`cinderclient.client.SessionClient._cs_request`

Closes-Bug: #1684787
Change-Id: If1ac36acb0d1c92e9779e3e8995606c9b34f2cde
</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://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>Add v3 user messages with pagination</title>
<updated>2016-09-01T12:21:57+00:00</updated>
<author>
<name>Alex Meade</name>
<email>mr.alex.meade@gmail.com</email>
</author>
<published>2016-03-30T01:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=1c87b6fa71a4414831fc4b56e3543c1131081496'/>
<id>1c87b6fa71a4414831fc4b56e3543c1131081496</id>
<content type='text'>
GET /messages
GET /messages/{id}
DELETE /message/{id}

Partially-Implements: blueprint summarymessage
Depends-On: I398cbd02b61f30918a427291d1d3ae00435e0f4c
Change-Id: Ic057ab521c048a376d2a6bed513b8eb8118810d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GET /messages
GET /messages/{id}
DELETE /message/{id}

Partially-Implements: blueprint summarymessage
Depends-On: I398cbd02b61f30918a427291d1d3ae00435e0f4c
Change-Id: Ic057ab521c048a376d2a6bed513b8eb8118810d1
</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://git.baserock.org/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>
<entry>
<title>Add generic volume groups</title>
<updated>2016-07-19T04:37:36+00:00</updated>
<author>
<name>xing-yang</name>
<email>xing.yang@emc.com</email>
</author>
<published>2016-05-16T10:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=6c5a764c77b3ac8a16b7f8cb16486f02d3099c3a'/>
<id>6c5a764c77b3ac8a16b7f8cb16486f02d3099c3a</id>
<content type='text'>
This patch adds support to generic volume groups.

Server patch is here: https://review.openstack.org/#/c/322459/

Current microversion is 3.13. The following CLI's are supported:
cinder --os-volume-api-version 3.13 group-create --name my_group
    &lt;group type uuid&gt; &lt;volume type uuid&gt;
cinder --os-volume-api-version 3.13 group-list
cinder --os-volume-api-version 3.13 create --group-id &lt;group uuid&gt;
    --volume-type &lt;volume type uuid&gt; &lt;size&gt;
cinder --os-volume-api-version 3.13 group-update &lt;group uuid&gt;
    --name new_name  description new_description
    --add-volumes &lt;uuid of volume to add&gt;
    --remove-volumes &lt;uuid of volume to remove&gt;
cinder --os-volume-api-version 3.13 group-show &lt;group uuid&gt;
cinder --os-volume-api-version 3.13 group-delete
    --delete-volumes &lt;group uuid&gt;

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

Server patch is here: https://review.openstack.org/#/c/322459/

Current microversion is 3.13. The following CLI's are supported:
cinder --os-volume-api-version 3.13 group-create --name my_group
    &lt;group type uuid&gt; &lt;volume type uuid&gt;
cinder --os-volume-api-version 3.13 group-list
cinder --os-volume-api-version 3.13 create --group-id &lt;group uuid&gt;
    --volume-type &lt;volume type uuid&gt; &lt;size&gt;
cinder --os-volume-api-version 3.13 group-update &lt;group uuid&gt;
    --name new_name  description new_description
    --add-volumes &lt;uuid of volume to add&gt;
    --remove-volumes &lt;uuid of volume to remove&gt;
cinder --os-volume-api-version 3.13 group-show &lt;group uuid&gt;
cinder --os-volume-api-version 3.13 group-delete
    --delete-volumes &lt;group uuid&gt;

Depends-on: I35157439071786872bc9976741c4ef75698f7cb7
Change-Id: Icff2d7385bde0a7c023c2ca38fffcd4bc5460af9
Partial-Implements: blueprint generic-volume-group
</pre>
</div>
</content>
</entry>
<entry>
<title>Add group types and group specs</title>
<updated>2016-07-14T07:36:39+00:00</updated>
<author>
<name>xing-yang</name>
<email>xing.yang@emc.com</email>
</author>
<published>2016-05-14T21:36:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=37ac58cc62447d463d1977c79f9bba49e02523b2'/>
<id>37ac58cc62447d463d1977c79f9bba49e02523b2</id>
<content type='text'>
This patch adds support for group types and group specs
in the client.

Server patch is merged: https://review.openstack.org/#/c/320165/

Current microversion is 3.11. The following CLI's are supported.
cinder --os-volume-api-version 3.11 group-type-create my_test_group
cinder --os-volume-api-version 3.11 group-type-list
cinder --os-volume-api-version 3.11 group-type-show my_test_group
cinder --os-volume-api-version 3.11 group-type-key my_test_group
    set test_key=test_val
cinder --os-volume-api-version 3.11 group-specs-list
cinder --os-volume-api-version 3.11 group-type-key my_test_group
    unset test_key
cinder --os-volume-api-version 3.11 group-type-update &lt;group type uuid&gt;
    --name "new_group" --description "my group type"
cinder --os-volume-api-version 3.11 group-type-delete new_group

Change-Id: I161a96aa53208e78146cb115d500fd6b2c42d046
Partial-Implements: blueprint generic-volume-group
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for group types and group specs
in the client.

Server patch is merged: https://review.openstack.org/#/c/320165/

Current microversion is 3.11. The following CLI's are supported.
cinder --os-volume-api-version 3.11 group-type-create my_test_group
cinder --os-volume-api-version 3.11 group-type-list
cinder --os-volume-api-version 3.11 group-type-show my_test_group
cinder --os-volume-api-version 3.11 group-type-key my_test_group
    set test_key=test_val
cinder --os-volume-api-version 3.11 group-specs-list
cinder --os-volume-api-version 3.11 group-type-key my_test_group
    unset test_key
cinder --os-volume-api-version 3.11 group-type-update &lt;group type uuid&gt;
    --name "new_group" --description "my group type"
cinder --os-volume-api-version 3.11 group-type-delete new_group

Change-Id: I161a96aa53208e78146cb115d500fd6b2c42d046
Partial-Implements: blueprint generic-volume-group
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add cluster related commands"</title>
<updated>2016-08-04T19:58:07+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-08-04T19:58:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4e0476507c2ee471c56f1f5979d926416bb1b07d'/>
<id>4e0476507c2ee471c56f1f5979d926416bb1b07d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Log request-id for each api call</title>
<updated>2016-06-28T08:44:23+00:00</updated>
<author>
<name>Abhishek Kekane</name>
<email>abhishek.kekane@nttdata.com</email>
</author>
<published>2016-04-21T11:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=679cdd245195a6d08cac859b49219ac9112f1d7c'/>
<id>679cdd245195a6d08cac859b49219ac9112f1d7c</id>
<content type='text'>
Added new private method to log request-id of each api call
for both SessionClient and HTTPClient. Already available
ks_logger and client_logger will be used for SessionClient
and HTTPClient respectively.

Change-Id: I679c57b96071ecd9bcd1ab2ed50692195586ca52
Implements: blueprint log-request-id
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added new private method to log request-id of each api call
for both SessionClient and HTTPClient. Already available
ks_logger and client_logger will be used for SessionClient
and HTTPClient respectively.

Change-Id: I679c57b96071ecd9bcd1ab2ed50692195586ca52
Implements: blueprint log-request-id
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cluster related commands</title>
<updated>2016-06-21T17:02:15+00:00</updated>
<author>
<name>Gorka Eguileor</name>
<email>geguileo@redhat.com</email>
</author>
<published>2016-06-09T12:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=25bc7e740220233decec904eb46f9b73815e5755'/>
<id>25bc7e740220233decec904eb46f9b73815e5755</id>
<content type='text'>
This patch updates client to support cluster related changes on the API
done on microversion 3.7.

Service listing will include "cluster_name" field and we have 4 new
commands, "cluster-list", "cluster-show", "cluster-enable" and
"cluster-disable".

Specs: https://review.openstack.org/327283
Implements: blueprint cinder-volume-active-active-support
Depends-On: If1ef3a80900ca6d117bf854ad3de142d93694adf
Change-Id: I824f46b876e21e552d9f0c5cd3e836f35ea31837
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updates client to support cluster related changes on the API
done on microversion 3.7.

Service listing will include "cluster_name" field and we have 4 new
commands, "cluster-list", "cluster-show", "cluster-enable" and
"cluster-disable".

Specs: https://review.openstack.org/327283
Implements: blueprint cinder-volume-active-active-support
Depends-On: If1ef3a80900ca6d117bf854ad3de142d93694adf
Change-Id: I824f46b876e21e552d9f0c5cd3e836f35ea31837
</pre>
</div>
</content>
</entry>
</feed>
