Searched hist:"8589375 f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/openpower-vpd-parser/ |
H A D | ibm_vpd_app.cpp | 8589375f Tue Nov 10 10:01:43 CST 2020 Santosh Puranik <santosh.puranik@in.ibm.com> ibm-read-vpd: Enable skipping VPD read if host is powered ON This commit keys off of a JSON attribute on the FRU that enables the parser code to skip reading VPD when the host is powered ON. On IBM systems, certain FRU VPD is inaccessible to the BMC when the host is powered ON. This commit enables us to skip such FRUs. It relies on the xyz.openbmc_project.State.Chassis.CurrentPowerState property to determine the host power state. Tested: Tested on Rainier simulation model by manually setting the above property and ensuring that VPD reads are skipped if the FRU contains the "powerOffOnly" key in the JSON. Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: Iaa55d32f7b3641fa0fd41dbd79620dbff2b1673a
|