Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow v2 Volume API to create volume with type name
v2 API only accepts volume type ID when creating volume, while v1 API allows both volume type name and ID (volume type name is unique in Cinder). This patch enables v2 API to accept volume type name as create() parameter. Aslo volume type validation code block in v1 API create() is refactored to a slimmer version. Change-Id: I4ee98b67a0a0e98ff4d402749e12b1335d45f64d Close-bug: 1228835
- Loading branch information
Zhiteng Huang
committed
Sep 24, 2013
1 parent
180513d
commit 64f24b9
Showing
4 changed files
with
47 additions
and
15 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
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