summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorRichard Theis <rtheis@us.ibm.com>2016-01-14 08:22:09 -0600
committerRichard Theis <rtheis@us.ibm.com>2016-01-14 15:47:19 -0600
commita8ec2ac49475c60c8e72a0fc3db6df778918bb49 (patch)
treee5442a3e59f28f7672b1253813aba64fc55163a5 /doc/source
parent84174440fc9fd4679f3a72d24ed50f0b1927b91d (diff)
downloadpython-openstackclient-a8ec2ac49475c60c8e72a0fc3db6df778918bb49.tar.gz
Support listing volume availability zones
Update the "os availability zone list" command to support listing volume availability zones along with the currently listed compute availability zones. This adds a --compute and --volume option to the command in order to select the availability zones to list. By default, all availability zones are listed. If the Block Storage API does not support listing availability zones then an warning message will be issued. Change-Id: I8159509a41bd1fb1b4e77fdbb512cf64a5ac11a9 Closes-Bug: #1532945
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/command-objects/availability-zone.rst12
-rw-r--r--doc/source/commands.rst2
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/source/command-objects/availability-zone.rst b/doc/source/command-objects/availability-zone.rst
index 37435230..8c021529 100644
--- a/doc/source/command-objects/availability-zone.rst
+++ b/doc/source/command-objects/availability-zone.rst
@@ -2,7 +2,7 @@
availability zone
=================
-Compute v2
+Compute v2, Block Storage v2
availability zone list
----------------------
@@ -13,8 +13,18 @@ List availability zones and their status
.. code:: bash
os availability zone list
+ [--compute]
+ [--volume]
[--long]
+.. option:: --compute
+
+ List compute availability zones
+
+.. option:: --volume
+
+ List volume availability zones
+
.. option:: --long
List additional fields in output
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index 621a0a90..5427b27e 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -70,7 +70,7 @@ the API resources will be merged, as in the ``quota`` object that has options
referring to both Compute and Volume quotas.
* ``access token``: (**Identity**) long-lived OAuth-based token
-* ``availability zone``: (**Compute**) a logical partition of hosts or block storage services
+* ``availability zone``: (**Compute**, **Volume**) a logical partition of hosts or block storage services
* ``aggregate``: (**Compute**) a grouping of servers
* ``backup``: (**Volume**) a volume copy
* ``catalog``: (**Identity**) service catalog