The 'tripleoclient.export.export_passwords' function was intended
export passwords selectively, if needed, based on provided rules.
This patch restores that functionality.
Furthermore, tests were adjusted to validate exports with and
without filtering.
Function level documentation was expanded with information about
inputs and outputs.
Per suggestion, the loop was adjusted to iterate over generated passwords
rather than over `tripleo_common_constants.PASSWORD_PARAMETER_NAMES`.
The existing import of tripleo_common.constants was removed, as there
were no more references to it.
Reviewed: https:/ /review. opendev. org/c/openstack /python- tripleoclient/ +/838911 /opendev. org/openstack/ python- tripleoclient/ commit/ 095182c143336bb 4b7039df411ad47 f7b64bd4bf
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 095182c143336bb 4b7039df411ad47 f7b64bd4bf
Author: Jiri Podivin <email address hidden>
Date: Tue Jun 22 15:27:28 2021 +0200
Restoration of the 'export_passwords' exclusion
The 'tripleoclient. export. export_ passwords' function was intended
export passwords selectively, if needed, based on provided rules.
This patch restores that functionality.
Furthermore, tests were adjusted to validate exports with and
without filtering.
Function level documentation was expanded with information about
inputs and outputs.
Per suggestion, the loop was adjusted to iterate over generated passwords common_ constants. PASSWORD_ PARAMETER_ NAMES`. common. constants was removed, as there
rather than over `tripleo_
The existing import of tripleo_
were no more references to it.
Closes-Bug: #1933237
Signed-off-by: Jiri Podivin <email address hidden> 7a48d4aeed55f1a 5a8e4ae3d41 1d9c854cd0a5c4f 75f2cb735c)
Change-Id: I397caaf314dae1
(cherry picked from commit cc2ac4a855ffeb5