summaryrefslogtreecommitdiff
path: root/openstackclient/image
Commit message (Collapse)AuthorAgeFilesLines
* Image create and set command updates and testsDean Troyer2014-06-161-135/+187
| | | | | | | | | | | | | Refactor image create and set commands to properly handle properties. This is particularly tricky with exclusive booleans as in this case leaving both choices off the command line should NOT assume a default value but leave the existing value unchanged. Properties were not being updated correctly in the 'image set' command. Refactor it to use the same pattern as in other SetXxx commands. Add tests for arg handling. Change-Id: I123a64c9b4feecab25a3e2013cc047f55b1c9967
* replace string format arguments with function parametersChristian Berendt2014-05-202-10/+10
| | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* Add --volume option to image create commandTerry Howe2014-03-051-16/+43
| | | | | | | | | | | Add ability to create an image from a volume. * Added --volume command to image create * Added --force option to image create * Added block to access volume manager in image create * Tests added for the volume option Change-Id: I3910a2b5e04acd0d15dd230747ba6ebca07aa316 Closes-Bug: #1207615
* Merge "Glance client no longer isa http client"Jenkins2014-02-201-1/+1
|\
| * Glance client no longer isa http clientTerry Howe2014-02-071-1/+1
| | | | | | | | | | | | | | If the client has-a http_client, then is must not be an is-a. This has been tested with the current version of glanceclient and the master branch. Closes-Bug: #1269821 Change-Id: I14d67eb094bfb4c2dbc07106343488298b6a9409
* | Remove copyright from empty filesAlexander Ignatov2014-01-203-42/+0
|/ | | | | | | | | According to policy change in HACKING: http://docs.openstack.org/developer/hacking/#openstack-licensing empty files should no longer contain copyright notices. Change-Id: Iba09a00f24dfbd1cd03c1c9f70ea216788e64d93 Closes-Bug: #1262424
* Merge "Fix image set properties error"Jenkins2014-01-101-0/+1
|\
| * Fix image set properties errorDean Troyer2014-01-061-0/+1
| | | | | | | | Change-Id: Ia290935c8a040221caf1a46ca29a7bb2e5df1ce6
* | Fix errant underscoresDean Troyer2014-01-091-9/+9
|/ | | | Change-Id: I71b8c8df14b85e3042220e3593a9732ee6cefe15
* Expand support for command extensionsDean Troyer2013-11-211-0/+16
| | | | | | | | | | | | Allows client libraries to have complete access to the rest of the OSC ClientManager. In addition, extension libraries can define global options (for API version options/env vars) and define versioned API entry points similar to the in-repo commands. The changes to ClientManager exposed some issues in the existing object api tests that needed to be cleaned up. Change-Id: Ic9662edf34c5dd130a2f1a69d2454adefc1f8a95
* Complete basic test infrastructureDean Troyer2013-11-181-1/+1
| | | | | | | This finally gets all of the API tests into a common framework regarding test classes and so forth. Change-Id: If675347129c50dcba0bfc5b6c58f5a2ca57ff46c
* Add options to support TLS certificate verificationDean Troyer2013-10-071-1/+6
| | | | | | | | | | Add --os-cacert and --verify|--insecure options using the same sematics as the other project CLIs. --verify is included for completeness. Bug: 1236608 Change-Id: I8a116d790db5aa4cb17a2207efedce7cb229eba3
* Remove tenant round 3 - other commandsDean Troyer2013-07-311-4/+4
| | | | | | | Mostly options and help strings: * image, server, project usage, volume Change-Id: I788b0660f8c2daacde53c20a72dd1afc60cf5159
* Complete Image v1Dean Troyer2013-07-183-57/+375
| | | | | | | | | * Add v1 versions of image delete, list, save, set, show * Change default Image API to v1 Rebased for https://review.openstack.org/#/c/36772/ Change-Id: Ie2bfe660aac8a0fcf651c67fd1ea4842e76ce377
* Remove api = apiName calls from each methodSteve Martinelli2013-07-122-5/+0
| | | | | | | | | | | As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
* Rename all instances of 'metadata' to 'property'.Josh Kearney2013-05-071-4/+4
| | | | Change-Id: I454cbe685dc5afa0a09ecc976a90d6eb6bc57d14
* Adds image `create` and `delete` functionality.Josh Kearney2013-04-234-2/+193
| | | | | | | | | We use the V1 API for `create` since it does not yet exist in the V2 API in glanceclient. For blueprint glance-client. Change-Id: Ifa819c14f6a013f4530d16247a671e5a1c740a28
* Correct the version mapping to image service.Josh Kearney2013-02-191-2/+2
| | | | | | This was preventing image support from being activated. Change-Id: I1b7ab9174b90c55423b244ca63402d33b4411a49
* Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.Josh Kearney2013-01-311-2/+1
| | | | | | | | Made all the necessary changes to pass new PEP8 standards. Also cleaned up docstrings to conform to the HACKING stanards. Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
* Merge "Use the cliff framework's ShowOne as intended for `show image`."Jenkins2013-01-281-18/+15
|\
| * Use the cliff framework's ShowOne as intended for `show image`.Josh Kearney2013-01-241-18/+15
| | | | | | | | | | | | | | Also reformat code to follow newer PEP8 version. Full cleanup and PEP8 version bump coming in later patch. Change-Id: Ida3dd9a89660b9c4a91449846dd2d6e223ef187a
* | Standardize on a copyright header and ensure all files have them.Josh Kearney2013-01-244-2/+30
|/ | | | Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
* Adds Glance API v2 support.Josh Kearney2013-01-163-0/+150
| | | | Change-Id: Ib0325e62a7e50aa94e852a73f9a2cb95daa8d5f6
* Add openstackclient bitsDean Troyer2012-04-191-0/+0