[admin-guide] Update the "cinder create" to "openstack"
Change-Id: I2275924359fd0653b17e0356f83faee828f2ed0e Implements: blueprint use-openstack-command
This commit is contained in:
parent
c278492dc7
commit
82277d7832
doc/admin-guide/source
@ -123,6 +123,12 @@ consistency group snapshot:
|
|||||||
|
|
||||||
The details of consistency group operations are shown in the following.
|
The details of consistency group operations are shown in the following.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Currently, no OpenStack client command is available to run in
|
||||||
|
place of the cinder consistency group creation commands. Use the
|
||||||
|
cinder commands detailed in the following examples.
|
||||||
|
|
||||||
**Create a consistency group**:
|
**Create a consistency group**:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
@ -195,11 +201,11 @@ The details of consistency group operations are shown in the following.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --volume-type volume_type_1 --name cgBronzeVol\
|
$ openstack volume create --type volume_type_1 --consistency-group \
|
||||||
--consisgroup-id 1de80c27-3b2f-47a6-91a7-e867cbe36462 1
|
1de80c27-3b2f-47a6-91a7-e867cbe36462 --size 1 cgBronzeVol
|
||||||
|
|
||||||
+---------------------------------------+--------------------------------------+
|
+---------------------------------------+--------------------------------------+
|
||||||
| Property | Value |
|
| Field | Value |
|
||||||
+---------------------------------------+--------------------------------------+
|
+---------------------------------------+--------------------------------------+
|
||||||
| attachments | [] |
|
| attachments | [] |
|
||||||
| availability_zone | nova |
|
| availability_zone | nova |
|
||||||
|
@ -18,35 +18,41 @@ Example Usages
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --hint same_host=Volume_A-UUID SIZE
|
$ openstack volume create --hint same_host=Volume_A-UUID \
|
||||||
|
--size SIZE VOLUME_NAME
|
||||||
|
|
||||||
#. Create a new volume on a different back end than Volume_A:
|
#. Create a new volume on a different back end than Volume_A:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --hint different_host=Volume_A-UUID SIZE
|
$ openstack volume create --hint different_host=Volume_A-UUID \
|
||||||
|
--size SIZE VOLUME_NAME
|
||||||
|
|
||||||
#. Create a new volume on the same back end as Volume_A and Volume_B:
|
#. Create a new volume on the same back end as Volume_A and Volume_B:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --hint same_host=Volume_A-UUID --hint same_host=Volume_B-UUID SIZE
|
$ openstack volume create --hint same_host=Volume_A-UUID \
|
||||||
|
--hint same_host=Volume_B-UUID --size SIZE VOLUME_NAME
|
||||||
|
|
||||||
Or:
|
Or:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --hint same_host="[Volume_A-UUID, Volume_B-UUID]" SIZE
|
$ openstack volume create --hint same_host="[Volume_A-UUID, \
|
||||||
|
Volume_B-UUID]" --size SIZE VOLUME_NAME
|
||||||
|
|
||||||
#. Create a new volume on a different back end than both Volume_A and
|
#. Create a new volume on a different back end than both Volume_A and
|
||||||
Volume_B:
|
Volume_B:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --hint different_host=Volume_A-UUID --hint different_host=Volume_B-UUID SIZE
|
$ openstack volume create --hint different_host=Volume_A-UUID \
|
||||||
|
--hint different_host=Volume_B-UUID --size SIZE VOLUME_NAME
|
||||||
|
|
||||||
Or:
|
Or:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder create --hint different_host="[Volume_A-UUID, Volume_B-UUID]" SIZE
|
$ openstack volume create --hint different_host="[Volume_A-UUID, \
|
||||||
|
Volume_B-UUID]" --size SIZE VOLUME_NAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user