summaryrefslogtreecommitdiff
path: root/src/views/HardwareStatus
AgeCommit message (Collapse)AuthorFilesLines
2024-03-07Added State columns for the processor tableGlukhov Mikhail1-0/+22
When a processor is present: Old behavior: Health = Ok (green color) New behavior: Health = Ok (green color), State = Enabled (green color) In the absence of a processor: Old behavior: Health = Critical (error red color) New behavior: Health = Ok (green color), State = Absent (warning yellow) Tested manually on my system with 1 CPU present and 1 CPU missing Change-Id: I33f8d94cbb5dcfd6a33b4b3ca379d2323362caca Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
2024-03-05Reformat files with new linterEd Tanous1-1/+1
All changes should be whitespace, and were done using npm run-script lint. Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
2024-02-23Inventory: replacement of FAN ID with NameGlukhov Mikhail1-5/+5
With a large number of FANs, a list of names is much easier to read than a list of IDs. Now the Name is in the header of the row, and the ID only when expanded. Change-Id: Ic8a08e28db7f747f9765f45dbbda504bf827fb25 Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
2023-10-23Add State to DIMM slot inventory summaryHuyLe1-0/+29
Add state information in DIMM slot inventory summary so that users can know if the DIMM slot has DIMM plugged or not. Change-Id: Id9b7ebb2079762b354b418d060d4a1223273b50d Signed-off-by: HuyLe <hule@amperecomputing.com>
2023-07-14Drop processor and memory summary status displayKonstantin Aladyshev1-18/+0
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 <aladyshev22@gmail.com>
2023-06-20Add fields to the DIMM inventory tableJason M. Bills1-0/+15
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>
2023-02-14Reducing values to a common formatGlukhov Mikhail6-12/+48
I use this patch to convert all values into the format <Description>:<Value><Unit of Measure>. I put the units of measure in a separate localization area in order to use them in the sensor page in the future. Change-Id: Ic6554860c4185bc4d681a97205051799c6637b5c Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
2023-02-13Add translation for a few missing UI elementskirankumarb071-1/+5
On the sensor page and user management page, some of the strings are not getting translated to the selected language. I have added this patch to add the multiple language strings to the missing strings. Change-Id: I03ca43bb81708f85e913e39c6dfa24ab7f3de876 Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
2022-12-19Removed the MemorySizeGlukhov Mikhail1-8/+3
Removed the MemorySize field for DIMMs, because it is missing in Redfish ``` https://www.dmtf.org/sites/default/files/standards/documents/DSP8010.zip ``` Change-Id: I12f37a601e429060765960f3c66b5249b84eabe7 Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
2022-11-11Display DIMM identify LED element only if LED is presentKonstantin Aladyshev1-0/+5
If identify LED for the DIMM module is not present, don't display control element for it. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I30f7e3ad9333874bbeb2050c421baf509bb833fc
2022-02-04Set table busy state on loadKenneth Fullbright9-3/+30
- Add busy prop to tables Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I4416f12967c9a0ad6c8bb782c7d8de5c17fdd195
2022-01-28Add values to system inventory tableNikhil Ashoka1-1/+7
TotalSystemMemoryGiB and CoreCount field is not present. Added TotalSystemMemoryGiB under Memory summary Added CoreCount under Processor summary Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I598abc7c05dd5113db0071ecd71bbcc32ad696c4
2022-01-07Fixed Assembly table Identify LED switchesKenneth Fullbright1-0/+1
Identify LED should toggle on/off successfully Rewrote the patch code to work with the Redfish schema Set LocationIndicatorActive to true: curl -k -H "X-Auth-Token: $token" -X PATCH -d ' { "Assemblies":[ {"MemberId" : "0", "LocationIndicatorActive":true}, {"MemberId": "1", "LocationIndicatorActive":true} ] }' https://${bmc}/redfish/v1/Chassis/chassis/Assembly MemberId is required to reference which assembly LED to toggle Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: Id0a3cf4dc533f6a0205be9fd037b13f92647cc00
2022-01-07Add missing properties to Dimms tableSandeepa Singh1-6/+43
- Added the following properties: Base module type, Bus width bits, Capacity MiB, Data width bits, Enabled, Operating speed Mhz - Design has been updated for Dimms table Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ifd77071abd9544120c1904065275ccc00dd8d862
2021-12-21Add assembly table component name to tableKenneth Fullbright1-1/+1
Replaced id key with name key Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I7ce8798aac108841a13f24799cc35e7b5b261933
2021-11-04Fix wrong System Manufacturer in Hardware InventoryThang Q. Nguyen1-1/+1
System Manufacturer inside HardwareStatus -> Inventory mistakenly uses assetTag instead of manufacturer. Fix the issue by using item.manufacturer for Manufacturer. Tested: 1. Login to WebUI and check if System Manufacturer shows correctly. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ib856e8b66c49dbb71506f45c4c01dbcb79bea52c
2021-11-04Remove tableFormatter and use dataFormatter on assemblies tableDixsie Wolmers1-8/+8
tableFormatter was replaced with dataFormatter in a previous commit Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8d804a635d6773c55e09cb61014f51b74ff9ad5
2021-10-28Add Dimms table missing propertiesSandeepa Singh1-12/+65
- Added the following properties: Model, Description, Spare part number, Location Number, Memory type, Memory size, Identify led - Design has been updated for Dimms table on inventory page Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ife61396bd70c29df1b5ea55091adc8c6813b5cdc
2021-10-19Remove extra link in inventory quicklinksDixsie Wolmers1-6/+0
Extra system quicklink was added during the IA update. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9ec10f853e71e7c287392d5462abe25115855f22
2021-09-24Rename TableDataFormatter mixin to DataFormatterDixsie Wolmers10-137/+136
Mixin was renamed to reflect usage on all components, not only tables. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic962ba879fffa39b9f6f93446771fbf6f67915d0
2021-09-23Add Assemblies schema to Hardware Status - Inventory and LEDsSneha Patel2-0/+164
Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: I1a4edae664d008a4f618d03d62e2319d8157ed6d
2021-09-14Remove unnecessary span from toggle componentSneha Patel2-6/+0
A span element was removed that was added to support assistive technology.This element was not needed since it was the same text used in the toggle elements label causing it to be read twice by screen readers. Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: If56d6062c53e7e1ea47a8bf0b2ea17b085ead272
2021-08-31Update the design of system tableSandeepa Singh1-10/+11
- Add left margins for sections associated with Memory summary and Processor summary Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ie35eeb8ecd2cc373cf3ada8915b267d7770e2916
2021-08-20Add system attention indicatorsSukanya Pandey3-8/+102
- Different LEDs and statuses will be added to hardware status page - Status for power will be shown and LED included is System identify Led Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I8689f7bf3cc02a7a90379ec50b005bf344c091e4
2021-08-16Fix translation bug in bmc manager tableSandeepa Singh1-9/+3
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I873a2892ce9d65a87e421d68347aa2d9dd8a95e9
2021-08-10IA update: Update health sectionSandeepa Singh11-0/+1885
This is the second update to information architecture changes and has the following changes: - Health section is updated to hardware status section - Hardware status page is updated to inventory and LEDs page - Route for sensors page has been updated Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999