diff options
| author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2019-10-16 10:59:02 -0700 |
|---|---|---|
| committer | Jason Bills <jason.m.bills@linux.intel.com> | 2019-10-29 18:42:47 +0000 |
| commit | 5b61b5e8283e79f11a0b6bacddfbade652ace880 (patch) | |
| tree | af3f09abe45962da29f754659a0cf24b08466966 /redfish-core/include | |
| parent | ddfc22f272148f57fe8abb62b7909724970339bf (diff) | |
| download | bmcweb-5b61b5e8283e79f11a0b6bacddfbade652ace880.tar.gz bmcweb-5b61b5e8283e79f11a0b6bacddfbade652ace880.zip | |
Add support for LogService.ClearLog to Crashdump
Tested:
Used Postman to send the LogService.ClearLog action on Crashdump
and verified that the existing logs were cleared and the next new
log started at ID 0.
Passed the Redfish Service Validator.
Change-Id: I9b895b3d2e1865add42e4c35c77f55c8832385da
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'redfish-core/include')
| -rw-r--r-- | redfish-core/include/redfish.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp index d537e9a..2a6dce7 100644 --- a/redfish-core/include/redfish.hpp +++ b/redfish-core/include/redfish.hpp @@ -106,6 +106,7 @@ class RedfishService nodes.emplace_back(std::make_unique<CrashdumpEntryCollection>(app)); nodes.emplace_back(std::make_unique<CrashdumpEntry>(app)); nodes.emplace_back(std::make_unique<CrashdumpFile>(app)); + nodes.emplace_back(std::make_unique<CrashdumpClear>(app)); nodes.emplace_back(std::make_unique<OnDemandCrashdump>(app)); #ifdef BMCWEB_ENABLE_REDFISH_RAW_PECI nodes.emplace_back(std::make_unique<SendRawPECI>(app)); |

