summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYong Li <yong.b.li@linux.intel.com>2019-10-10 09:19:01 +0300
committerYong Li <yong.b.li@intel.com>2019-10-25 03:49:01 +0300
commitc45f00821add8cd29cbd148d4b4b9f6e988665cf (patch)
tree7e49c27091f46f714df8b26e926b7e0122ffdaf4 /include
parent51709ffd22973ca2212f221e80e72984627c80c1 (diff)
downloadbmcweb-c45f00821add8cd29cbd148d4b4b9f6e988665cf.tar.xz
Support PATCH for HostWatchDogTimer in redfish
This commit adds support for SET DBUS properties "Enabled" and "ExpireAction" for WatchDogTimer in the Redfish ComputerSystems schema. FunctionEnabled values can be false/true . TimeoutAction values can be "None","PowerCycle","PowerDown","ResetSystem". Tested: Modify the watchdog properties: curl --noproxy $BMCIP -k -H "Content-Type: application/json" -X PATCH \ https://root:0penBmc@$BMCIP/redfish/v1/Systems/system -d \ '{"WatchdogTimer":{"FunctionEnabled": false,"TimeoutAction": "PowerCycle"}}' Check them: curl --noproxy $BMCIP -k -H "Content-Type: application/json" -X GET \ https://root:0penBmc@$BMCIP/redfish/v1/Systems/system ipmitool mc watchdog get Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Change-Id: Ie41232a56b3d0a62be76ae27d6ded8920f7b9407
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions