summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v1/volume.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Tweak volume commands and add k=v argparse actionDean Troyer2013-05-241-45/+62
| | | | | | | | | | | Basic cleanups: * change metadata to property * add new KeyValueAction to parse the property options * multiple properties can be set using multiple --property args * consistent formatting * do lookups for volume args Change-Id: Ib6c43f01ad46b395aee8c61e886f42e2a5f5573e
* Rename all instances of 'metadata' to 'property'.Josh Kearney2013-05-071-4/+4
| | | | Change-Id: I454cbe685dc5afa0a09ecc976a90d6eb6bc57d14
* Add metadata support for volumeSteve Martinelli2013-03-221-7/+81
| | | | | | | | | | | | Now able to pass metadata to the create method, as well as update it with set, and remove it with unset. I'm currently passing it as an optional param like the following: --meta-data=key1=value1 which seems weird, what about --meta-data=key1:value1 I'd have to update type too if that is the case. Change-Id: I0fc8398768da015c1f53c5c564c68a2cfb53e778
* Add optional arguments to volume list commandSteve Martinelli2013-03-111-2/+32
| | | | | | Added --name, --all-tenants, and --status as search params Change-Id: Ibaa2a7f6862c2ff7dbe24f6bea971db3e70bc120
* Add force-delete option for volumesSteve Martinelli2013-03-091-2/+12
| | | | | | | | | Again, looking thorouhgly through cinders commands, i noticed an force-delete command, which was for volumes only. Decided it would work best as an optional argument for the regular delete case Change-Id: I9de6040ea0ad71c2a9c8edc7be18779d39e7ede0
* Add volume support for openstack clientSteve Martinelli2013-03-071-0/+216
fix with dtroyer's comments rebase fix with dhellmann's comments create/list/delete/show/set for volume commands Change-Id: Id8236685d815dbf73873bab2363d82274a9aa556