diff options
author | Joshi-Mansi <mansi.joshi@linux.intel.com> | 2021-03-19 01:00:17 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2021-04-21 22:26:56 +0300 |
commit | 9a128eb3fc3008f802974360e98de6495ed1a66b (patch) | |
tree | a02d61f296cd117c8c04c66448770c5c9499e4b9 /redfish-core/lib/task.hpp | |
parent | 601af5ed832deae3f525064d94bb5a65b04554ae (diff) | |
download | bmcweb-9a128eb3fc3008f802974360e98de6495ed1a66b.tar.xz |
bmcweb:Check for dimm presense for State Attribute
The state attribute was showing Enabled even if dimm was not present.
Added Present property under Inventory Item interface to read the dimm
presence and accordingly populate jsonValue["Status"]["State"]
to Enabled or Absent.
Tested:
-Get of redfish/v1/Systems/system/Memory/dimm shows correct
State values in both the cases.
-Redfish validator passed.
Signed-off-by: Joshi-Mansi <mansi.joshi@linux.intel.com>
Change-Id: I0629fffcc8ca5abf09dd645af6640341d37e446e
Diffstat (limited to 'redfish-core/lib/task.hpp')
0 files changed, 0 insertions, 0 deletions