commit f5a3ff1dfcde068769f9a2a477ba6a9edaf69c77
Author: Devananda van der Veen <email address hidden>
Date: Fri Jun 10 17:24:53 2016 -0700
Mask password on agent lookup according to policy
We currently mask passwords in driver_info for all API responses,
except for agent lookups. This is because driver_vendor_passthru
just expects a dict to return as JSON in the response, and doesn't
modify it at all.
Change lookup to follow the defined policy when returning the node
object in the response, the same way we do for other API responses.
Co-authored-by: Jim Rollenhagen <email address hidden>
Change-Id: Ib19d2f86d3527333e905fdbf1f09fc3dc8b8c5a7
Closes-Bug: #1572796
(cherry picked from commit 426a306fb580762e97ada04e1253dedd9b64d410)
Reviewed: https:/ /review. openstack. org/332197 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=f5a3ff1dfcd e068769f9a2a477 ba6a9edaf69c77
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit f5a3ff1dfcde068 769f9a2a477ba6a 9edaf69c77
Author: Devananda van der Veen <email address hidden>
Date: Fri Jun 10 17:24:53 2016 -0700
Mask password on agent lookup according to policy
We currently mask passwords in driver_info for all API responses, vendor_ passthru
except for agent lookups. This is because driver_
just expects a dict to return as JSON in the response, and doesn't
modify it at all.
Change lookup to follow the defined policy when returning the node
object in the response, the same way we do for other API responses.
Co-authored-by: Jim Rollenhagen <email address hidden>
Change-Id: Ib19d2f86d35273 33e905fdbf1f09f c3dc8b8c5a7 e97ada04e1253de dd9b64d410)
Closes-Bug: #1572796
(cherry picked from commit 426a306fb580762