From fe8f17aa773d734020ba23cb8e58e48e139bd314 Mon Sep 17 00:00:00 2001 From: KATO Tomoyuki Date: Thu, 3 Nov 2016 11:18:17 +0900 Subject: [PATCH] [config-ref] use openstack qos command instead of cinder Change-Id: Iff6247fa28a4144bde0158f7a53b8be0d8dcd16a Implements: blueprint use-openstack-command --- .../drivers/datera-volume-driver.rst | 7 +- .../drivers/emc-scaleio-driver.rst | 6 +- .../block-storage/drivers/emc-vmax-driver.rst | 73 +++---------------- .../block-storage/drivers/hpe-3par-driver.rst | 7 +- 4 files changed, 17 insertions(+), 76 deletions(-) diff --git a/doc/config-reference/source/block-storage/drivers/datera-volume-driver.rst b/doc/config-reference/source/block-storage/drivers/datera-volume-driver.rst index 8da57c2c8a..a4ae618b87 100644 --- a/doc/config-reference/source/block-storage/drivers/datera-volume-driver.rst +++ b/doc/config-reference/source/block-storage/drivers/datera-volume-driver.rst @@ -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 + $ openstack volume qos associate DateraBronze VOLUME_TYPE # Add additional qos values or update existing ones - $ cinder qos-key set read_bandwidth_max=500 + $ openstack volume qos set --property read_bandwidth_max=500 DateraBronze Supported operations ~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/config-reference/source/block-storage/drivers/emc-scaleio-driver.rst b/doc/config-reference/source/block-storage/drivers/emc-scaleio-driver.rst index 7fe6dba97e..fa5f1c90ec 100644 --- a/doc/config-reference/source/block-storage/drivers/emc-scaleio-driver.rst +++ b/doc/config-reference/source/block-storage/drivers/emc-scaleio-driver.rst @@ -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. diff --git a/doc/config-reference/source/block-storage/drivers/emc-vmax-driver.rst b/doc/config-reference/source/block-storage/drivers/emc-vmax-driver.rst index 0f6b8beff7..e67a974e63 100644 --- a/doc/config-reference/source/block-storage/drivers/emc-vmax-driver.rst +++ b/doc/config-reference/source/block-storage/drivers/emc-vmax-driver.rst @@ -683,31 +683,19 @@ Prerequisites - VMAX .. code-block:: console - cinder qos-create [ ...] - - .. 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 - - .. 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 ] [--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 [ ...] - - .. 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 - - .. 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 ] [--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 [ ...] - - .. 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 - - .. 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 ] [--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 [ ...] - - .. 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 - - .. 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 ] [--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)** diff --git a/doc/config-reference/source/block-storage/drivers/hpe-3par-driver.rst b/doc/config-reference/source/block-storage/drivers/hpe-3par-driver.rst index fc6101c09b..e622a132e5 100644 --- a/doc/config-reference/source/block-storage/drivers/hpe-3par-driver.rst +++ b/doc/config-reference/source/block-storage/drivers/hpe-3par-driver.rst @@ -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.