[DOC] Add availability zone docs for users

Change-Id: I8ded9f679b91f7641d1b3c2330f2b8d00592e21a
This commit is contained in:
Zhenguo Niu 2017-09-13 10:24:11 +08:00
parent f26a5e6b3a
commit 2756cc316f
2 changed files with 31 additions and 0 deletions

View File

@ -58,6 +58,7 @@ User Guide
:maxdepth: 1
user/states
user/availability-zones
user/root-disk-partitions

View File

@ -0,0 +1,30 @@
====================================================
Select availability zones where servers are launched
====================================================
You can select which availability zone servers are launched on.
#. To select the availabiilty zone where servers are launched, use the
``--availability-zone ZONE`` parameter on the :command:`openstack
baremetalcompute server create` command.
For example:
.. code-block:: console
$ openstack baremetalcompute server create --image IMAGE --flavor m1.tiny \
--key-name KEY --availability-zone ZONE --nic net-id=UUID \
--partition ephemeral_gb=500 SERVER
#. To view the list of valid zones, use the :command:`openstack baremetalcompute
availability zone list` command.
.. code-block:: console
$ openstack baremetalcompute availability zone list
+-----------+
| Zone Name |
+-----------+
| zone1 |
| zone2 |
+-----------+