summaryrefslogtreecommitdiff
path: root/openstackclient/image/v2
Commit message (Collapse)AuthorAgeFilesLines
* Add support for v2 image set commandAmey Bhide2015-05-271-0/+137
| | | | | Partial-Bug: #1405562 Change-Id: Ie30802d720a247748c45099c38450cc6c76bbc2a
* Minor fix to openstack image show commandAmey Bhide2015-05-011-1/+1
| | | | | | | | | | image show using V2 api was failing. openstack --os-image-api-version 2 image show <image_id> ERROR: openstack _info Closes-Bug: #1450829 Change-Id: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c
* Fix tiny typo in comment messageLin Yang2015-04-301-1/+1
| | | | | | | compatability => compatibility Change-Id: I3181fb2b83df1e2cb60a9eedf319f2ad0a487dba Signed-off-by: Lin Yang <lin.a.yang@intel.com>
* Handle the pagination for image listTerryHowe2015-04-201-1/+11
| | | | | | | Handle the paginatiion for image list. We were sorting the data here, so nothing lost for the generator. Change-Id: I2d7d4b3d5c9f650953f309c971ac53b64f6f7f77
* Add sort support to image listzhiyuan_cai2015-02-061-0/+10
| | | | | | | | | | Add sort support to image list by sorting items in the client side. The parameter syntax follows this spec[1]. [1] https://review.openstack.org/#/c/145544/ Change-Id: I42b487d18f00f937db1938daa46487cea2a896ab Closes-Bug: #1410251
* Add filter to image listDean Troyer2015-01-271-11/+70
| | | | | | | | | | | | | | | * Hides previously broken --page-size option * Adds --property to image list for filtering on properties * Adds Visibility, Protected, Owner, Properties/Tags to --long output * Adds api.utils.simple_filter() for selecting matches out of a list of objects * Adds tests for all of the above * Updates image docs There are additional filtering options to be added in later reviews. Change-Id: I32feff0ad61aae749b33621c817658d7dc90c3aa Closes-bug: 1401902
* Begin low-level API for Image v1 and v2Dean Troyer2015-01-201-2/+23
| | | | | | | | | image list for v1 and v2: * Add --public|--private to command parsers * Implement local public/private filtering for v1 image_list() * Pass public/private filter to server for v2 image_list() Change-Id: Ie7c24ea2d1bf2b3b1b7fa342eb45fee45894634d
* Command doc: imageSteve Martinelli2015-01-091-4/+4
| | | | Change-Id: Ib1563b58351315dc2a44ad77882f8c834a1214c0
* add multi-delete support for compute/image/net/volumewanghong2014-12-231-8/+10
| | | | | | | | | | | | | | 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
* Change help text for image save commandSteve Martinelli2014-09-211-1/+1
| | | | | Change-Id: Ib2aecb68ffa06f9ac831131944c98c49cf99c75a Closes-Bug: #1372070
* Merge "Add more columns to image list output"Jenkins2014-07-261-1/+11
|\
| * Add more columns to image list outputSteve Martinelli2014-07-251-1/+11
| | | | | | | | | | | | | | | | Add disk_format, container_format, size and status to image list command. Added tests as well. Change-Id: I8e3822c6d46d0020fc706955c026549f6c635587 Closes-Bug: #1348475
* | Change V2 image tests to actually run V2 image codeSteve Martinelli2014-07-251-1/+1
|/ | | | | | | | | | The current tests for image do not run v2 image code, changing that portion also made it's only test fail. I opted to change the image delete code and not the test, since passing the object ID is more in line with the rest of the project code. Change-Id: I62e13c063a5d68279dbbf31e59266db6285d73bf
* replace string format arguments with function parametersChristian Berendt2014-05-201-4/+4
| | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* Remove copyright from empty filesAlexander Ignatov2014-01-201-14/+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
* Complete Image v1Dean Troyer2013-07-181-24/+41
| | | | | | | | | * 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-121-4/+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
* Adds image `create` and `delete` functionality.Josh Kearney2013-04-231-1/+22
| | | | | | | | | 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
* 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-242-1/+15
|/ | | | Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
* Adds Glance API v2 support.Josh Kearney2013-01-162-0/+109
Change-Id: Ib0325e62a7e50aa94e852a73f9a2cb95daa8d5f6