Merge "Add docs for listing availability zones"

This commit is contained in:
Jenkins
2014-12-31 16:43:18 +00:00
committed by Gerrit Code Review
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
=================
availability zone
=================
Compute v2
availability zone list
----------------------
List availability zones and their status
.. program availability zone list
.. code:: bash
os availability zone list
[--long]
.. option:: --long
List additional fields in output

View File

@@ -70,6 +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 volume services
* ``aggregate``: (**Compute**) a grouping of servers
* ``backup``: Volume - a volume copy
* ``catalog``: (**Identity**) service catalog

View File

@@ -59,7 +59,7 @@ def _xform_availability_zone(az, include_extra):
class ListAvailabilityZone(lister.Lister):
"""List Availability Zones and their status"""
"""List availability zones and their status"""
log = logging.getLogger(__name__ + '.ListAvailabilityZone')