summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@intel.com>2023-06-15 18:20:34 +0300
committerKiran Kumar Ballapalli <kirankumarb@ami.com>2023-06-20 06:36:44 +0300
commitaf76e2bc3e756a5325478cada4e643d82e7b466e (patch)
treeaaeec1abc9d77e0481b2f6f2f436509eeed9996a /src/store/modules/HardwareStatus
parent65fa7bf8c8bb0f3f856c69f7d8aa61808ad6994a (diff)
downloadwebui-vue-af76e2bc3e756a5325478cada4e643d82e7b466e.tar.xz
Add fields to the DIMM inventory table
There is a request to see three additional fields from Redfish in the DIMM inventory table: https://github.com/openbmc/webui-vue/issues/107. This change adds Manufacturer, Error correction, and Rank count data from Redfish into the DIMM inventory table. Tested: Confirmed that the three fields show in the table with the correct data from Redfish. Change-Id: I6f1fc5103649abf8350e5b5c107c11eea3d1a599 Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
Diffstat (limited to 'src/store/modules/HardwareStatus')
-rw-r--r--src/store/modules/HardwareStatus/MemoryStore.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/store/modules/HardwareStatus/MemoryStore.js b/src/store/modules/HardwareStatus/MemoryStore.js
index c166d831..81996a7d 100644
--- a/src/store/modules/HardwareStatus/MemoryStore.js
+++ b/src/store/modules/HardwareStatus/MemoryStore.js
@@ -20,8 +20,11 @@ const MemoryStore = {
CapacityMiB,
DataWidthBits,
Enabled,
+ ErrorCorrection,
+ Manufacturer,
OperatingSpeedMhz,
PartNumber,
+ RankCount,
SerialNumber,
SparePartNumber,
Description,
@@ -38,7 +41,10 @@ const MemoryStore = {
dataWidthBits: DataWidthBits,
operatingSpeedMhz: OperatingSpeedMhz,
enabled: Enabled,
+ errorCorrection: ErrorCorrection,
+ manufacturer: Manufacturer,
partNumber: PartNumber,
+ rankCount: RankCount,
serialNumber: SerialNumber,
statusState: Status.State,
sparePartNumber: SparePartNumber,