Remove deprecated HPE Lefthand config opts

Several configuration options were renamed as part of the driver rename
in the Mitaka release. This removes the deprecated_name for these
options.

Change-Id: I8bf5570960728b3bb65631ce02850c120af40577
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-08-22 14:29:06 -05:00
parent f68a0e80ed
commit 8dff3d4980
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 16 additions and 12 deletions

View File

@ -69,30 +69,24 @@ hpelefthand_opts = [
cfg.URIOpt('hpelefthand_api_url',
default=None,
help="HPE LeftHand WSAPI Server Url like "
"https://<LeftHand ip>:8081/lhos",
deprecated_name='hplefthand_api_url'),
"https://<LeftHand ip>:8081/lhos"),
cfg.StrOpt('hpelefthand_username',
default=None,
help="HPE LeftHand Super user username",
deprecated_name='hplefthand_username'),
help="HPE LeftHand Super user username"),
cfg.StrOpt('hpelefthand_password',
default=None,
help="HPE LeftHand Super user password",
secret=True,
deprecated_name='hplefthand_password'),
secret=True),
cfg.StrOpt('hpelefthand_clustername',
default=None,
help="HPE LeftHand cluster name",
deprecated_name='hplefthand_clustername'),
help="HPE LeftHand cluster name"),
cfg.BoolOpt('hpelefthand_iscsi_chap_enabled',
default=False,
help='Configure CHAP authentication for iSCSI connections '
'(Default: Disabled)',
deprecated_name='hplefthand_iscsi_chap_enabled'),
'(Default: Disabled)'),
cfg.BoolOpt('hpelefthand_debug',
default=False,
help="Enable HTTP debugging to LeftHand",
deprecated_name='hplefthand_debug'),
help="Enable HTTP debugging to LeftHand"),
cfg.PortOpt('hpelefthand_ssh_port',
default=16022,
help="Port number of SSH service."),

View File

@ -0,0 +1,10 @@
---
upgrade:
- |
HPE LeftHand config options ``hplefthand_api_url``, ``hplefthand_username``,
``hplefthand_password``, ``hplefthand_clustername``,
``hplefthand_iscsi_chap_enabled``, and ``hplefthand_debug`` were deprecated
in the Mitaka release and have now been removed. The corresponding
``hpelefthand_api_url``, ``hpelefthand_username``, ``hpelefthand_password``,
``hpelefthand_clustername``, ``hpelefthand_iscsi_chap_enabled``, and
``hpelefthand_debug`` should be used instead.