]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use oslo_config choices support
authorEric Brown <browne@vmware.com>
Tue, 24 Feb 2015 07:02:50 +0000 (23:02 -0800)
committerEric Brown <browne@vmware.com>
Tue, 24 Feb 2015 22:36:34 +0000 (22:36 +0000)
commit132fbcd38ebae52bdd20da54905131b75581520f
tree5dca4017c6b9d0da0c852c7543aad00a5acdc0df
parent832a11b65720ad14a943648a07c61649d8a16dd1
Use oslo_config choices support

The oslo_config library added support for a choices keyword argument in
version 1.2.0a3.  This commit leverages the use of choices for StrOpts in
Cinder's configuration.

References:
http://docs.openstack.org/developer/oslo.config/#a3
https://bugs.launchpad.net/oslo-incubator/+bug/1123043

Change-Id: Id94904d9b15bc1c52f47aafe7e59ec738d93f966
cinder/common/config.py
cinder/volume/driver.py
cinder/volume/drivers/ibm/gpfs.py
cinder/volume/drivers/ibm/ibmnas.py
cinder/volume/drivers/ibm/xiv_ds8k.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/netapp/options.py
cinder/volume/drivers/nexenta/options.py
cinder/volume/drivers/smbfs.py
cinder/volume/drivers/zfssa/zfssaiscsi.py
cinder/volume/drivers/zfssa/zfssanfs.py