]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Make unused iscsi_num_targets, iser_num_targets configs as deprecated
authorMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Tue, 3 Mar 2015 22:49:03 +0000 (17:49 -0500)
committerMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Mon, 16 Mar 2015 18:33:54 +0000 (14:33 -0400)
commit582b4dfc7833f2adfea787cff5bce8e858d80d0e
treebe283371ff46d26bfa6a1ded065e804b154201dc
parent2ee7b38620eba0d09acaabb78ce360479872bf67
Make unused iscsi_num_targets, iser_num_targets configs as deprecated

After introducing new iscsi target driver model via Change-Id:
I43190d1dac33748fe55fa00f260f32ab209be656, configuration
options of iscsi_num_targets and iser_num_targets are not
used in these new scsi targets.

This patch makes these unused configuration options as
deprecated and adds warning messages to notify future removal
of these configs to users.

Also this patch removes _ensure_iscsi_targets() which uses these
two config options from cxt scsi target because this method is
never called anywhere.

Closes-Bug: #1427904
DocImpact: Two unused config options are deprecated
Change-Id: Ic34910f4765f46e2708de7cb686e49418f486709
cinder/tests/conf_fixture.py
cinder/tests/test_volume.py
cinder/volume/driver.py
cinder/volume/targets/cxt.py
cinder/volume/targets/iscsi.py
cinder/volume/targets/iser.py