bmcweb is case sensitive, fix DeleteAll
bmcweb is the default webserver. It is case sensitive
for method names.
Similar changes to openbmctool were made here:
https://github.com/openbmc/openbmc-tools/commit/47b13e9f1f2520f97b4134f5a3af7a307abd0a05
curl -k -X POST \
-d '{"data" : []}' \
https://${bmc}/xyz/openbmc_project/logging/action/deleteAll
{
"data": {
"description": "The specified method cannot be found"
...
curl -k -X POST \
-d '{"data" : []}' \
https://${bmc}/xyz/openbmc_project/logging/action/DeleteAll
{
"data": null,
"message": "200 OK",
"status": "ok"
Change-Id: I3e0be8c46523d074ed857e228d2041d01721c8de
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/host-management.md b/host-management.md
index 88b9eee..08a6cc5 100644
--- a/host-management.md
+++ b/host-management.md
@@ -165,11 +165,11 @@
-d '{"data" : []}' \
https://${bmc}/xyz/openbmc_project/logging/entry/1/action/Delete
-To clear all event logs, call the top-level `deleteAll` method:
+To clear all event logs, call the top-level `DeleteAll` method:
curl -b cjar -k -H "Content-Type: application/json" -X POST \
-d '{"data" : []}' \
- https://${bmc}/xyz/openbmc_project/logging/action/deleteAll
+ https://${bmc}/xyz/openbmc_project/logging/action/DeleteAll
Host Boot Options
-----------------