api-ref: qos and extra_spec are optional in types view
As Felipe commented in I7ef9b3ea989d65dbd6dfa291ab4752664ed5f935,
extra_specs and qos_specs_id are only populated following policy
authorization: e1d8ec8b26/cinder/api/v2/views/types.py (L31)
So this is to make them optional.
Change-Id: I6f5103b7333b80b9651c279053dbdecd4574c18b
This commit is contained in:
parent
e1d8ec8b26
commit
69b1430122
@ -2314,7 +2314,7 @@ qos_specs_id:
|
||||
description: |
|
||||
The QoS specifications ID.
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
QoS_support:
|
||||
description: |
|
||||
|
@ -58,7 +58,7 @@ Response Parameters
|
||||
|
||||
- volume_type: volume_type_1
|
||||
- is_public: is_public_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_optional
|
||||
- description: description_volume_type_required
|
||||
- name: name_volume_type_required
|
||||
- id: volume_type_id
|
||||
@ -279,7 +279,7 @@ Response Parameters
|
||||
|
||||
- volume_type: volume_type_1
|
||||
- is_public: is_public_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_optional
|
||||
- description: description_volume_type_required
|
||||
- name: name_volume_type_required
|
||||
- id: volume_type_id_body
|
||||
@ -323,7 +323,7 @@ Response Parameters
|
||||
|
||||
- volume_type: volume_type_1
|
||||
- is_public: is_public_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_optional
|
||||
- description: description_volume_type_required
|
||||
- name: name_volume_type_required
|
||||
|
||||
@ -393,7 +393,7 @@ Response Parameters
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- volume_types: volume_types
|
||||
- extra_specs: extra_specs_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_optional
|
||||
- name: name_volume_type_required
|
||||
- is_public: is_public_volume_type_required
|
||||
- description: description_volume_type_required
|
||||
@ -449,7 +449,7 @@ Response Parameters
|
||||
|
||||
- volume_type: volume_type_1
|
||||
- is_public: is_public_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_required
|
||||
- extra_specs: extra_specs_volume_type_optional
|
||||
- description: description_volume_type_required
|
||||
- name: name_volume_type_required
|
||||
- id: volume_type_id_body
|
||||
|
Loading…
x
Reference in New Issue
Block a user