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

View File

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