]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use min and max on IntOpt option types
authorEric Brown <browne@vmware.com>
Sat, 15 Aug 2015 18:36:33 +0000 (11:36 -0700)
committerEric Brown <browne@vmware.com>
Sun, 16 Aug 2015 22:48:24 +0000 (15:48 -0700)
commit3bb7fcb64301cec5fc9435d37deaa0617d207a7a
tree93ed12e09e162885801283859560923a2d2db974
parentcae82442068cd74b4311a1fabbea0344d415021e
Use min and max on IntOpt option types

Latest version of oslo.config support the ability to set valid
range on IntOpt option values.  This path makes use of that feature
for a number of options with well known minimum and maximum values.

Change-Id: Ie4b081bdaa373c9dedf7dd0c9884553ffb42b61c
13 files changed:
cinder/common/config.py
cinder/service.py
cinder/tests/unit/test_storwize_svc.py
cinder/volume/driver.py
cinder/volume/drivers/dell/dell_storagecenter_common.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
cinder/volume/drivers/prophetstor/options.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/san/san.py
cinder/volume/drivers/solidfire.py
cinder/zonemanager/drivers/brocade/brcd_fabric_opts.py
cinder/zonemanager/drivers/cisco/cisco_fabric_opts.py