diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-12-31 02:54:36 -0500 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-12-31 02:54:36 -0500 |
| commit | caef59a4a8bd49d785f60d035fd02e3fc06c8252 (patch) | |
| tree | 8d80a65ef50f2cb562c92caac9c4ff7ea9361f48 | |
| parent | 3c28436268cf362d4cc4f65317d619760b21b701 (diff) | |
| download | python-openstackclient-caef59a4a8bd49d785f60d035fd02e3fc06c8252.tar.gz | |
Add docs for listing availability zones
Change-Id: I4c005e1d8089b46feca6cd3266f63c408648f074
| -rw-r--r-- | doc/source/command-objects/availability_zone.rst | 20 | ||||
| -rw-r--r-- | doc/source/commands.rst | 1 | ||||
| -rw-r--r-- | openstackclient/compute/v2/availability_zone.py | 2 |
3 files changed, 22 insertions, 1 deletions
diff --git a/doc/source/command-objects/availability_zone.rst b/doc/source/command-objects/availability_zone.rst new file mode 100644 index 00000000..37435230 --- /dev/null +++ b/doc/source/command-objects/availability_zone.rst @@ -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 diff --git a/doc/source/commands.rst b/doc/source/commands.rst index 04c451c8..50c72f63 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -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 diff --git a/openstackclient/compute/v2/availability_zone.py b/openstackclient/compute/v2/availability_zone.py index c7c92414..648c0ee4 100644 --- a/openstackclient/compute/v2/availability_zone.py +++ b/openstackclient/compute/v2/availability_zone.py @@ -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') |
