summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
authorAsmitha Karunanithi <asmitk01@in.ibm.com>2020-05-07 14:21:47 +0300
committerRatan Gupta <ratagupt@linux.vnet.ibm.com>2020-08-08 12:17:04 +0300
commitf71882ffecef5e64d1f5ad7ef59e811383de7156 (patch)
tree61e93c33799219eeec3b22b89494ab2a6215250e /redfish-core/include/redfish.hpp
parent87f171a8e9c7069baea8b03f7825423563120ea7 (diff)
downloadbmcweb-f71882ffecef5e64d1f5ad7ef59e811383de7156.tar.xz
Redfish: Support for DownloadLog Action
Supports offloading a dump to the client Tested-By: * curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Managers/bmc/LogServices/ Dump/attachment/<dump-id> * curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Systems/system/LogServices/ Dump/attachment/<dump-id> Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: I99bbb50bc171408273744f89220a46bfe64ba4c4
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 2e568da8dc..bdec359a24 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -116,6 +116,7 @@ class RedfishService
nodes.emplace_back(std::make_unique<BMCDumpEntryCollection>(app));
nodes.emplace_back(std::make_unique<BMCDumpEntry>(app));
nodes.emplace_back(std::make_unique<BMCDumpCreate>(app));
+ nodes.emplace_back(std::make_unique<BMCDumpEntryDownload>(app));
nodes.emplace_back(std::make_unique<BMCDumpClear>(app));
#endif