commit cacafd8819cc492995e010dc35f0a8c3729c2915
Author: Andreas Scheuring <email address hidden>
Date: Thu Mar 9 15:12:09 2017 +0100
Use oslo opt for storage_adapter_mappings
Use the oslo config opt object for the
'physical_storage_adapter_mappings' configuration option. This configuration
option returns a list of tuples:
[(adapter-id, port-id), (adapter-id, port-id)]
In addition it validates if the adapter-id is of the right format. If
provided in upper case, it will convert it to lower case (HMC web
services API requires lower case). The config option does not check
if an object with this ID exists on the HMC.
Also the port value is verified. Valid values are '0', '1', '2', '3'.
adapter-id and port can never be 'None'.
The usage of parse_config_line will be replaced by this config
option.
Reviewed: https:/ /review. openstack. org/443664 /git.openstack. org/cgit/ openstack/ nova-dpm/ commit/ ?id=cacafd8819c c492995e010dc35 f0a8c3729c2915
Committed: https:/
Submitter: Jenkins
Branch: master
commit cacafd8819cc492 995e010dc35f0a8 c3729c2915
Author: Andreas Scheuring <email address hidden>
Date: Thu Mar 9 15:12:09 2017 +0100
Use oslo opt for storage_ adapter_ mappings
Use the oslo config opt object for the storage_ adapter_ mappings' configuration option. This configuration
'physical_
option returns a list of tuples:
[(adapter-id, port-id), (adapter-id, port-id)]
In addition it validates if the adapter-id is of the right format. If
provided in upper case, it will convert it to lower case (HMC web
services API requires lower case). The config option does not check
if an object with this ID exists on the HMC.
Also the port value is verified. Valid values are '0', '1', '2', '3'.
adapter-id and port can never be 'None'.
The usage of parse_config_line will be replaced by this config
option.
Change-Id: Ica7928e1eded03 50dcc708eed932e 9b7a5401bfc
Partial-Bug: #1663369