]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix QoS information in initialize_connection() result
authorZhiteng Huang <zhithuang@ebaysf.com>
Wed, 11 Dec 2013 15:56:14 +0000 (23:56 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Fri, 20 Dec 2013 16:48:40 +0000 (00:48 +0800)
commite40dafd54411f0e4648fc051ef4d9c806f337f9d
tree1e2d0631b1bc2e638926e7801fcb27fc8f9966c2
parent2c76803a63dd9486678c893f2c697c6e9826d6ac
Fix QoS information in initialize_connection() result

Currently the entire QoS information (if any) is included in the result of
initialize_connection() even if the consumer of the QoS is 'back-end'. Also
the format for QoS specs also is changed so that front-end (Nova) can
parse correctly. Add unit test to cover initialize_connection().

Closes-bug: 1259957

DocImpact

Change-Id: Ibc5e92cc1ddf6404e5b234ef524698feae282eec
cinder/tests/test_volume.py
cinder/volume/manager.py