From 6a3b7b5d65375b8039d42923e5fce99f66c62d87 Mon Sep 17 00:00:00 2001
From: Konstantin Aladyshev
Date: Fri, 14 Jul 2023 17:02:28 +0300
Subject: Drop processor and memory summary status display
Redfish deprecated the Processor/Memory Summary Status (state, health,
healthrollup) attributes. Please refer to redfish spec for more details:
https://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_20_0.json
These attributes are already removed from the bmcweb code:
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62731
So currently webui-vue tries to access not present attributes and fails,
and since these fields are not marked as optional, 'Server Overview'
card fails to display.
Drop processor and memory summary status attributes handling to correct
the issue.
Change-Id: I7fb956a0a310c6bd85560169b1ca0a64c19dc824
Signed-off-by: Konstantin Aladyshev
---
.../HardwareStatus/Inventory/InventoryTableSystem.vue | 18 ------------------
1 file changed, 18 deletions(-)
(limited to 'src/views/HardwareStatus')
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
index e62f5006..3eb7ca29 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
@@ -104,15 +104,6 @@
{{ $t('pageInventory.table.memorySummary') }}
-
- - {{ $t('pageInventory.table.statusState') }}:
- - {{ dataFormatter(item.memorySummaryState) }}
-
- - {{ $t('pageInventory.table.health') }}:
- - {{ dataFormatter(item.memorySummaryHealth) }}
-
- - {{ $t('pageInventory.table.healthRollup') }}:
- - {{ dataFormatter(item.memorySummaryHealthRollup) }}
- {{ $t('pageInventory.table.totalSystemMemoryGiB') }}:
-
@@ -125,15 +116,6 @@
{{ $t('pageInventory.table.processorSummary') }}
-
- - {{ $t('pageInventory.table.statusState') }}:
- - {{ dataFormatter(item.processorSummaryState) }}
-
- - {{ $t('pageInventory.table.health') }}:
- - {{ dataFormatter(item.processorSummaryHealth) }}
-
- - {{ $t('pageInventory.table.healthRollup') }}:
- - {{ dataFormatter(item.processorSummaryHealthRoll) }}
- {{ $t('pageInventory.table.count') }}:
- {{ dataFormatter(item.processorSummaryCount) }}
--
cgit v1.2.3