[config-ref] use openstack qos command instead of cinder

Change-Id: Iff6247fa28a4144bde0158f7a53b8be0d8dcd16a
Implements: blueprint use-openstack-command
This commit is contained in:
KATO Tomoyuki 2016-11-03 11:18:17 +09:00
parent 04b25b0a3e
commit fe8f17aa77
4 changed files with 17 additions and 76 deletions

View File

@ -102,14 +102,13 @@ following capabilities in QoS Specs
.. code-block:: bash
# Create qos spec
$ cinder qos-create DateraBronze total_iops_max=1000 \
total_bandwidth_max=2000
$ openstack volume qos create --property total_iops_max=1000 total_bandwidth_max=2000 DateraBronze
# Associate qos-spec with volume type
$ cinder qos-associate <qos-spec-id> <volume-type-id>
$ openstack volume qos associate DateraBronze VOLUME_TYPE
# Add additional qos values or update existing ones
$ cinder qos-key <qos-spec-id> set read_bandwidth_max=500
$ openstack volume qos set --property read_bandwidth_max=500 DateraBronze
Supported operations
~~~~~~~~~~~~~~~~~~~~

View File

@ -96,11 +96,7 @@ them with a volume type, run the following commands:
.. code-block:: console
$ cinder help qos-create
$ cinder help qos-key
$ cinder help qos-associate
$ openstack help volume qos
``maxIOPS``
The QoS I/O rate limit. If not set, the I/O rate will be unlimited.

View File

@ -683,31 +683,19 @@ Prerequisites - VMAX
.. code-block:: console
cinder qos-create <name> <key=value> [<key=value> ...]
.. code-block:: console
$ cinder qos-create silver maxIOPS=4000 maxMBPS=4000 DistributionType=Always
$ openstack volume qos create --property maxIOPS=4000 maxMBPS=4000 DistributionType=Always SILVER
#. Associate QoS specs with specified volume type:
.. code-block:: console
cinder qos-associate <qos_specs id> <volume_type_id>
.. code-block:: console
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
$ openstack volume qos associate SILVER VOLUME_TYPE
#. Create volume with the volume type indicated above:
.. code-block:: console
cinder create [--name <name>] [--volume-type <volume-type>] size
.. code-block:: console
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
**Outcome - VMAX (storage group)**
@ -745,31 +733,19 @@ Prerequisites - VMAX
.. code-block:: console
cinder qos-create <name> <key=value> [<key=value> ...]
.. code-block:: console
$ cinder qos-create silver maxIOPS=4000 maxMBPS=4000 DistributionType=Always
$ openstack volume qos create --property maxIOPS=4000 maxMBPS=4000 DistributionType=Always SILVER
#. Associate QoS specifications with specified volume type:
.. code-block:: console
cinder qos-associate <qos_specs id> <volume_type_id>
.. code-block:: console
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
$ openstack volume qos associate SILVER VOLUME_TYPE
#. Create volume with the volume type indicated above:
.. code-block:: console
cinder create [--name <name>] [--volume-type <volume-type>] size
.. code-block:: console
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
**Outcome - VMAX (storage group)**
@ -804,32 +780,19 @@ Prerequisites - VMAX
.. code-block:: console
cinder qos-create <name> <key=value> [<key=value> ...]
.. code-block:: console
$ cinder qos-create silver DistributionType=Always
$ openstack volume qos create --property DistributionType=Always SILVER
#. Associate QoS specifications with specified volume type:
.. code-block:: console
cinder qos-associate <qos_specs id> <volume_type_id>
.. code-block:: console
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
$ openstack volume qos associate SILVER VOLUME_TYPE
#. Create volume with the volume type indicated above:
.. code-block:: console
cinder create [--name <name>] [--volume-type <volume-type>] size
.. code-block:: console
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
**Outcome - VMAX (storage group)**
@ -862,32 +825,20 @@ Prerequisites - VMAX
.. code-block:: console
cinder qos-create <name> <key=value> [<key=value> ...]
.. code-block:: console
$ cinder qos-create silver DistributionType=OnFailure
$ openstack volume qos create --property DistributionType=OnFailure SILVER
#. Associate QoS specifications with specified volume type:
.. code-block:: console
cinder qos-associate <qos_specs id> <volume_type_id>
.. code-block:: console
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
$ openstack volume qos associate SILVER VOLUME_TYPE
#. Create volume with the volume type indicated above:
.. code-block:: console
cinder create [--name <name>] [--volume-type <volume-type>] size
.. code-block:: console
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
**Outcome - VMAX (storage group)**

View File

@ -179,12 +179,7 @@ pairs and associate them with a volume type, run the following commands:
.. code-block:: console
$ cinder help qos-create
$ cinder help qos-key
$ cinder help qos-associate
$ openstack help volume qos
The following keys require that the HPE 3PAR StoreServ storage array has a
Priority Optimization license installed.