From e84841ce7e833d527709c557e9e25829f4e3893c Mon Sep 17 00:00:00 2001 From: Dhruvaraj Subhashchandran Date: Tue, 22 Aug 2017 07:40:27 -0500 Subject: IPMI changes to skip updating non present cores Cores which are not present need not to be updated to inventory. This change is for skipping several updates to inventory based on skipOn value. Change-Id: I29e005a715ccae1df6eeaf35561a20896ecde0ac Signed-off-by: Dhruvaraj Subhashchandran --- types.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'types.hpp') diff --git a/types.hpp b/types.hpp index 41dddd9..d3be704 100644 --- a/types.hpp +++ b/types.hpp @@ -32,8 +32,20 @@ namespace sensor using Offset = uint8_t; +/** + * @enum SkipAssertion + * Matching value for skipping the update + */ +enum class SkipAssertion +{ + NONE, //No skip defined + ASSERT, //Skip on Assert + DEASSERT, //Skip on Deassert +}; + struct Values { + SkipAssertion skip; Value assert; Value deassert; }; -- cgit v1.2.1