python-openstackclient/doc/source/command-objects/volume-qos.rst
Huanxuan Ao 4e46c04f92 Add "--force" option to "volume qos delete" command
Add ``--force`` option to ``volume qos delete`` command in volume
v1 and v2 to allow users to delete in-use QoS specification(s).

Change-Id: I46036e5f55ced8b8a1be54c521f2a5c242b89160
Closes-Bug: #1596821
2016-06-28 08:12:40 +00:00

2.9 KiB

volume qos

Block Storage v1, v2

volume qos associate

Associate a QoS specification to a volume type

volume qos associate

os volume qos associate
    <qos-spec>
    <volume-type>

<qos-spec>

QoS specification to modify (name or ID)

<volume-type>

Volume type to associate the QoS (name or ID)

volume qos create

Create new QoS Specification

volume qos create

os volume qos create
    [--consumer <consumer>]
    [--property <key=value> [...] ]
    <name>

--consumer <consumer>

Consumer of the QoS. Valid consumers: 'front-end', 'back-end', 'both' (defaults to 'both')

--property <key=value>

Set a property on this QoS specification (repeat option to set multiple properties)

<name>

New QoS specification name

volume qos delete

Delete QoS specification

volume qos delete

os volume qos delete
     [--force]
     <qos-spec> [<qos-spec> ...]

--force

Allow to delete in-use QoS specification(s)

<qos-spec>

QoS specification(s) to delete (name or ID)

volume qos disassociate

Disassociate a QoS specification from a volume type

volume qos disassoiate

os volume qos disassociate
    --volume-type <volume-type> | --all
    <qos-spec>

--volume-type <volume-type>

Volume type to disassociate the QoS from (name or ID)

--all

Disassociate the QoS from every volume type

<qos-spec>

QoS specification to modify (name or ID)

volume qos list

List QoS specifications

volume qos list

os volume qos list

volume qos set

Set QoS specification properties

volume qos set

os volume qos set
    [--property <key=value> [...] ]
    <qos-spec>

--property <key=value>

Property to add or modify for this QoS specification (repeat option to set multiple properties)

<qos-spec>

QoS specification to modify (name or ID)

volume qos show

Display QoS specification details

volume qos show

os volume qos show
    <qos-spec>

<qos-spec>

QoS specification to display (name or ID)

volume qos unset

Unset QoS specification properties

volume qos unset

os volume qos unset
    [--property <key>]
    <qos-spec>

--property <key>

Property to remove from QoS specification (repeat option to remove multiple properties)

<qos-spec>

QoS specification to modify (name or ID)