Add the missing "vol_type_id" param for qos association api-ref
According to the code [1], "vol_type_id" is a required param, so do "project_id/tenant_id" and "qos_id", they aren't optional params. [1] https://github.com/openstack/cinder/blob/master/cinder/api/contrib/qos_specs_manage.py#L261:L269 Change-Id: I7727a9b675080bb92d2e42e293868a1e4eb92e10
This commit is contained in:
@@ -75,13 +75,13 @@ project_id_path:
|
|||||||
description: |
|
description: |
|
||||||
The UUID of the project in a multi-tenancy cloud.
|
The UUID of the project in a multi-tenancy cloud.
|
||||||
in: path
|
in: path
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
qos_id:
|
qos_id:
|
||||||
description: |
|
description: |
|
||||||
The ID of the QoS specification.
|
The ID of the QoS specification.
|
||||||
in: path
|
in: path
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
quotas_tenant_id:
|
quotas_tenant_id:
|
||||||
description: |
|
description: |
|
||||||
@@ -114,6 +114,12 @@ user_id_1:
|
|||||||
in: path
|
in: path
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
vol_type_id:
|
||||||
|
description: |
|
||||||
|
The UUID for an existing volume type.
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
volume_id_path:
|
volume_id_path:
|
||||||
description: |
|
description: |
|
||||||
The UUID of the volume.
|
The UUID of the volume.
|
||||||
|
@@ -110,6 +110,7 @@ Request
|
|||||||
|
|
||||||
- tenant_id: tenant_id
|
- tenant_id: tenant_id
|
||||||
- qos_id: qos_id
|
- qos_id: qos_id
|
||||||
|
- vol_type_id: vol_type_id
|
||||||
|
|
||||||
|
|
||||||
Disassociate QoS specification from volume type
|
Disassociate QoS specification from volume type
|
||||||
@@ -129,6 +130,7 @@ Request
|
|||||||
|
|
||||||
- tenant_id: tenant_id
|
- tenant_id: tenant_id
|
||||||
- qos_id: qos_id
|
- qos_id: qos_id
|
||||||
|
- vol_type_id: vol_type_id
|
||||||
|
|
||||||
|
|
||||||
Show QoS specification details
|
Show QoS specification details
|
||||||
|
@@ -105,13 +105,13 @@ project_id_path:
|
|||||||
description: |
|
description: |
|
||||||
The UUID of the project in a multi-tenancy cloud.
|
The UUID of the project in a multi-tenancy cloud.
|
||||||
in: path
|
in: path
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
qos_id:
|
qos_id:
|
||||||
description: |
|
description: |
|
||||||
The ID of the QoS specification.
|
The ID of the QoS specification.
|
||||||
in: path
|
in: path
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
quotas_project_id:
|
quotas_project_id:
|
||||||
description: |
|
description: |
|
||||||
@@ -144,6 +144,12 @@ user_id_1:
|
|||||||
in: path
|
in: path
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
vol_type_id:
|
||||||
|
description: |
|
||||||
|
The UUID for an existing volume type.
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
volume_id_path:
|
volume_id_path:
|
||||||
description: |
|
description: |
|
||||||
The UUID of the volume.
|
The UUID of the volume.
|
||||||
|
@@ -110,6 +110,7 @@ Request
|
|||||||
|
|
||||||
- project_id: project_id_path
|
- project_id: project_id_path
|
||||||
- qos_id: qos_id
|
- qos_id: qos_id
|
||||||
|
- vol_type_id: vol_type_id
|
||||||
|
|
||||||
|
|
||||||
Disassociate QoS specification from a volume type
|
Disassociate QoS specification from a volume type
|
||||||
@@ -129,6 +130,7 @@ Request
|
|||||||
|
|
||||||
- project_id: project_id_path
|
- project_id: project_id_path
|
||||||
- qos_id: qos_id
|
- qos_id: qos_id
|
||||||
|
- vol_type_id: vol_type_id
|
||||||
|
|
||||||
|
|
||||||
Show a QoS specification details
|
Show a QoS specification details
|
||||||
|
Reference in New Issue
Block a user