commit affec224977174581d19a2b914772cb0409f633e
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/332196 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=affec224977 174581d19a2b914 772cb0409f633e
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit affec2249771745 81d19a2b914772c b0409f633e
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