diff options
author | Pradeep Kumar <pradeep1x.kumar@intel.com> | 2019-04-26 17:04:28 +0000 |
---|---|---|
committer | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2019-05-03 03:28:39 +0000 |
commit | 00a18d040be228bb77c322db26cc3d53c8579a50 (patch) | |
tree | 01a6a7e1d219d698ae65dc6b3302eee84ce6e263 /selutility.hpp | |
parent | 5d06cc6dfee3aa0c42bb181dd7e050f4f8f8dd1e (diff) | |
download | phosphor-host-ipmid-00a18d040be228bb77c322db26cc3d53c8579a50.tar.gz phosphor-host-ipmid-00a18d040be228bb77c322db26cc3d53c8579a50.zip |
storagehandler: move delete SEL to new API
Rewritten "Delete SEL" command to use the newly
introduced IPMI provider API.
Tested:
Verified the behavior to be same as previous change.
ipmitool sel delete 5
Unable to delete entry 5: Requested sensor, data,
or record not found
Change-Id: I3b40be056ed1c9b3bb5ac75387c694abe16403b5
Signed-off-by: Pradeep Kumar <pradeep1x.kumar@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'selutility.hpp')
-rw-r--r-- | selutility.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/selutility.hpp b/selutility.hpp index 806f937..d31a65e 100644 --- a/selutility.hpp +++ b/selutility.hpp @@ -86,16 +86,6 @@ struct GetSELEntryResponse uint8_t eventData3; //!< Event Data 3. } __attribute__((packed)); -/** @struct DeleteSELEntryRequest - * - * IPMI payload for Delete SEL Entry command request. - */ -struct DeleteSELEntryRequest -{ - uint16_t reservationID; //!< Reservation ID. - uint16_t selRecordID; //!< SEL Record ID. -} __attribute__((packed)); - static constexpr auto initiateErase = 0xAA; static constexpr auto getEraseStatus = 0x00; static constexpr auto eraseComplete = 0x01; |