commit | e39d4d8447b2e1be3bb692cceef4210e25bb275b | [log] [tgz] |
---|---|---|
author | Hao Jiang <jianghao@google.com> | Fri Apr 16 17:02:40 2021 -0700 |
committer | Willy Tu <wltu@google.com> | Thu Jul 15 20:58:32 2021 +0000 |
tree | c3b743e8d8349034cd3610a3b799e9a5bdc40823 | |
parent | d48c921a7f0935c557166242eadae683ee93f6fd [diff] |
dbus-sdr: Make GetSDR more robust against dbus failure. SDR list should be persistent while occasional SDR reading error due to underlayer dbus failure. The improvement consists of the following aspects: 1. SDR type is merely determined by sensorTree(from ObjectMapper), whose mechanism is the same as SDR index. 2. Alway return next sdr id even when failure. 3. Avoid unnecessary dbus call when IPMI host doesn't requires the SDR body. Signed-off-by: Hao Jiang <jianghao@google.com> Change-Id: If7d7bbb6db587c727f6ea5bcb7a7984f1ed47a80 Signed-off-by: Willy Tu <wltu@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.