cinder/cinder/api/schemas
Rajat Dhasmana d7bb194d09 Fix: Schema validation for attachment create API
Currently the schema validation for attachment create assumes that
instance UUID will always be present in the request but that is
not the case when glance calls cinder for attachment.
Also there isn't any schema validation for MV3.54 which accepts
attachment mode in the request hence failing requests passing mode.
This patch removes the instance_uuid from required parameters and
adds schema validation for MV3.54.

Also includes a squash to add a releasenote from
Change-Id: I4a6e93ea98cfd4988d38bedca6e5538391c1f74d

Change-Id: I5108fd51effa4d72581654ed450d191a13e0e964
(cherry picked from commit 560318c82e)
(cherry picked from commit 58250aae06)
Conflicts:
    cinder/api/v3/attachments.py
2022-04-06 10:01:42 +02:00
..
__init__.py V3 jsonschema validation: base schema framework 2017-11-17 16:01:03 +05:30
admin_actions.py V3 jsonschema validation: admin_actions 2018-05-29 11:51:32 +05:30
attachments.py Fix: Schema validation for attachment create API 2022-04-06 10:01:42 +02:00
backups.py Support cross AZ backups 2018-02-23 11:35:42 +01:00
clusters.py V3 jsonschema validation: Clusters 2018-03-23 13:17:56 +05:30
default_types.py Default type overrides 2020-09-16 14:05:31 +00:00
group_snapshots.py Fix: validation error if the optional parameter's value is None 2018-01-09 03:43:47 -05:00
group_specs.py V3 jsonschema validation: Group type specs 2017-12-12 14:48:42 +05:30
group_types.py Fix combination of parameters for update APIs 2018-01-18 14:19:13 +05:30
groups.py V3 json schema validation: generic volume groups 2018-05-08 18:07:28 +05:30
qos_specs.py V3 jsonschema validation: qos-specs 2018-03-13 14:18:17 +05:30
quota_classes.py V3 jsonschema validation: Quota classes 2018-04-27 08:39:56 +05:30
quotas.py V3 jsonschema validation: Quotas 2018-04-27 08:21:51 +05:30
scheduler_hints.py V3 jsonschema validation: scheduler_hints 2018-05-23 11:58:59 +05:30
services.py V3 jsonschema validation: os-services 2018-05-14 12:44:56 +05:30
snapshot_actions.py V3 jsonschema validation: snapshot_actions 2018-04-10 14:23:56 +05:30
snapshot_manage.py Fix BadRequest for 'ref' as string value 2018-01-17 12:14:27 +05:30
snapshots.py V2/V3 jsonschema validation: snapshots 2018-01-02 09:22:20 +05:30
types_extra_specs.py V3 jsonschema validation: types_extra_specs 2018-03-20 14:14:36 +05:30
volume_actions.py Fix os-detach attachment_id schema 2018-05-02 16:41:07 -04:00
volume_image_metadata.py V3 jsonschema validation: volume_image_metadata 2018-03-14 15:21:38 +05:30
volume_manage.py API validation: Add cinder_host type to support ipv6 in manage 2021-03-11 12:24:06 -05:00
volume_metadata.py V3 jsonschema validation: Volume metadata 2017-12-08 12:40:01 +05:30
volume_transfer.py Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
volume_type_access.py V3 jsonschema validation: volume_type_access 2018-01-22 12:43:46 +05:30
volume_type_encryption.py Allow extra parameters in volume_type_encryption 2018-08-08 15:17:03 -05:00
volume_types.py Add volume type name and description check when update volume type 2019-10-11 15:56:10 +08:00
volumes.py Update volume create schema to allow 'null' 2018-08-01 13:22:37 -05:00
workers.py V3 json schema validation: workers 2018-04-16 09:54:36 +05:30