summaryrefslogtreecommitdiff
path: root/openstackclient/volume
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add list feature to volume v2heha2015-08-061-0/+109
| | | | | | | | | | | | | | | | | | | | "volume list" is not in the v2. Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> implements bp: volume-v2 Change-Id: I9f4585202f5f9ec5f4c091278fc6c4036efb1290
* | Merge "Add support for volume v2 commands"Jenkins2015-07-251-0/+235
|\ \
| * | Add support for volume v2 commandsAmey Bhide2015-07-241-0/+235
| |/ | | | | | | | | | | | | | | | | | | Adds the following commands: openstack volume create openstack volume set openstack volume unset Implements: blueprint volume-v2 Change-Id: Icb7404815763aa88550112fb42f5200ce05c2486
* | Merge "Do not set default versions in parsed args"Jenkins2015-07-241-5/+3
|\ \ | |/ |/|
| * Do not set default versions in parsed argsTerryHowe2015-07-181-5/+3
| | | | | | | | | | | | | | | | | | | | | | Setting default versions in parsed args makes it so OCC cannot tell if the argument was parsed, an environment variable was set or it is just defaulted. In order to set api versions from OCC, it will have to be defaulted after processing OCC. Closes-Bug: #1453229 Change-Id: I4d065919397b783f3bdd4022c986c0234a7a16e6
* | Merge "Add create and list for volume type v2"Jenkins2015-07-201-0/+97
|\ \
| * | Add create and list for volume type v2chengkunye2015-07-201-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | Volume API v2 is missing create and list features. implements bp: volume-v2 Change-Id: I34a1ae440e9620b1c65546f4f43b369c8661250d
* | | Merge "Format volume type properties when showing"Jenkins2015-07-201-0/+2
|\ \ \ | |/ / |/| |
| * | Format volume type properties when showingSteve Martinelli2015-07-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Currently, the properties of a volume type are unformatted. Use the formatter to keep things consistent with the way properties are represented in OSC. Change-Id: I81c6bd3fdbc30568c269e501c740473b2a1ffb4e
* | | Rename type.py to volume_type.pySteve Martinelli2015-07-191-0/+0
|/ / | | | | | | | | | | | | | | For Volume V1, we have a type.py file which should be renamed to volume_type.py (as it's named for V2). Change-Id: If860bbafe4a801d8b4fa06938eef20658c4fcc2c Closes-Bug: 1475958
* | Merge "Add volume type show for volume v1"Jenkins2015-07-191-0/+24
|\ \
| * | Add volume type show for volume v1jiaxi2015-07-191-0/+24
| |/ | | | | | | | | | | | | volume type show is missing for volume V1 API. Closes-Bug: #1475879 Change-Id: Ic8a0845ecec04146d536412463175f57ef6511ae
* | --property should be required in `os unset` commandsjiaxi2015-07-193-0/+3
|/ | | | | | | | | | | | | | The three commands below openstack volume unset openstack snapshot unset openstack volume type unset Should have --property as a required argument, not optional. The reason is the command will not work without --property. Closes-Bug: #1475872 Change-Id: Ib9e29392472db38982cc2817af2dd5055f5a01ca
* Support multiple volume qos deleteTerryHowe2015-07-172-76/+74
| | | | | | | Also make sure that we are using the singular qos_spec when we should and the plural qos_specs otherwise. Change-Id: If4bbeb6fc245d7d80dc3d7dccfe9f949e802653c
* Rename endpoint type to interfaceTerryHowe2015-07-151-3/+2
| | | | | Change-Id: I4e21d09bc747e8210f4f79a1d6c4c7ccf2f25d1c Closes-Bug: #1454392
* Merge "Add --os-endpoint-type cli optional argument"Jenkins2015-07-031-0/+5
|\
| * Add --os-endpoint-type cli optional argumentRoxana Gherle2015-07-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | User should be able to specify the endpoint type through a CLI optional argument/ENV variable setting. We will name this new optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and based on the value given, the service API will use that specific endpoint type. Possible values: public, admin, internal. DocImpact Closes-Bug: #1454392 Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
* | Merge "Add support for volume API v2 QoS commands"Jenkins2015-06-301-0/+303
|\ \
| * | Add support for volume API v2 QoS commandsDavid Moreau Simard2015-06-291-0/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: volume qos associate volume qos create volume qos delete volume qos disassociate volume qos list volume qos set volume qos show volume qos unset Change-Id: If3c679557ac9abb0dfc75d290b96fb9c8d46c7b7 Partial-Bug: #1467967
* | | No need for get_parser on QoS listSteve Martinelli2015-06-281-4/+0
| | | | | | | | | | | | | | | | | | | | | There are no arguments so there's no need to define the get_parser function. Change-Id: Icfa8accf6dbb7f8d1a0472926403b405da3cc611
* | | Alphabetize QoS specsSteve Martinelli2015-06-281-104/+104
| | | | | | | | | | | | | | | | | | | | | | | | setup.cfg and the implementation had some functions that were not in alphabetical order. Since the rest of OSC is alphabetized, let's stick to that. Change-Id: Ief5d4694c7b6bc20a0898437b96305885104d45c
* | | Add support for volume API v1 QoS commandsDavid Moreau Simard2015-06-261-0/+307
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: volume qos associate volume qos create volume qos delete volume qos disassociate volume qos list volume qos set volume qos show volume qos unset Change-Id: I72ea1b9a4d0bd0e35eda03071ea438b75439fce9 Partial-Bug: #1467967
* | Merge "Add support for volume backup v2 command"Jenkins2015-06-181-0/+132
|\ \
| * | Add support for volume backup v2 commandAmey Bhide2015-06-041-0/+132
| |/ | | | | | | | | | | | | | | | | openstack backup create openstack backup list openstack backup restore Implements: blueprint volume-v2 Change-Id: I77965730065dd44f256c46bcc43c1e6a03b63145
* | 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-306-1/+294
| | | | | | | | | | | | | | | 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
* Adds support for container selection for backupDag Stenstad2015-04-211-1/+1
| | | | | | | | | | | | Changed argument from parsed_args.volume to parsed_args.container as per what is expected in python-cinderclient. If not defined, defaults to "backup_swift_container" in cinder.conf. Stops there being a container for every volume you take backups off. Change-Id: I4a34894222f71b0f207d007c32427040589406aa Closes-Bug: 1446751
* Defer client importsDean Troyer2015-04-151-9/+11
| | | | | | | | | | | | So we really weren't deferring the loading of client libs dadgummit, do that for real where possible. This shaves a couple of tenths off the static import times. Also defer as much import-time procesing as possible. This is a little ugly in api.auth but this also eliminates import of the auth plugins until they are needed. Change-Id: Ia11d4b9cf98231d37449103fc29101dc17afb009
* Change volume create --snapshot-id to --snapshotlin-hua-cheng2015-02-061-3/+12
| | | | | | | Keeping the option --snapshot-id hidden for backward compatibility. Change-Id: Iefa0aed9be255a5626a9bbb7db77911ef5ca8595 Closes-Bug: #1418742
* Check volume status before extending sizelin-hua-cheng2015-02-061-0/+5
| | | | | | | Added test for Volume Set as well. Change-Id: I8e6794f67b160ca328fcafa8f1d67138b4f3becd Closes-Bug: #1415182
* Add the ability to extend volumes in `osc volume set`Steve Martinelli2015-01-271-1/+14
| | | | | | | | Create a --size option for volume set, so the user may extend a volume's size. Change-Id: Ic8d3396d788a14ea1e10bf1da73edfd7f5d85070 Closes-Bug: #1413954
* Add region name for identity and volume clientsSteve Martinelli2015-01-211-0/+1
| | | | | | | | | We do not take into account region names for identity and volume clients. Change-Id: I4263e9013226b0adc6b9ad7540d6ad3efb42e809 Co-Authored-By: Eric Helgeson <erichelgeson@gmail.com> Related-Bug: #1405416
* Merge "Command doc: snapshot"Jenkins2015-01-091-11/+11
|\
| * Command doc: snapshotSteve Martinelli2015-01-091-11/+11
| | | | | | | | Change-Id: Ibe5cd0a8422788762e0c52b702b7bd54e6a46813
* | Merge "Fix up snapshot command"Jenkins2015-01-091-14/+115
|\ \ | |/
| * Fix up snapshot commandSteve Martinelli2015-01-091-14/+115
| | | | | | | | | | | | | | | | | | | | | | Several issues with the current snapshot command were resolved: * --long for list was added to include volume id/name, and properties * changed output from metadata to properties * added new option to set properties with 'snapshot set' * added new command to unset properties with 'snapshot unset' Change-Id: I5902cfe876cefada701d4d658a50a4282ff300d6
* | Merge "Command doc: backup"Jenkins2015-01-081-11/+11
|\ \ | |/
| * Command doc: backupSteve Martinelli2015-01-081-11/+11
| | | | | | | | Change-Id: Iecd4dbddea637bd6540d94b37253a9ba434c9db3
* | Merge "Fixup backup list output"Jenkins2015-01-081-9/+45
|\ \ | |/
| * Fixup backup list outputSteve Martinelli2015-01-081-9/+45
| | | | | | | | | | | | | | | | Name and Description were not appearing at all, and we didn't have a --long alternative, which had a bunch of useful information. Closes-Bug: #1408585 Change-Id: I7ca42a8d23ad60f6b9cc862799cb08a3e491b6e8
* | Command docs: volumeSteve Martinelli2015-01-071-22/+23
| | | | | | | | Change-Id: Id1e500d5fb19ffdeb0d1bde9e22c3143c0873d0c
* | Command doc: volume typeSteve Martinelli2015-01-051-7/+7
|/ | | | Change-Id: I7e36daa027639d6a782043d4181c1b328335975a
* Merge "Properly format 'attached to' column list when listing volumes"Jenkins2014-12-301-6/+35
|\
| * Properly format 'attached to' column list when listing volumesSteve Martinelli2014-12-221-6/+35
| | | | | | | | | | | | | | | | | | Previously, no data was being returned for the 'attached to' field when listing volumes. Dig into the the returned array to format the column. Change-Id: Iebd79e5ddcb4a335703d9b2675aa7128995de918 Closes-Bug: #1404931
* | add multi-delete support for compute/image/net/volumewanghong2014-12-233-22/+28
|/ | | | | | | | | | | | | | This is part1, add support for these objects: compute.server imagev1.image imagev2.image network.network volume.volume volume.backup volume.snapshot Closes-Bug: #1400597 Change-Id: Ice21fee85203a8a55417e0ead8b509b8fd6705c1
* Fix volume create --imageDean Troyer2014-11-181-3/+15
| | | | | | | 'volume create --image' should allow an image name to be used. Closes-Bug: #1383333 Change-Id: I996d46db321eef2d75c3d19b480319f8a78c09b3
* Remove now-unnecessary client creation hacksDean Troyer2014-10-181-18/+2
| | | | | | | | | | | | | | | | | | | | Clients that can use ksc Session don't need the old junk to fake auth anymore: * compute * volume Clients that still need to be fed credentials can pick directly from the auth object in clientmanager. The _token attribute is removed, the token can be retrieved from the auth object: openstackclient/tests/common/test_clientmanager.py This change will break any plugin that relies on getting a token from instance._token. They should be updated to use the above, or preferable, to use keystoneclient.session.Session to create its HTTP interface object. Change-Id: I877a29de97a42f85f12a14c274fc003e6fba5135
* Fix operation on clouds with availability-zonesMonty Taylor2014-10-111-1/+1
| | | | | | | | | In a cloud with AZs, you can get multiple entries back from the service catalog - one for each AZ and then one that is AZ agnostic that's tied to the region. If the region_name is plumbed all the way through, this works as intended. Change-Id: I3b365ea306e8111fc80830672ae8080a5d1dc8e0
* Merge "Normalize more help strings"Jenkins2014-07-241-11/+11
|\
| * Normalize more help stringsDean Troyer2014-07-241-11/+11
| | | | | | | | Change-Id: I2b21bc904e35c1cc50da369d148e607fe3e8cf90