diff options
author | Yong Li <yong.b.li@linux.intel.com> | 2019-11-19 13:25:01 +0300 |
---|---|---|
committer | Li, Yong B <yong.b.li@intel.com> | 2019-11-22 07:22:23 +0300 |
commit | 62d865faae2c183a64455abed5114d67aa61b311 (patch) | |
tree | bda3d55ad6f802977b76d944003fbe45e83c7a75 /host_error_monitor/CMakeLists.txt | |
parent | d095ccea8df74f9de228ab83b658d80b4fb79460 (diff) | |
download | provingground-62d865faae2c183a64455abed5114d67aa61b311.tar.xz |
Sync configuration data between settings and PSU redundancy service
Add support for reading configuration from settings service,
and store all these data into dbus;
Rank order configuration needs to be queried from PSU redundancy service,
since it will be changed from time to time.
Tested:
Applied https://gerrit.openbmc-project.xyz/#/c/openbmc/intel-ipmi-oem/+/27220/,
With two PSUs, AC cycle the board,
// two PSUs available
ipmitool raw 0x30 0x2E 0x05
05 02
// Return the default order 0,0, instead of the default settings is 0
root@intel-obmc:~# ipmitool raw 0x30 0x2E 0x03
03 01 00 00
Wait for 2 minutes, the order will be changed to ascending order,
and start the rotation
ipmitool raw 0x30 0x2e 0x3
03 00 01 02
// Set a new order 1,2
root@intel-obmc:~# ipmitool raw 0x30 0x2d 0x03 0x01 0x01 0x02
00
// Return the new order
root@intel-obmc:~# ipmitool raw 0x30 0x2E 0x03
03 01 01 02
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: I50c469ae7b2f089d3e7cc70932e5eed4f7164f74
Diffstat (limited to 'host_error_monitor/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions