summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/volume.rst
diff options
context:
space:
mode:
authorkafka <guowang@unitedstack.com>2015-08-12 12:22:41 +0800
committerSteve Martinelli <stevemar@ca.ibm.com>2015-10-15 15:51:01 -0400
commit9f51ccdf8c2b2e1afceeb9e6570ed629191a71c8 (patch)
treeede66e336077371079516deb9b3ae81e01d832e9 /doc/source/command-objects/volume.rst
parentb60a9492a31bb1130338176e4b90a7572c10edc3 (diff)
downloadpython-openstackclient-9f51ccdf8c2b2e1afceeb9e6570ed629191a71c8.tar.gz
Add filtering by project/user for 'openstack volume list'
added project, user and domain options for filtering results, also cleaned up the order to match the docs. Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closed-bug: #1483976 Change-Id: I9d955094d31d4a28e215d24f7521a11c62bee8db
Diffstat (limited to 'doc/source/command-objects/volume.rst')
-rw-r--r--doc/source/command-objects/volume.rst30
1 files changed, 24 insertions, 6 deletions
diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst
index 556d1645..c94cbd23 100644
--- a/doc/source/command-objects/volume.rst
+++ b/doc/source/command-objects/volume.rst
@@ -102,22 +102,40 @@ List volumes
.. code:: bash
os volume list
- [--status <status>]
- [--name <name>]
[--all-projects]
+ [--project <project> [--project-domain <project-domain>]]
+ [--user <user> [--user-domain <user-domain>]]
+ [--name <name>]
+ [--status <status>]
[--long]
-.. option:: --status <status>
+.. option:: --all-projects
- Filter results by status
+.. option:: --project <project>
+
+ Filter results by project (name or ID) (admin only)
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+.. option:: --user <user>
+
+ Filter results by user (name or ID) (admin only)
+
+.. option:: --user-domain <user-domain>
+
+ Domain the user belongs to (name or ID).
+ This can be used in case collisions between user names exist.
.. option:: --name <name>
Filter results by name
-.. option:: --all-projects
+.. option:: --status <status>
- Include all projects (admin only)
+ Filter results by status
.. option:: --long