summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/snapshot.py
Commit message (Collapse)AuthorAgeFilesLines
* i18n support for help and error messages in cinderSheel Rana2016-05-231-20/+25
| | | | Change-Id: I98fbc959034fe0530966291643b381855801de20
* Merge "Add support of setting snapshot state"Jenkins2016-05-181-1/+13
|\
| * Add support of setting snapshot stateXi Yang2016-03-091-1/+13
| | | | | | | | | | | | | | | | This patch is going to add the functionality of setting snapshot state which OSC currently lacks. Closes-Bug:#1535239 Change-Id: I2afd6567416e75ba0c70b73351cf1eb5394b3373
* | Trivial: Fix incorrect comment textTang Chen2016-04-141-1/+1
| | | | | | | | Change-Id: Ia6ec15f11a535a8de5769569d75e81094caed171
* | Doc: Unify repeatable option commentsTang Chen2016-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | There are lots of "this option can be repeated" comments in the doc, which are not consistent to other similar docs. This patch changes them to the following format: "repeat option to do something" Change-Id: I54e01053091c428bf87bb36bb95f73a0b80ab6e7
* | Make snapshot and backup name optionalIvan Kolodyazhny2016-04-061-1/+0
|/ | | | | | | Cinder does not require snapshot and backup name. These arguments are optional. Change-Id: I05d59efc9642205a25684bf0b77758328296d959
* log take_action parameters in a single placeAkihiro Motoki2016-02-021-25/+4
| | | | | | | | | | | | Previously each command logs take_action parameters explicitly by using @utils.log_method decorator or log.debug(). Some commands have no logging. This commit calls a logger in the base class and drops all logging definition from individual commands. Closes-Bug: #1532294 Change-Id: I43cd0290a4353c68c075bade9571c940733da1be
* Trivial: Remove useless return from files in image and volumeTang Chen2015-12-181-3/+0
| | | Change-Id: I3526ecd202d0908d91305a066ad72d03cee794b5
* Consistency of the --all argument for snapshotsJean-Philippe Evrard2015-11-301-1/+12
| | | | | | | | | This change is inspired by the volume.py. It allow the user to use openstack snapshot list --all. Closes-Bug: #1517386 Change-Id: I72a53fcd0c5c5af539cd88b37e71b4331fa67473
* Use a common decorator to log 'take_action' activationJoshua Harlow2015-09-011-2/+2
| | | | | | | | | Instead of duplicating the same log statement throughout the code, the same logic can be provided by a shared decorator that abstracts away the logging capability and unifies it behind a common function instead. Change-Id: Icc63bced7347c8bbf0299a4c5821425a10892a79
* Add support for volume snapshot v2 commandAmey Bhide2015-06-041-2/+203
| | | | | | | | | | openstack snapshot create openstack snapshot set openstack snapshot unset openstack snapshot list Implements: blueprint volume-v2 Change-Id: Ia1d9f4426baa0099281a9931f4eec99ebe1969b1
* Add support for volume v2 APIAmey Bhide2015-05-301-0/+71
Added following commands for volume V2 API: volume show volume delete volume type show volume type delete snapshot show snapshot delete backup show backup delete Implements: blueprint volume-v2 Change-Id: I68bd303c194f304ad15f899d335b72a8bf3ebe10