Dell EMC Sc: Add support for excluded_domain_ips

The Dell EMC SC configuration option excluded_domain_ip has been
deprecated and will be removed in a future release. Deployments
should now migrate to the option excluded_domain_ips for
equivalent functionality.

Depends-On: https://review.openstack.org/604444
Change-Id: I27c02be4d306a55a1ee8617de81d145b086a8a1b
This commit is contained in:
rajinir 2018-09-21 13:07:11 -05:00
parent 5c53cb3727
commit bf98351f83
3 changed files with 15 additions and 1 deletions

View File

@ -19,4 +19,4 @@ parameter_defaults:
CinderDellScSecondarySanLogin: 'Admin'
CinderDellScSecondarySanPassword: ''
CinderDellScSecondaryScApiPort: 3033
CinderDellScExcludedDomainIp: ''
CinderDellScExcludedDomainIps: []

View File

@ -64,6 +64,9 @@ parameters:
CinderDellScExcludedDomainIp:
type: string
default: ''
CinderDellScExcludedDomainIps:
type: comma_delimited_list
default: []
ServiceData:
default: {}
description: Dictionary packing service data
@ -90,6 +93,11 @@ parameters:
type: json
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
parameter_groups:
- label: deprecated
description: Do not use deprecated params, they will be removed.
parameters:
- CinderDellScExcludedDomainIp
outputs:
role_data:
@ -112,4 +120,5 @@ outputs:
cinder::backend::dellsc_iscsi::secondary_san_login: {get_param: CinderDellScSecondarySanLogin}
cinder::backend::dellsc_iscsi::secondary_san_password: {get_param: CinderDellScSecondarySanPassword}
cinder::backend::dellsc_iscsi::secondary_sc_api_port: {get_param: CinderDellScSecondaryScApiPort}
cinder::backend::dellsc_iscsi::excluded_domain_ips: {get_param: CinderDellScExcludedDomainIps}
cinder::backend::dellsc_iscsi::excluded_domain_ip: {get_param: CinderDellScExcludedDomainIp}

View File

@ -0,0 +1,5 @@
---
upgrade:
- The Dell EMC SC configuration option excluded_domain_ip has been deprecated
and will be removed in a future release. Deployments should now migrate to
the option excluded_domain_ips for equivalent functionality.