Remove deprecated HP 3PAR config options

HP 3PAR was deprecated during Liberty and now it's safe to be removed.
New HPE 3PAR options should be used instead.

Change-Id: Iaec8c382f3ae578b3f1da1c570f0b83be59ee984
This commit is contained in:
Ivan Kolodyazhny 2017-12-15 16:54:05 +02:00
parent d3d53eeb84
commit b36ec9c29b
2 changed files with 15 additions and 20 deletions

View File

@ -83,48 +83,38 @@ hpe3par_opts = [
cfg.StrOpt('hpe3par_api_url', cfg.StrOpt('hpe3par_api_url',
default='', default='',
help="3PAR WSAPI Server Url like " help="3PAR WSAPI Server Url like "
"https://<3par ip>:8080/api/v1", "https://<3par ip>:8080/api/v1"),
deprecated_name='hp3par_api_url'),
cfg.StrOpt('hpe3par_username', cfg.StrOpt('hpe3par_username',
default='', default='',
help="3PAR username with the 'edit' role", help="3PAR username with the 'edit' role"),
deprecated_name='hp3par_username'),
cfg.StrOpt('hpe3par_password', cfg.StrOpt('hpe3par_password',
default='', default='',
help="3PAR password for the user specified in hpe3par_username", help="3PAR password for the user specified in hpe3par_username",
secret=True, secret=True),
deprecated_name='hp3par_password'),
cfg.ListOpt('hpe3par_cpg', cfg.ListOpt('hpe3par_cpg',
default=["OpenStack"], default=["OpenStack"],
help="List of the CPG(s) to use for volume creation", help="List of the CPG(s) to use for volume creation"),
deprecated_name='hp3par_cpg'),
cfg.StrOpt('hpe3par_cpg_snap', cfg.StrOpt('hpe3par_cpg_snap',
default="", default="",
help="The CPG to use for Snapshots for volumes. " help="The CPG to use for Snapshots for volumes. "
"If empty the userCPG will be used.", "If empty the userCPG will be used."),
deprecated_name='hp3par_cpg_snap'),
cfg.StrOpt('hpe3par_snapshot_retention', cfg.StrOpt('hpe3par_snapshot_retention',
default="", default="",
help="The time in hours to retain a snapshot. " help="The time in hours to retain a snapshot. "
"You can't delete it before this expires.", "You can't delete it before this expires."),
deprecated_name='hp3par_snapshot_retention'),
cfg.StrOpt('hpe3par_snapshot_expiration', cfg.StrOpt('hpe3par_snapshot_expiration',
default="", default="",
help="The time in hours when a snapshot expires " help="The time in hours when a snapshot expires "
" and is deleted. This must be larger than expiration", " and is deleted. This must be larger than expiration"),
deprecated_name='hp3par_snapshot_expiration'),
cfg.BoolOpt('hpe3par_debug', cfg.BoolOpt('hpe3par_debug',
default=False, default=False,
help="Enable HTTP debugging to 3PAR", help="Enable HTTP debugging to 3PAR"),
deprecated_name='hp3par_debug'),
cfg.ListOpt('hpe3par_iscsi_ips', cfg.ListOpt('hpe3par_iscsi_ips',
default=[], default=[],
help="List of target iSCSI addresses to use.", help="List of target iSCSI addresses to use."),
deprecated_name='hp3par_iscsi_ips'),
cfg.BoolOpt('hpe3par_iscsi_chap_enabled', cfg.BoolOpt('hpe3par_iscsi_chap_enabled',
default=False, default=False,
help="Enable CHAP authentication for iSCSI connections.", help="Enable CHAP authentication for iSCSI connections."),
deprecated_name='hp3par_iscsi_chap_enabled'),
] ]

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The old deprecated ``hp3par*`` options have been removed.
Use the ``hpe3par*`` instead of them.