Skip to content

Commit e62ea50

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add docs for listing availability zones"
2 parents 377fd0b + caef59a commit e62ea50

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
=================
2+
availability zone
3+
=================
4+
5+
Compute v2
6+
7+
availability zone list
8+
----------------------
9+
10+
List availability zones and their status
11+
12+
.. program availability zone list
13+
.. code:: bash
14+
15+
os availability zone list
16+
[--long]
17+
18+
.. option:: --long
19+
20+
List additional fields in output

doc/source/commands.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ the API resources will be merged, as in the ``quota`` object that has options
7070
referring to both Compute and Volume quotas.
7171

7272
* ``access token``: Identity - long-lived OAuth-based token
73+
* ``availability zone``: (**Compute**) a logical partition of hosts or volume services
7374
* ``aggregate``: (**Compute**) a grouping of servers
7475
* ``backup``: Volume - a volume copy
7576
* ``catalog``: (**Identity**) service catalog

openstackclient/compute/v2/availability_zone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _xform_availability_zone(az, include_extra):
5959

6060

6161
class ListAvailabilityZone(lister.Lister):
62-
"""List Availability Zones and their status"""
62+
"""List availability zones and their status"""
6363

6464
log = logging.getLogger(__name__ + '.ListAvailabilityZone')
6565

0 commit comments

Comments
 (0)