These exceptions can be used in novaclient, keystoneclient,
glanceclient, and other client projects.
Partially implements: blueprint common-client-library
Change-Id: I43918316622b1c1d722872fe30199db6a3a7bb76
This change implements a reset-state method in the
cinderclient which exposes the extension: os-reset_status
from the Cinder API.
Fix bug 1190731
Change-Id: I8f631f0f19ca16e0fdd1e3adcf923cc684292887
The testsuite is full of the following:
TypeError: 'dict_keys' object does not support indexing
This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.
Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Implements support for the volume transfer api added to cinder in
https://review.openstack.org/#/c/29227
Change-Id: Idbcdfdd3ef76a8c516e08d1cf351d549254bc8c0
Instead of globally ignoring Pyflakes and Hacking
warnings, only blacklist those that occur frequently
and fix the others. Start gating on those checks.
Change-Id: Ice032c16d445ef08ef018bcdc5c221ab3c323755
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
Correct it's -> its in force-delete message
Print whole bash_completion message in "cinder help"
Reformat some doc strings per PEP-0257
Change-Id: I013b849508beac5c9fe5c6f9d4cdfae54676c29c
key-create stored it's metadata arg as an appended list,
while create stored as strings. The metadata parsing
is compatable with both, so let's just use the same
method of parsing in both of these methods.
Change-Id: I337068d45fa848d8621add29c91e4a43c9d7dc72
Volume metadata supplied via the command line is incorrectly parsed,
converting each character into a key with “None” as the corresponding
value. This bug fix corrects the parsing and also includes regression
tests when metadata is provided when creating a volume.
Change-Id: I8c093df59ea4de2e2a1b7cf3ac7c4624c159fb66
Implements: blueprint encrypt-cinder-volumes
We have an admin extension to do this however we never
exposed it via the cinderclient.
This change simply enables access to force-delete for admins.
Change-Id: Ia066d7dd06ccdb9b3a9221cf33086437624e65d8
Adds the option to create a clone of a volume, using --source-volid xxx
relies on Change-Id: I72bf90baf22bec2d4806d00e2b827a594ed213f4
Change-Id: Iad2178deb66c328625fbff747e123044f9d86a88
type-list was including the extra-specs info in it's response,
however extra-specs are admin accessible only. As a result only admin
users could run type-list which is not what we want.
Add a seperate admin only call to provide volume-types with associated
extra-specs info (extra-specs-list).
Change-Id: I2a716cd7076fb17fd5f2ceb94363eef0009e9bce
Adds ability to set/clear volume_type extra_specs
via python-cinderclient.
* Adds extra_specs info to the list-types output
* Adds missing tests for volume_types features
* Fixes unset loop so it actually iterates through all of the supplied keys
Change-Id: I3552de722f76389cfef6d4f12320720e022ebfac
cinder create and cinder snapshot-create do not display the data
returned from the api. This makes it difficult to find the id of
of the newly created object.
Fixes bug 1053432
Change-Id: I1defafff3fd08f9b3510f70a455d49d470322d82
This changes every command-line option with a '_' in its name
and changes them to '-'. The old option names are maintained
for backward compatibility but are no longer in the help text.
BP command-options
Change-Id: If926bb3b8fa85d628aea197496cf976f71bcdd08
This works with patch set 7 at https://review.openstack.org/#/c/11028/
Change-Id: I113e0dc557500ea52e64d810409548ed1ffafe90
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Add '--availability_zone' flag to 'create' sub command in order to allow
user to speicify target availability zone for volume.
Also fix library description in setup.py
Change-Id: Ice3c9a550dcc486208208074730da13c64a6719b