Add missing and incorrect response and error codes in cinder api-ref

Closes-bug: 1674161

Change-Id: I963f0aa7de6c3df95c1341cac15da178032db1d3
This commit is contained in:
wangzhenyu 2017-03-14 10:18:04 +08:00 committed by Anne Gentle
parent 1133f8e656
commit f242907f01
11 changed files with 31 additions and 31 deletions

View File

@ -60,7 +60,7 @@ Create a consistency group
Creates a consistency group.
Error response codes:202,
Normal response codes: 202
Request
@ -144,7 +144,7 @@ Create a consistency group from source
Creates a consistency group from source.
Error response codes:202,
Normal response codes: 202
Request
@ -175,7 +175,7 @@ Delete a consistency group
Deletes a consistency group.
Error response codes:202,
Normal response codes: 202
Request
@ -245,7 +245,7 @@ Update a consistency group
Updates a consistency group.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -14,7 +14,7 @@ Delete a consistency group snapshot
Deletes a consistency group snapshot.
Error response codes:202,
Normal response codes: 202
Request
@ -149,7 +149,7 @@ Create a consistency group snapshot
Creates a consistency group snapshot.
Error response codes:202,
Normal response codes: 202
Request
-------

View File

@ -19,7 +19,7 @@ may interpret the existing storage volume reference differently but
should accept a reference structure containing either a ``source-
volume-id`` or ``source-volume-name`` element, if possible.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -13,7 +13,7 @@ Accept a volume transfer
Accepts a volume transfer.
Error response codes:202,
Normal response codes: 202
Request
@ -51,7 +51,7 @@ Create a volume transfer
Creates a volume transfer.
Error response codes:202,
Normal response codes: 202
Request
@ -168,7 +168,7 @@ Delete a volume transfer
Deletes a volume transfer.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -17,7 +17,7 @@ Disassociate a QoS specification from all associations
Disassociates a QoS specification from all associations.
Error response codes:202,
Normal response codes: 202
Request
@ -100,7 +100,7 @@ Associate QoS specification with a volume type
Associates a QoS specification with a volume type.
Error response codes:202,
Normal response codes: 202
Request
@ -119,7 +119,7 @@ Disassociate QoS specification from a volume type
Disassociates a QoS specification from a volume type.
Error response codes:202,
Normal response codes: 202
Request
@ -215,7 +215,7 @@ Delete a QoS specification
Deletes a QoS specification.
Error response codes:202,
Normal response codes: 202
Request
@ -237,7 +237,7 @@ Creates a QoS specification.
Specify one or more key and value pairs in the request body.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -27,7 +27,7 @@ Prior to microversion 3.16 host field was required, with the possibility of
defining the cluster it is no longer required, but we must have either a host
or a cluster field but we cannot have them both with values.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -20,7 +20,7 @@ Add private volume type access to project
Adds private volume type access to a project.
Error response codes:202,
Normal response codes: 202
Request
@ -46,7 +46,7 @@ Remove private volume type access from project
Removes private volume type access from a project.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -76,7 +76,7 @@ Create a snapshot
Creates a volume snapshot, which is a point-in-time, complete copy of a volume. You can create a volume from a snapshot.
Error response codes:202,
Normal response codes: 202
Request
@ -346,7 +346,7 @@ Delete a snapshot
Deletes a snapshot.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -159,7 +159,7 @@ Delete a volume type
Deletes a volume type.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -32,7 +32,7 @@ Troubleshooting
request. If the request fails again, investigate the storage back
end.
Error response codes:202,
Normal response codes: 202
Request
@ -64,7 +64,7 @@ Reset a volume's statuses
Administrator only. Resets the status, attach status, and migration status for a volume. Specify the ``os-reset_status`` action in the request body.
Error response codes:202,
Normal response codes: 202
Request
@ -98,7 +98,7 @@ Set image metadata for a volume
Sets the image metadata for a volume. Specify the ``os-set_image_metadata`` action in the request body.
Error response codes:202,
Normal response codes: 202
Request
@ -130,7 +130,7 @@ Remove image metadata from a volume
Removes image metadata, by key, from a volume. Specify the ``os-unset_image_metadata`` action in the request body and the ``key`` for the metadata key and value pair that you want to remove.
Error response codes:202,
Normal response codes: 202
Request
@ -168,7 +168,7 @@ Preconditions
- You should set ``instance_uuid`` or ``host_name``.
Error response codes:202,
Normal response codes: 202
Request
@ -206,7 +206,7 @@ Preconditions
- Volume status must be ``available``.
Error response codes:202,
Normal response codes: 202
Request
@ -240,7 +240,7 @@ Forces a volume to detach. Specify the ``os-force_detach`` action in the request
Rolls back an unsuccessful detach operation after you disconnect
the volume.
Error response codes:202,
Normal response codes: 202
Request

View File

@ -147,7 +147,7 @@ Troubleshooting
- The storage node needs enough free storage space to match the size
of the volume creation request.
Error response codes:202,
Normal response codes: 202
Request
@ -428,7 +428,7 @@ Troubleshooting
- The volume managed by OpenStack Block Storage is not deleted from
the storage system.
Error response codes:202,
Normal response codes: 202
Request
@ -451,7 +451,7 @@ Create metadata for volume
Creates metadata for a volume.
Error response codes:202,
Normal response codes: 202
Request