summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2015-01-21 15:02:58 -0600
committerDean Troyer <dtroyer@gmail.com>2015-01-27 19:17:35 -0600
commit61a40343fdbb89a1c6404ab03fcfd84daee31c9e (patch)
tree8b34e7f8ba5d26a911023cc447308c21e7dcd612 /doc/source
parent2c03f6f42fc17ca145e527cc87a7c2e7043e32c7 (diff)
downloadpython-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 'doc/source')
-rw-r--r--doc/source/command-objects/image.rst18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 63b55b89..bc38429d 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -138,14 +138,10 @@ List available images
.. code:: bash
os image list
- [--page-size <size>]
- [--public|--private]
+ [--public | --private | --shared]
+ [--property <key=value>]
[--long]
-.. option:: --page-size <size>
-
- Number of images to request in each paginated request
-
.. option:: --public
List only public images
@@ -154,6 +150,16 @@ List available images
List only private images
+.. option:: --shared
+
+ List only shared images
+
+ *Image version 2 only.*
+
+.. option:: --property <key=value>
+
+ Filter output based on property
+
.. option:: --long
List additional fields in output