]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use oslo_config new type PortOpt for port options
authorchenying <ying.chen@huawei.com>
Tue, 10 Nov 2015 07:17:57 +0000 (15:17 +0800)
committerchenying <ying.chen@huawei.com>
Wed, 11 Nov 2015 01:52:30 +0000 (09:52 +0800)
commit7ef20e1b910498e5a7952ec373286e69485a8533
treed8697046adf82a8d5b668662c67ebeacfcafeca1
parent8e03c3b3358b59999b5727bb3d87c41eee563615
Use oslo_config new type PortOpt for port options

The oslo_config library provides new type PortOpt to validate the
range of port now.
ref: https://github.com/openstack/oslo.config/blob/2.6.0/oslo_config/cfg.py#L1114

DocImpact
Change-Id: I9a3e4d13feef67b4a43936c6099b822e4f1f6a57
Closes-Bug: #1514702
12 files changed:
cinder/service.py
cinder/tests/unit/zonemanager/test_brcd_fc_san_lookup_service.py
cinder/tests/unit/zonemanager/test_cisco_fc_san_lookup_service.py
cinder/volume/driver.py
cinder/volume/drivers/dell/dell_storagecenter_common.py
cinder/volume/drivers/prophetstor/options.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/san/san.py
cinder/volume/drivers/sheepdog.py
cinder/volume/drivers/solidfire.py
cinder/zonemanager/drivers/brocade/brcd_fabric_opts.py
cinder/zonemanager/drivers/cisco/cisco_fabric_opts.py