forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Change-Id: I5108fd51effa4d72581654ed450d191a13e0e964
- Loading branch information
Showing
3 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters