]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add qos_specs_id to volume type show
authorNate Potter <nathaniel.potter@intel.com>
Tue, 13 Oct 2015 19:53:23 +0000 (19:53 +0000)
committerNate Potter <nathaniel.potter@intel.com>
Wed, 21 Oct 2015 16:51:26 +0000 (16:51 +0000)
commitb2e92b85b5ea2fc4058d6c0f6e9e3fddc2a9036e
treef4852663440983b7789e6872cb34e7c27ae013bd
parent7fb767f2d652f070a20fd70d92585d61e56f3a50
Add qos_specs_id to volume type show

Adding qos_specs_id to the output of volume
type show to make getting the qos specs for
a volume type more convenient. However, this
variable will only be visible when type show
is called with the admin role.

APIImpact
Change-Id: Id8a2333267c9a51b36c6adfbd142dcc4fbe4f090
Closes-Bug: #1438488
cinder/api/v2/types.py
cinder/api/v2/views/types.py [new file with mode: 0644]
cinder/tests/unit/api/v2/test_types.py