commit 6f3261499c9d9cad6ec974ac2c354df2f9e77ffd
Author: Andreas Scheuring <email address hidden>
Date: Wed Mar 8 16:45:49 2017 +0100
Introduce storage adapter mapping conf object
This patch introduces a oslo config object that can be used by the
physical_storage_adapter_mappings configuration option.
The config object validates the config option along a regex and
returns a tuple (adapter_id, port).
It accepts adapter-ids in upper and lower case. But for users
it returns the adapter-id always in lower case (like desired
by the HMC web services API).
Some parts of this code can be removed once they are available
in a new os-dpm release (e.g. the MultiStringWithKwargsType).
Reviewed: https:/ /review. openstack. org/443193 /git.openstack. org/cgit/ openstack/ nova-dpm/ commit/ ?id=6f3261499c9 d9cad6ec974ac2c 354df2f9e77ffd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6f3261499c9d9ca d6ec974ac2c354d f2f9e77ffd
Author: Andreas Scheuring <email address hidden>
Date: Wed Mar 8 16:45:49 2017 +0100
Introduce storage adapter mapping conf object
This patch introduces a oslo config object that can be used by the storage_ adapter_ mappings configuration option.
physical_
The config object validates the config option along a regex and
returns a tuple (adapter_id, port).
It accepts adapter-ids in upper and lower case. But for users
it returns the adapter-id always in lower case (like desired
by the HMC web services API).
Some parts of this code can be removed once they are available KwargsType) .
in a new os-dpm release (e.g. the MultiStringWith
Change-Id: I03319412ad15c6 08ecc43b0421f0c ae42bd6b5dc
Partial-Bug: #1663369