diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2015-01-21 15:02:58 -0600 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2015-01-27 19:17:35 -0600 |
| commit | 61a40343fdbb89a1c6404ab03fcfd84daee31c9e (patch) | |
| tree | 8b34e7f8ba5d26a911023cc447308c21e7dcd612 /openstackclient/api/image_v1.py | |
| parent | 2c03f6f42fc17ca145e527cc87a7c2e7043e32c7 (diff) | |
| download | python-openstackclient-61a40343fdbb89a1c6404ab03fcfd84daee31c9e.tar.gz | |
Add filter to image list
* 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
Diffstat (limited to 'openstackclient/api/image_v1.py')
| -rw-r--r-- | openstackclient/api/image_v1.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/openstackclient/api/image_v1.py b/openstackclient/api/image_v1.py index f9c780a4..c363ce49 100644 --- a/openstackclient/api/image_v1.py +++ b/openstackclient/api/image_v1.py @@ -49,8 +49,6 @@ class APIv1(api.BaseAPI): http://docs.openstack.org/api/openstack-image-service/1.1/content/requesting-a-list-of-public-vm-images.html http://docs.openstack.org/api/openstack-image-service/1.1/content/requesting-detailed-metadata-on-public-vm-images.html http://docs.openstack.org/api/openstack-image-service/1.1/content/filtering-images-returned-via-get-images-and-get-imagesdetail.html - - TODO(dtroyer): Implement filtering """ url = "/images" |
