summaryrefslogtreecommitdiff
path: root/openstackclient/volume
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Support error handling for delete commands in volumev2"Jenkins2016-07-184-18/+91
|\ \
| * | Support error handling for delete commands in volumev2Huanxuan Ao2016-07-144-18/+91
| |/ | | | | | | | | | | | | | | Some delete conmmands in volumev2 did not support error handling, this patch add them and also add the unit tests for bulk deletion Change-Id: I56ade6f9c7396c78fb989547476c4d94ccd76eae
* | Merge "Add "--project" option to "volume type create" command"Jenkins2016-07-181-1/+26
|\ \ | |/ |/|
| * Add "--project" option to "volume type create" commandHuanxuan Ao2016-07-121-1/+26
| | | | | | | | | | | | | | | | | | | | Add "--project" and "--project-domain" options to "volume type create" command. We can use these options to add the type access to a given project when we create the volume type. Change-Id: I483a6b61dae137682c3d1f7527531b40e508ba92 Closes-Bug: #1602169
* | Merge "Remove useless dest of option in volume v1&v2"Jenkins2016-07-143-4/+0
|\ \ | |/ |/|
| * Remove useless dest of option in volume v1&v2Huanxuan Ao2016-07-113-4/+0
| | | | | | | | | | | | | | some "dest" argument is useless because they are the same as the option name. So remove them. Change-Id: Idd37e8816cf8b0833c94a5e741fdfe56602551f9
* | Add "--incremental" option to "backup create" command in volume v2Paul Bourke2016-07-111-0/+7
|/ | | | | | | | | | Cinder V2 API supports creating volume backup with "--incremental" option. However, OSC doesn't support this argument. So this patch adds the "--incremental" option to allow users to create incremental style backups. Change-Id: Iefac5f1a6c9ef006ad9c22d4250ae6df50504781 Closes-Bug: 1600196
* Merge "Add "--property" option to "snapshot create" command in volumev2"Jenkins2016-07-061-1/+9
|\
| * Add "--property" option to "snapshot create" command in volumev2Huanxuan Ao2016-07-061-1/+9
| | | | | | | | | | | | | | | | | | Add "--property" option to "snapshot create" command in volumev2 (v2 only) to support adding properties to a new snapshot. Change-Id: Ie0e90c9ccc2ac89b3b7b0ac89751fd864aada9a4 Closes-Bug: #1597192
* | Add '--force' option to 'backup delete' command in volumev2Huanxuan Ao2016-07-061-1/+7
|/ | | | | | | | | Add '--force' option to 'backup delete' command in volumev2 (v2 only) to allow delete in state other than error or available. Change-Id: I661ea0d465db227e374cbacdde0206fa1a6dd3d5 Closes-Bug: #1597188
* Remove useless dest of option in "snapshot create" commandHuanxuan Ao2016-07-041-1/+0
| | | | | | | | The option is '--force' and the default argument is 'force', so the 'dest=force' is useless and unnecessary. This patch remove it. Change-Id: If8fd5270e4e36b5361127f4a91bdf347f29341c2
* Add "--snapshot" option to "backup create" command in volumev2Huanxuan Ao2016-07-011-0/+10
| | | | | | | | Add "--snapshot" option to "backup create" command to support backing up a snapshot. Change-Id: Ibecbf1902599875f422d372d529835f73211d3ec Closes-Bug: #1597184
* Merge "Add "--force" option to "volume qos delete" command"Jenkins2016-06-282-2/+14
|\
| * Add "--force" option to "volume qos delete" commandHuanxuan Ao2016-06-282-2/+14
| | | | | | | | | | | | | | | | Add ``--force`` option to ``volume qos delete`` command in volume v1 and v2 to allow users to delete in-use QoS specification(s). Change-Id: I46036e5f55ced8b8a1be54c521f2a5c242b89160 Closes-Bug: #1596821
* | Merge "Make set/unset command in volume pass normally when nothing specified"Jenkins2016-06-281-3/+0
|\ \
| * | Make set/unset command in volume pass normally when nothing specifiedsunyajing2016-06-271-3/+0
| |/ | | | | | | Change-Id: Iac2d1b4ba9fa6358dc9317054af970eae8d49e84
* | Merge "Add "--force" option to "backup create" command in volumev2"Jenkins2016-06-281-1/+8
|\ \
| * | Add "--force" option to "backup create" command in volumev2Huanxuan Ao2016-06-271-1/+8
| |/ | | | | | | | | | | | | | | | | | | Cinder V2 API supports creating volume backup with "--force" option. However, OSC doesn't support this argument. So this patch add the "--force" option to allow users to back up a in-use volume. Change-Id: I326f8d6172b2830da4cf1317348af50142cc5490 Closes-Bug: #1596443
* | Change "ID only" to "name or ID" for backup commandsHuanxuan Ao2016-06-272-4/+4
|/ | | | | | | | Tested "find_resulce()" can find a backup by name or ID. But some help messages and doc were "ID only", this patch modify them. Change-Id: I22dcc3a0b40f2bafabb6d26498158e2468037312
* support multi-delete for volume-typeSteve Martinelli2016-06-202-12/+52
| | | | | | | | | Added the ability to delete multiple volume types at once. Note there are no unit tests exist for v1 volume-types, so instead a functional test was created. Partial-Bug: #1592906 Change-Id: I99f3f22901ab35252b91a3072b14de7d19cb17ca
* Merge "Standardize logger usage in volume"Jenkins2016-06-153-22/+31
|\
| * Standardize logger usage in volumeTang Chen2016-06-143-22/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | self.app.log is the logger in class OpenStackShell, which should be used to record logs that have nothing to do with any specific command. So, use the file logger instead. This patch also fixes some usage that doesn't follow rules in: http://docs.openstack.org/developer/oslo.i18n/guidelines.html 1. add variables to logger as an argument 2. do not wrap variables with str() Change-Id: I248861a38a4de0412a080046aa7a6f6473c3e082 Implements: blueprint log-usage
* | Fix foundation copyrightsDean Troyer2016-06-142-2/+2
|/ | | | | | | | The OpenStack LLC copyrights date from before OpenStack was transferred to the foundation. These appear to be getting copy-pasted to new files so at least should reflect the correct entity. Change-Id: I02953d752cb24ead6aa4ad8bfe257a48317c9f13
* osc-lib: commandDean Troyer2016-06-1314-14/+14
| | | | | | | Leave command.py and test_command.py as a sanity check during the deprecation period. Change-Id: I24e1b755cbfbcbcaeb5273ec0c9706b82384fc85
* osc-lib: parseractionsDean Troyer2016-06-138-8/+8
| | | | | | | Leave parseractions.py and test_parseractions.py as a sanity check during the deprecation period. Change-Id: I1a7469b6d872284e0276502a1a287bc0b87f8f83
* osc-lib: utilsDean Troyer2016-06-1315-15/+21
| | | | | | | | Use osc-lib directly for utils. Leave openstackclient.common.utils for deprecation period. Change-Id: I5bd9579abc4e07f45219ccd0565626e6667472f7
* osc-lib: exceptionsDean Troyer2016-06-131-1/+1
| | | | | | | | Use osc-lib directly for exceptions. Leave openstackclient.common.exceptions for deprecation period. Change-Id: Iea3e862302372e1b31ccd27f69db59b4953ca828
* Merge "Fix errors for "volume type unset" command"Jenkins2016-06-071-0/+1
|\
| * Fix errors for "volume type unset" commandHuanxuan Ao2016-06-061-0/+1
| | | | | | | | | | | | | | | | Normally, we can unset multi properties but the "volume type unset" command could not, because the action "append" was missed. So I add it and also fix the unit test and doc in this patch. Change-Id: I20470f2b7bb2a8d7f292cea498826669c3418c77
* | Merge "Make set/unset commands in volume return normally when nothing specified"Jenkins2016-06-068-44/+0
|\ \ | |/ |/|
| * Make set/unset commands in volume return normally when nothing specifiedTang Chen2016-06-048-44/+0
| | | | | | | | | | | | | | | | | | | | | | set/unset commands should ends up normally instead of logging an error when nothing is specified to modify. The main reason is: When nothing is specified, the command sets/unsets nothing, which is a normal behavior, and ends up normally. No API call fails. No error happens. Change-Id: Ib03a512650e5da90aa1ef38019772448383d0d33 Partial-bug: #1588588
* | Merge "Add support for volume transfer request list"Jenkins2016-06-042-0/+102
|\ \ | |/ |/|
| * Add support for volume transfer request listSheel Rana2016-06-042-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to list volume transfer from one user to other user. This patch will provide support for listning volume transfer requests. Closes-Bug:#1554886 Implements: bp cinder-command-support Change-Id: Ie659bc39cb1d1e931cca7a40b2f126a067ee484c
* | Modify the style of translated messagesJackie Yuan2016-06-031-2/+2
| | | | | | | | | | | | | | | | | | Translated messages should not be combined with orther literal strings to create partially translated message. Although this change is very small, but this is the only one in the directory VOLUME. Change-Id: If798aacde9d5d5e8ac2edd49e75099ec255c858e
* | Fix i18n support in cinderHuanxuan Ao2016-05-303-7/+7
| | | | | | | | | | | | | | | | I checked all the cinder files and found some small issues of i18n support.So I fix them. Change-Id: I2df06cb9db4643bd734105664d83299726f7b4e9 Partial-bug: #1574965
* | i18n support for leftover exception messages in volumeSheel Rana2016-05-271-1/+1
| | | | | | | | Change-Id: I7be168fc587cb717075095cf6e12db19b0884dda
* | i18n support for help and error messages in cinderSheel Rana2016-05-2313-223/+257
| | | | | | | | 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
* | Merge "Support for volume service list"Jenkins2016-04-282-0/+140
|\ \
| * | Support for volume service listSheel Rana2016-04-252-0/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to list volume services. This patch will provide support for adding volume service related support. Closes-bug:#1550999 Implements: bp cinder-command-support Change-Id: I50ac14aeb96c4b8ddbf7b33e519feea0d126f752
* | | Add support for removing volume-type-accessSheel Rana2016-04-161-3/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to remove volume type access to project. This feature will provide support to remove volume type access from project. Closes-Bug:#1554890 Implements: bp cinder-command-support Change-Id: I029a4292da05f028e8937962cb845ec6e00b0279
* | | Merge "use correct manager for volume snapshots"Jenkins2016-04-141-1/+1
|\ \ \
| * | | use correct manager for volume snapshotsSteve Martinelli2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the snapshot manager is volume_snapshots, not snapshots. Closes-Bug: #1567895 Change-Id: I12c0238fc04507c97e92089fda3bec816171a973
* | | | Trivial: Fix incorrect comment textTang Chen2016-04-143-3/+3
| | | | | | | | | | | | | | | | Change-Id: Ia6ec15f11a535a8de5769569d75e81094caed171
* | | | Merge "Doc: Unify repeatable option comments"Jenkins2016-04-132-2/+2
|\ \ \ \
| * | | | Doc: Unify repeatable option commentsTang Chen2016-04-122-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Add support for setting volume-type-access"Jenkins2016-04-121-6/+48
|\ \ \ \ | |/ / / |/| | |
| * | | Add support for setting volume-type-accessSheel Rana2016-04-111-6/+48
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to set volume type access to project. This patch will provide support for adding volume type access to existing project. Closes-Bug:#1554889 Implements: bp cinder-command-support Change-Id: Ie36e202bdde7de36eb263a476eb66699d82f7565
* | | Merge "Make snapshot and backup name optional"Jenkins2016-04-074-4/+0
|\ \ \ | |/ / |/| |