diff options
author | Anthony Wilson <wilsonan@us.ibm.com> | 2019-03-13 15:36:29 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2019-04-17 14:03:50 +0000 |
commit | 4b7fcd6212541020135d21f07cf590657bbcf29b (patch) | |
tree | fa12c8898bc2adea32fdbba75ac75a6003f09b2a | |
parent | 8551127f0bb4fb220de3d875a2719a58bf78eaf4 (diff) | |
download | openbmc-docs-4b7fcd6212541020135d21f07cf590657bbcf29b.tar.gz openbmc-docs-4b7fcd6212541020135d21f07cf590657bbcf29b.zip |
redfish: Update for system and logging changes
Updated to reflect the latest developments in Systems and
LogServices:
openbmc/bmcweb:
029573: bmcweb: Implement single Redfish "system" endpoint
323893: Initial redfish logging support
Change-Id: I8995e7f76d742bbbba49c352b30b9c539982fc77
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
-rw-r--r-- | REDFISH-cheatsheet.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/REDFISH-cheatsheet.md b/REDFISH-cheatsheet.md index 7f3bad9..4a30c7f 100644 --- a/REDFISH-cheatsheet.md +++ b/REDFISH-cheatsheet.md @@ -30,31 +30,31 @@ commands for OpenBMC usage. * Host soft power off: ``` - $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset -d '{"ResetType": "GracefulShutdown"}' + $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "GracefulShutdown"}' ``` * Host hard power off: ``` - $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset -d '{"ResetType": "ForceOff"}' + $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "ForceOff"}' ``` * Host power on: ``` - $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset -d '{"ResetType": "On"}' + $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "On"}' ``` * Reboot Host: ``` - $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/1/Actions/ComputerSystem.Reset -d '{"ResetType": "GracefulRestart"}' + $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "GracefulRestart"}' ``` * Display logging entries: ``` - $ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Systems/1/LogServices/SEL/Entries + $ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Systems/system/LogServices/EventLog/Entries ``` * Delete logging entries: ``` - $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/1/LogServices/SEL/Actions/LogService.Reset + $ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${bmc}/redfish/v1/Systems/system/LogServices/EventLog/Actions/LogService.Reset ``` [1]: https://www.dmtf.org/standards/redfish |