Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Qos Specs association corner case
Fix a corner case in associating QoS Specs with Volumt types that was not handled well: Raise HTTPBadRequest() to client if associate volume type, which is already associated one qos specs other than specified qos specs. Previously such operation will proceed without error which results overwriting original association. Also refactor DB API volume_type_qos_specs_get() to return qos specs in consistent dict format as other qos specs related APIs. Fix bug: # 1222692 Change-Id: I9db66d1e3a7469620ba542f5387422685a2d828f
- Loading branch information
Zhiteng Huang
committed
Sep 10, 2013
1 parent
83cb5b1
commit 5aa6ca2
Showing
5 changed files
with
83 additions
and
17 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
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