summaryrefslogtreecommitdiff
path: root/cinderclient/v2/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Use adapter from keystoneclient"Jenkins2014-09-091-7/+7
|\
| * Use adapter from keystoneclientJamie Lennox2014-09-021-7/+7
| | | | | | | | | | | | | | | | | | The keystoneclient provides an adapter which maintains the client state around the session. We should re-use this rather than copy it and it also means we will get new adapter functions and parameters as they become available. Change-Id: I05c0d650dcdd69f7e77a06563d735efe521a41ae
* | Cinder Client for Consistency GroupsXing Yang2014-09-081-0/+5
|/ | | | | | | | This patch implements CLI commands for the Consistency Groups feature. Only snapshots for CGs will be implemented in phase 1. Change-Id: I447555fd8a92bceecf6f40be59030d65461e4cbb Implements: blueprint consistency-groups
* Added support for keystone v3clienthaneef ali2014-06-171-8/+10
| | | | Change-Id: I7bbc74c9e73f36f942f5800a7af0da717da0bc64
* Merge "Fix usage of v1 and v2 availability zones"Jenkins2014-04-181-1/+1
|\
| * Fix usage of v1 and v2 availability zonesekudryashova2014-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | Change usage of availability zones in client. V2 client should use appropriate version of manager of availability zones. Also change tests of v2 availability zones to test version 2 instead of one more time test v1 availability zones. Change-Id: Iec3863a105a20f876a303f789cc1edfafa58f4df Closes-Bug: #1290956
* | Add auth_plugin support to cinderclientCory Stone2014-02-141-3/+5
|/ | | | | | | | | | | With CINDER_RAX_AUTH being rightfully removed, cinderclient is no longer compatible with Rackspace/any non-keystone auth. To fix this, I stole auth_system/auth_plugin from novaclient's implementation. See https://review.openstack.org/#/c/23820/. Change-Id: If5f84003f868ef02bb7eb7da67cf62018602e8f0 Closes-Bug: 1280393
* Implement qos supportZhiteng Huang2013-10-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables Cinder v1/v2 QoS API support, adding following subcommands to cinder client: * create QoS Specs cinder qos-create <name> <key=value> [<key=value> ...] * delete QoS Specs cinder qos-delete [--force <True|False>] <qos_specs> 'force' is a flag indicates whether to delete a 'in-use' qos specs, which is still associated with other entities (e.g. volume types). * update QoS Specs - add new key/value pairs or update existing key/value cinder qos-key <qos_specs_id> set key=value [key=value ...] - delete key/value pairs cinder qos-key <qos_specs id> unset key [key ...] * associate QoS Specs with specified volume type cinder qos-associate <qos_specs_id> <volume_type_id> * disassociate QoS Specs from specified volume type cinder qos-disassociate <qos_specs_id> <volume_type_id> * disassociate QoS Specs from all associated volume types cinder qos-disassociate-all <qos_specs> * query entities that are associated with specified QoS Specs cinder qos-get-associations <qos_specs_id> * list all QoS Specs cinder qos-list DocImpact Change-Id: Ie1ddd29fede8660b475bac14c4fc35496d5fe0bc
* Replace OpenStack LLC with OpenStack FoundationZhiQiang Fan2013-09-281-1/+1
| | | | | | | | | | NOTE: * openstack/common/* should be synced from oslo, so i leave them untouched. * add (c) symbol for related lines, leave others untouched. Change-Id: I46a87c7f248d3468b1fdf5661411962faf2fb875 Fixes-Bug: #1214176
* Add volume encryption metadata to cinderclientPeter Hamilton2013-08-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | This modification adds support for volume type encryption to python-cinderclient, supporting two Cinder API extensions. The first support set provides accessors to python-cinderclient for retrieving volume encryption metadata from Cinder. These changes provide other services (e.g., Nova) access to encryption metadata (e.g., encryption key UUIDs). See the volume encryption key API extension in Cinder for more information. The second support set creates a new python-cinderclient resource manager, along with matching shell commands, that provides creation and accessor operations for encryption type information. These operations allow users and services to define encryption information (e.g., cipher, key size, encryption provider) for a pre-existing volume type. See the volume type encryption API extension in Cinder for more information. blueprint encrypt-cinder-volumes Change-Id: Id4b2425d699678eb1997863362ddb9bf5ba6f033
* Add support for multiple cinder endpointsMike Perez2013-08-081-1/+1
| | | | | | | | | | | Before v1 and v2 were set to the same service_type, so you could only have one set at a time. This assumes the catalog is setup for v1 service_type 'volume' and v2 service_type 'volumev2'. For backwards compatibility, we will allow v2 to be setup with service_type 'volume' for existing installations. Change-Id: Ife6d2cdb12d894b84ea3b276767fb93d487355d5
* Add availability-zone-list commandDean Troyer2013-07-251-0/+3
| | | | | | | | | | | This is client-side support for the os-availability-zone extension added in https://review.openstack.org/34813. As /os-availability-zone/detail is not yet implemented, adjustments were made to accomodate the lack of hosts in the returned zone list. Added for both v1 and v2, basically a copy of the equivalent novaclient command. Change-Id: Iae806a2b5ea3a2d3c984a138d9c27e169160766e
* Add os-services extension supportQiu Yu2013-07-141-0/+2
| | | | | | | | | | | | | | | | | | Implement client bindings for Cinder os-services API extension, so client would be able to list services, enable or disable particular services. Usage: cinder service-list [--host <hostname>] [--binary <binary>] cinder service-enable <hostname> <binary> cinder service-disable <hostname> <binary> This change is depended on following change at Cinder side I7f3fa889294ca6caebdf46b8689345bcac1cdf54 Implements blueprint os-services-extension Change-Id: I4a53fd545ed3b446441302d00a429168a996a34a
* Merge "Connectivity between the endpoint version and OS_VOLUME_API_VERSION."Jenkins2013-06-251-0/+3
|\
| * Connectivity between the endpoint version and OS_VOLUME_API_VERSION.Anastasia Latynskaya2013-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | Adds functionality which allows user to work with that cinder API version which is the same as the endpoint version. Fixes: bug #1169455 Change-Id: I9bb46e602d15856d2da502a6ac2b6c25e76f4fa3
* | Implements support migration for volume transferCian O'Driscoll2013-06-171-0/+2
|/ | | | | | | Implements support for the volume transfer api added to cinder in https://review.openstack.org/#/c/29227 Change-Id: Idbcdfdd3ef76a8c516e08d1cf351d549254bc8c0
* Add license information.Chuck Short2013-05-091-0/+15
| | | | | | | | Several files were missing the license issue, so simply add them. Change-Id: I866ec03096a72fe8ae7d776e2ffe040379ec5bc6 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Add support for volume backupsStephen Mulcahy2013-04-261-0/+4
| | | | | | | | | | | | | | | | | | | | | Implements support for the volume backup api added to cinder in https://review.openstack.org/19468. This is a resubmit of the expired change https://review.openstack.org/25299 with the following changes: * Added unit tests for backups (v1 and v2) * Changed references in backup code to display_name and display_description to name and description respectively * Removed links from backup-show output * Added object_count to _translate_backup_keys * Removed unneccesary items from _translate_backup_keys * Fixed backups docstrings including removing references to swift. Adds backup-create, backup-delete, backup-list, backup-restore and backup-show to both the v1 and v2 clients, since the volume backup extension is available via both APIs. Change-Id: I197384f1c2fd2af641d207a5f4dba0dfbc5c681a
* adding v2 support to cinderclientMike Perez2013-02-131-0/+78
This will allow the cinderclient to speak to the v2 rest api if it's enabled in the cinder config. Includes additional v2 tests as well. blueprint cinderclient-v2-support Change-Id: I004134d9f528a6eadefdaa89eb48087bcae2691f