]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Trim volume type representation.
authorEoghan Glynn <eglynn@redhat.com>
Thu, 26 Jul 2012 16:26:55 +0000 (16:26 +0000)
committerEoghan Glynn <eglynn@redhat.com>
Thu, 26 Jul 2012 18:12:33 +0000 (19:12 +0100)
commit95262bb692746ca89dc01337357c4329766df5e5
treee527658bbc81c1c354ce4b089e0b90743451f46b
parentcdaf23ea960f64d62140f5c5807f5c2fd8ca9feb
Trim volume type representation.

Fixes cinder aspect of LP 1027281.

Use view builder pattern to only include non-extraneous
volume type attributes in the representation.

Change-Id: I33f1b579fd6ed4ed98fa04e9148e91eca125213e
cinder/api/openstack/volume/contrib/types_manage.py
cinder/api/openstack/volume/types.py
cinder/api/openstack/volume/views/types.py [new file with mode: 0644]
cinder/tests/api/openstack/volume/test_types.py