python-cinderclient/cinderclient
Eric Harney 0e2bd33265 Reset-state and snapshot-reset-state for multiple objects
This allows a user to call reset-state or snapshot-reset-state on a
list of objects.  The behavior is modeled after a similar change to
delete multiple volumes.

$ cinder reset-state good_volume good_volume_2
<no output>

Error behavior is as follows:

One success/one failure:
$ cinder reset-state good_volume asdf
Reset state for volume asdf failed: No volume with a name or ID of 'asdf' exists.

One failure:
$ cinder reset-state asdf
ERROR: Reset state for volume asdf failed: No volume with a name or ID of 'asdf' exists.

Two failures:
$ cinder reset-state asdf qwert
Reset state for volume asdf failed: No volume with a name or ID of 'asdf' exists.
Reset state for volume qwert failed: No volume with a name or ID of 'qwert' exists.
ERROR: Unable to reset the state for any of the specified volumes.

Related-Bug: 1241941
Closes-Bug: 1256069
Change-Id: Id0a36fb7de0d69be0dac98ea04e4708775250b7a
2013-12-04 08:58:19 -05:00
..
openstack Synch up with OSLO-Incubator 2013-10-02 14:53:45 -06:00
tests Reset-state and snapshot-reset-state for multiple objects 2013-12-04 08:58:19 -05:00
v1 Reset-state and snapshot-reset-state for multiple objects 2013-12-04 08:58:19 -05:00
v2 Reset-state and snapshot-reset-state for multiple objects 2013-12-04 08:58:19 -05:00
__init__.py Replace OpenStack LLC with OpenStack Foundation 2013-09-28 23:13:54 +08:00
base.py Fix typo in cinderclient 2013-11-28 09:28:05 +08:00
client.py Merge "Fix the failure of fetching the version in cinder endpoint" 2013-10-14 20:00:40 +00:00
exceptions.py python3: Refactor dict for python2/python3 compat 2013-10-11 09:04:49 -04:00
extension.py Replace OpenStack LLC with OpenStack Foundation 2013-09-28 23:13:54 +08:00
service_catalog.py Replace OpenStack LLC with OpenStack Foundation 2013-09-28 23:13:54 +08:00
shell.py Fix typo in cinderclient 2013-11-28 09:28:05 +08:00
utils.py Fix typo in cinderclient 2013-11-28 09:28:05 +08:00