223fe5b5 | 17-Jan-2025 |
Tan Siewert <tan@siewert.io> |
inventory: move serial console to system
SerialConsole was deprecated in Manager v1_10_0 and has been removed in bmcweb [1].
Because the SerialConsole values were not available anymore, the Manager
inventory: move serial console to system
SerialConsole was deprecated in Manager v1_10_0 and has been removed in bmcweb [1].
Because the SerialConsole values were not available anymore, the Managers were not displayed because "setBmcInfo" couldn't find the "SerialConsole" properties. THe following error will be logged:
``` TypeError: Cannot read properties of undefined (reading 'ConnectTypesSupported') at Wa.setBmcInfo (app.25e72670.js:58:745295) at app.25e72670.js:50:2774 at app.25e72670.js:50:10113 at Array.forEach (<anonymous>) at app.25e72670.js:50:10092 at Wa._withCommit (app.25e72670.js:50:11953) at Wa.commit (app.25e72670.js:50:10066) at Wa.commit (app.25e72670.js:50:9518) at o.commit (app.25e72670.js:50:2216) at app.25e72670.js:58:745747 ```
[1]: https://github.com/openbmc/bmcweb/commit/fa800c8a141aa4b209269e0fb50cae34aa24f75d
Tested: BMC manager being listed in the inventory and serial console variables being displayed for the system.
Change-Id: I1a24178717805ca50eef2c89042c0bd9ede1d5bc Signed-off-by: Tan Siewert <tan@siewert.io>
show more ...
|
825059ac | 04-Oct-2024 |
Surya Venkatesan <suryav@ami.com> |
i18n fix after vue3 merge to master
Fix i18n issue in the Power restore policy, Inventory LEDs, and User management page.
After merge the vue3 code to master the i18n Power restore policy, Inventor
i18n fix after vue3 merge to master
Fix i18n issue in the Power restore policy, Inventory LEDs, and User management page.
After merge the vue3 code to master the i18n Power restore policy, Inventory LEDs, and User management page got conflicts and old code retrieved in master. So unable to render the Power restore policy, Inventory LEDs and unable to disable the user in user management page
change the i18n.t method to i18n.global.t for the vue3 support.
Change-Id: I46f3f56632308ceaee321dd896e16e922d964b60 Signed-off-by: Surya Venkatesan <suryav@ami.com>
show more ...
|
de23ea23 | 11-Jul-2024 |
Surya V <suryav@ami.com> |
Vuelidate, I18n, and filter are upgraded to vue3
While navigating to the pages i18n, vuelidate, and filters errors occurred. i18n, and vuelidate code changes in each page adapted to vue3. Filter glo
Vuelidate, I18n, and filter are upgraded to vue3
While navigating to the pages i18n, vuelidate, and filters errors occurred. i18n, and vuelidate code changes in each page adapted to vue3. Filter global function for date and time format implemented in the main.js file and those files which as called the filter functions.
Change-Id: If1a2ee22d47750faef1c35ef2c263299067d9a20 Signed-off-by: Surya Venkatesan <suryav@ami.com>
show more ...
|
7d6b44cb | 23-Mar-2024 |
Ed Tanous <ed@tanous.net> |
Upgrade vue3 and all dependencies
Start the process of porting everything to Vue 3. I have most things working. npm run-scripts build works, npm install works. prettier passes. Styles load, logi
Upgrade vue3 and all dependencies
Start the process of porting everything to Vue 3. I have most things working. npm run-scripts build works, npm install works. prettier passes. Styles load, login works, webui loads.
This was primarily done using the linked documents below. It makes the following design decisions: 1. Vue is put in compat 2 mode, which allows most of the components to work as-is. 2. Bootstrap v4 is used along with bootstrap-vue to keep our components working. 3. Minor changes are made to load the latest versions of vue-router, vuex, and vue-i18n.
I suspect this patchset is good enough to start with, and we can clean up the broken things one patchset at a time. The things that need to happen are:
1. Get remaining features working again. This primiarily is vue-i18n for mixins, and non vue components. This likely needs to be done by not pulling in i18n into the non vue components, then using the .Vue files to do the internationalization in the component context, NOT in the mixin context. Alternatively, we could drop MixIns alltogether. 2. Get custom styles working again. Previously, we used some path hackery in vue.config.js to optionally pre-load styles. This stops working now that we're required to @import our modules. Likely we need some rearangement of the paths such that custom styles are a complete replacement (possibly importing the original) rather than additive with overrides. That's a guess, but I don't really see anyone else doing customization the way we've defined it here. 3. Bootstrap 5 no longer requires ANY custom vue modules, as it has dropped the jquery dependency. We won't be able to pull in bootstrap 5 all at once, so pull in bootstrap 5 under an alias, like "bootstrap5" that we can optionally import 5 or 4. 4. One at a time, start porting components over to Vue3 syntax and bootstrap 5. This will be the bulk of the manual work and review.
The only thing I think left is getting unit tests passing, which I commented out the pre-commit hook to make this PR.
Tested: Code builds. Needs better testing.
[1] https://router.vuejs.org/guide/migration/ [2] https://vue-i18n.intlify.dev/guide/migration/vue3 [3] https://vuelidate-next.netlify.app/migration_guide.html#package-name-and-imports
Change-Id: I5bb3187b9efbf2e4ff63e57994bc528756e2a981 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
db2940a8 | 25-Jul-2024 |
Farah Rasheed <Farah.Rasheed1@dell.com> |
Add status state info to inventory tables
Add status state information to the inventory tables for fans and power supplies.
Also updates sortCompare to be able to sort by the state.
Change-Id: Ic8
Add status state info to inventory tables
Add status state information to the inventory tables for fans and power supplies.
Also updates sortCompare to be able to sort by the state.
Change-Id: Ic830dd0867daee0bf6052a5d1cff5592b98fc009 Signed-off-by: Farah Rasheed <Farah.Rasheed1@dell.com>
show more ...
|
f11a1901 | 09-May-2024 |
Nikhil Ashoka <a.nikhil@ibm.com> |
Added toast notification for identify LEDs
- Added success toast notification messages for identify LEDs present at Inventory and LEDs page and Overview.
- Import of Toast was not present in Over
Added toast notification for identify LEDs
- Added success toast notification messages for identify LEDs present at Inventory and LEDs page and Overview.
- Import of Toast was not present in Overview's Inventory card and DIMM slot table, fixed it.
Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: If9ad84e66f6f15616cb8af51b1e84d8d06b1afd0
show more ...
|
f44b3fcc | 09-Jan-2024 |
Glukhov Mikhail <mikl@greenfil.ru> |
Added State columns for the processor table
When a processor is present: Old behavior: Health = Ok (green color) New behavior: Health = Ok (green color), State = Enabled (green color)
In the absenc
Added State columns for the processor table
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>
show more ...
|
8132399c | 27-Feb-2024 |
Ed Tanous <ed@tanous.net> |
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.ne
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
73d255b6 | 16-Jan-2024 |
Glukhov Mikhail <mikl@greenfil.ru> |
Inventory: replacement of FAN ID with Name
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 expa
Inventory: replacement of FAN ID with Name
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>
show more ...
|
5d86af86 | 09-Oct-2023 |
HuyLe <hule@amperecomputing.com> |
Add State to DIMM slot inventory summary
Add state information in DIMM slot inventory summary so that users can know if the DIMM slot has DIMM plugged or not.
Change-Id: Id9b7ebb2079762b354b418d060
Add State to DIMM slot inventory summary
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>
show more ...
|
6a3b7b5d | 14-Jul-2023 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
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
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 <aladyshev22@gmail.com>
show more ...
|
af76e2bc | 15-Jun-2023 |
Jason M. Bills <jason.m.bills@intel.com> |
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
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>
show more ...
|
d0b078f6 | 24-Dec-2022 |
Glukhov Mikhail <mikl@greenfil.ru> |
Reducing values to a common format
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
Reducing values to a common format
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>
show more ...
|
3bf966a7 | 07-Feb-2023 |
kirankumarb07 <kirankumarb@ami.com> |
Add translation for a few missing UI elements
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
Add translation for a few missing UI elements
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>
show more ...
|
ba60e9c3 | 21-Nov-2022 |
Glukhov Mikhail <mikl@greenfil.ru> |
Removed the MemorySize
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: I12f37a60
Removed the MemorySize
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>
show more ...
|
b24a483e | 02-Nov-2022 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
Display DIMM identify LED element only if LED is present
If identify LED for the DIMM module is not present, don't display control element for it.
Signed-off-by: Konstantin Aladyshev <aladyshev22@g
Display DIMM identify LED element only if LED is present
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
show more ...
|
41057853 | 27-Dec-2021 |
Kenneth Fullbright <kennyneedsmilky@gmail.com> |
Set table busy state on load
- Add busy prop to tables
Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I4416f12967c9a0ad6c8bb782c7d8de5c17fdd195 |
18cde3ce | 05-Jan-2022 |
Nikhil Ashoka <a.nikhil@ibm.com> |
Add values to system inventory table
TotalSystemMemoryGiB and CoreCount field is not present.
Added TotalSystemMemoryGiB under Memory summary Added CoreCount under Processor summary
Signed-off-by:
Add values to system inventory table
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
show more ...
|
d600bb52 | 20-Dec-2021 |
Kenneth Fullbright <kennyneedsmilky@gmail.com> |
Fixed Assembly table Identify LED switches
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-
Fixed Assembly table Identify LED switches
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
show more ...
|
61fdd942 | 27-Dec-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
Add missing properties to Dimms table
- Added the following properties: Base module type, Bus width bits, Capacity MiB, Data width bits, Enabled, Operating speed Mhz
- Design has been updated for D
Add missing properties to Dimms table
- 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
show more ...
|
799bcd3f | 17-Dec-2021 |
Kenneth Fullbright <kennyneedsmilky@gmail.com> |
Add assembly table component name to table
Replaced id key with name key
Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I7ce8798aac108841a13f24799cc35e7b5b261933 |
c6899362 | 19-Oct-2021 |
Thang Q. Nguyen <thang@os.amperecomputing.com> |
Fix wrong System Manufacturer in Hardware Inventory
System Manufacturer inside HardwareStatus -> Inventory mistakenly uses assetTag instead of manufacturer. Fix the issue by using item.manufacturer
Fix wrong System Manufacturer in Hardware Inventory
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
show more ...
|
7511045c | 26-Oct-2021 |
Dixsie Wolmers <dixsie@ibm.com> |
Remove tableFormatter and use dataFormatter on assemblies table
tableFormatter was replaced with dataFormatter in a previous commit
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8d804
Remove tableFormatter and use dataFormatter on assemblies table
tableFormatter was replaced with dataFormatter in a previous commit
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8d804a635d6773c55e09cb61014f51b74ff9ad5
show more ...
|
81876788 | 27-Sep-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
Add Dimms table missing properties
- Added the following properties: Model, Description, Spare part number, Location Number, Memory type, Memory size, Identify led
- Design has been updated for Dim
Add Dimms table missing properties
- 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
show more ...
|
9f6592f7 | 08-Oct-2021 |
Dixsie Wolmers <dixsie@ibm.com> |
Remove extra link in inventory quicklinks
Extra system quicklink was added during the IA update.
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9ec10f853e71e7c287392d5462abe25115855f22 |