diff options
author | Deepak Kumar Sahu <deepakx.sahu@intel.com> | 2019-05-17 18:14:09 +0000 |
---|---|---|
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-12-02 16:26:55 +0000 |
commit | 520c1315fadc0ddfe8ede28fba62a28a0889ec43 (patch) | |
tree | a24ee6246ce64dadfacfa94949e2c7ff115544f4 /transporthandler.cpp | |
parent | b0094a72d4c25a84b61327c752979f413e2b08f4 (diff) | |
download | phosphor-host-ipmid-520c1315fadc0ddfe8ede28fba62a28a0889ec43.tar.gz phosphor-host-ipmid-520c1315fadc0ddfe8ede28fba62a28a0889ec43.zip |
apphandler: move set acpi power state to new api.
Rewrite "set acpi power state" command to use the newly
introduced ipmi provider API.
Tested:
verified ipmitool set/get acpi power state status is same both
before and after the changes
Command : ipmitool raw 0x06 0x07 // get acpi
Response: 05 03
Command: ipmitool raw 0x06 0x06 0x87 0x82 //set acpi
Response:
Command: ipmitool raw 0x06 0x07 // get acpi
Response: 07 02
Command: ipmitool raw 0x06 0x06 0x88 0x83 // set acpi
Response:
Command: ipmitool raw 0x06 0x07 // get acpi
Response: 08 03
Signed-off-by: Deepak Kumar Sahu <deepakx.sahu@intel.com>
Change-Id: I7dc6edf3d3fd3d0caa98d1b1604e09c6d06675b4
Diffstat (limited to 'transporthandler.cpp')
0 files changed, 0 insertions, 0 deletions