summaryrefslogtreecommitdiffstats
path: root/host-ipmid-whitelist.conf
diff options
context:
space:
mode:
authorYong Li <yong.b.li@linux.intel.com>2018-09-12 12:35:13 +0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2018-09-25 15:17:24 +0000
commitc6713cff6f28a6d78146a7406123e66ce1d5d320 (patch)
tree1edf33dc342edb279aaa1c085e2ad7032165efc1 /host-ipmid-whitelist.conf
parent069db2fd856db744a254120ed3054d49f241ae80 (diff)
downloadphosphor-host-ipmid-c6713cff6f28a6d78146a7406123e66ce1d5d320.tar.gz
phosphor-host-ipmid-c6713cff6f28a6d78146a7406123e66ce1d5d320.zip
Implement chassis set power restore policy command
Implement the IPMI set power restore policy command 0x06. This command can be used to configure the power restore policy. This configuration parameter is kept in nonvolatile storage. The power restore policy determines how the system or chassis behaves when AC power returns after an AC power loss Tested: Run the below command to check the current Power Restore Policy: ipmitool -H <IP> -P 0penBmc -I lanplus chassis status Run the below command to change it: ipmitool -H <IP> -P 0penBmc -I lanplus chassis policy always-off Change-Id: I224912890f9a9e8b4dc98f840cd6f223c9f7dfe5 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Diffstat (limited to 'host-ipmid-whitelist.conf')
-rw-r--r--host-ipmid-whitelist.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/host-ipmid-whitelist.conf b/host-ipmid-whitelist.conf
index a95e99e..2c37ac9 100644
--- a/host-ipmid-whitelist.conf
+++ b/host-ipmid-whitelist.conf
@@ -2,6 +2,7 @@
0x00:0x00 //<Chassis>:<Chassis Capabiliti>
0x00:0x01 //<Chassis>:<Get Chassis Status>
0x00:0x02 //<Chassis>:<Chassis Control>
+0x00:0x06 //<Chassis>:<Set Power Restore Policy>
0x00:0x08 //<Chassis>:<Set System Boot Options>
0x00:0x09 //<Chassis>:<Get System Boot Options>
0x00:0x0F //<Chassis>:<Get POH Counter Command>
OpenPOWER on IntegriCloud