#
e912015a |
| 02-Jul-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
DeleteFruVpd:Conditional FRU deletion
This commit adds a check in deleteFruVpd API to prevent deletion of FRUs which are present and whose presence is handled by external service.
``` Test: - On Ev
DeleteFruVpd:Conditional FRU deletion
This commit adds a check in deleteFruVpd API to prevent deletion of FRUs which are present and whose presence is handled by external service.
``` Test: - On Everest system, see fan0 VPD is present on PIM - Set "Present" property of fan0 to false using busctl - See fan0 VPD is cleared from PIM - Set "Present" property of fan0 to true using busctl - Execute DeleteFruVpd API from vpd-manager D-Bus interface - DeleteFruVpd fails - Check VPD of pcie_card2 using vpd-tool and see it is present - Execute deleteFruVpd on pcie_card2 and see it is successful ```
Change-Id: I69e3f805e3170d86befd95b2efc1a59069d762d6 Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
#
495eedd1 |
| 02-Jul-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Listener:Implement Present property callback
This commit implements Present property callback in Listener. For hotPluggable FRUs whose present property is toggled by external application based on th
Listener:Implement Present property callback
This commit implements Present property callback in Listener. For hotPluggable FRUs whose present property is toggled by external application based on their actual presence detection, vpd-manager needs to monitor "Present" property and collect/delete FRU VPD accordingly.
Test: ``` - On Everest system, toggle Present property of fan0 from busctl - Observer callback getting triggered ```
Change-Id: Ia558306417adf18155b5b363fc9caa797bda250f Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
#
410d96ca |
| 09-May-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Add action name in isActionRequired API trace
This commit adds action name to trace in json utility's isActionRequired API. Adding the action name makes the trace more comprehensible.
Change-Id: I2
Add action name in isActionRequired API trace
This commit adds action name to trace in json utility's isActionRequired API. Adding the action name makes the trace more comprehensible.
Change-Id: I29a4c71d3c3bc403332a14f2ba4b0250bb01133a Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
#
3e9f63c0 |
| 23-Apr-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Enhance getParsedJson API log
This commit adds the path to JSON to a error log in getParsedJson API. The path to JSON in the log will help in debugging any failures while parsing a JSON.
Change-Id:
Enhance getParsedJson API log
This commit adds the path to JSON to a error log in getParsedJson API. The path to JSON in the log will help in debugging any failures while parsing a JSON.
Change-Id: Iafde4d6ff50e191573ec4349d44d8bf70350c5ad Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
#
c09e210b |
| 23-Apr-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Continue execution on any GPIO exception
In case there is any issue with reading of presence GPIO, the code should check if the required EEPROM file exists. If found and can be parsed then instead o
Continue execution on any GPIO exception
In case there is any issue with reading of presence GPIO, the code should check if the required EEPROM file exists. If found and can be parsed then instead of exiting collection for the FRU, the code will log an informational PEL for the error and will continue with the execution. This is required so that we don't exit collection for an intermediate error when the collection can be successfully done.
Change-Id: I889668a0e765cc6df7e5df174c7a80c133892d18 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
#
0a5fce1e |
| 09-Apr-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Update PELs while parsing FRU
Severity of PEL needs to be updated as informational in case any of the FRU collection fails for reason other than EEPROM or data failure, for which the severity will b
Update PELs while parsing FRU
Severity of PEL needs to be updated as informational in case any of the FRU collection fails for reason other than EEPROM or data failure, for which the severity will be handled by the specific parser.
This is done as successful collection of a FRU other than system VPD is not a mandatory condition to bring BMC to ready state.
In case of failure in the processing of pre action, to figure out what failed in the flow, informational PEL is added while processing pre-action tags.
No error in case the file is not found and pre-action was not required as FRU can be actually absent.
Empty map is also not considered for logging PEL in worker as respective parser should take care of any error and log PEL at their end.
Change-Id: I4adf5be3adeb5ca556b1b4283e3036361793b108 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
#
08fa59ea |
| 06-Mar-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Move single FAB API under the separate class
SingleFab class provides functionalities to support single FAB feature. This commit moves the single FAB related API under SingleFab class.
Change-Id: I
Move single FAB API under the separate class
SingleFab class provides functionalities to support single FAB feature. This commit moves the single FAB related API under SingleFab class.
Change-Id: I8d55cd2134f5812f83f5fc5033df097ab1b1f8f2 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
#
7fea9f50 |
| 17-Feb-2025 |
RekhaAparna01 <vrekhaaparna@ibm.com> |
Refactor exception handling for json_utility APIs
This commit adds code to handle exceptions for some of the json_utility APIs. Each API will have output returned in case of error based on the retur
Refactor exception handling for json_utility APIs
This commit adds code to handle exceptions for some of the json_utility APIs. Each API will have output returned in case of error based on the return type of the API instead of throwing an exception.
Also updated the caller of the json_utility APIs to handle the return value.
Change-Id: I154a90d5edbbca7441f75a153b908914de83471d Signed-off-by: RekhaAparna01 <vrekhaaparna@ibm.com>
show more ...
|
#
ef069f7e |
| 03-Mar-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
API to read IM value from persisted location
This commit implements API to read IM value from PIM persisted location.
Change-Id: I9cd4f6ed9ded2dd4f42c65902509f7bea9e15849 Signed-off-by: Anupama B R
API to read IM value from persisted location
This commit implements API to read IM value from PIM persisted location.
Change-Id: I9cd4f6ed9ded2dd4f42c65902509f7bea9e15849 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
#
022112bc |
| 19-Feb-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
JSON and API prototype to update powerVS VPD
The commit introduces JSON file to hold the VPD that needs to be updated for systems with PowerVS configuration.
It also adds API to fetch JSON as per s
JSON and API prototype to update powerVS VPD
The commit introduces JSON file to hold the VPD that needs to be updated for systems with PowerVS configuration.
It also adds API to fetch JSON as per system IM and prototype for API which will checks the existing data and based on that will either skip or update the VPD.
Change-Id: I5c279ce210831667be669c2a7c9c7d9c160de336 Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
#
c11e8b61 |
| 20-Feb-2025 |
RekhaAparna01 <vrekhaaparna@ibm.com> |
Exception handling for json_utility APIs
This commit refactors some of the json_utility APIs to handle any exceptions thrown by it locally and only return success or failure from the API.
Change-Id
Exception handling for json_utility APIs
This commit refactors some of the json_utility APIs to handle any exceptions thrown by it locally and only return success or failure from the API.
Change-Id: If1d253367ad730e7f3049e8aa5d445d12ee0a057 Signed-off-by: RekhaAparna01 <vrekhaaparna@ibm.com>
show more ...
|
#
1ef21008 |
| 18-Feb-2025 |
RekhaAparna01 <vrekhaaparna@ibm.com> |
Exception handling for json_utility APIs
This commit adds code to handle exceptions for some of the json_utility APIs. Each API will have output returned in case of error based on the return type of
Exception handling for json_utility APIs
This commit adds code to handle exceptions for some of the json_utility APIs. Each API will have output returned in case of error based on the return type of the API instead of throwing an exception.
Also updated the caller of the json_utility APIs to handle the return value.
Change-Id: Ib43028974b61c18a0edae96608a8764cb440234a Signed-off-by: RekhaAparna01 <vrekhaaparna@ibm.com>
show more ...
|
#
43fedabc |
| 03-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Id8301a67d945f8a3d1ceb87ae59087100338119c Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Id8301a67d945f8a3d1ceb87ae59087100338119c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
4c164381 |
| 28-Jan-2025 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Update JSON tag to follow camel case
JSON tag for post fail action has been modified to follow camel case. Worker code has been modified accordingly.
Change-Id: I20960a2bdac13cca9f426d04e37247c5ebb
Update JSON tag to follow camel case
JSON tag for post fail action has been modified to follow camel case. Worker code has been modified accordingly.
Change-Id: I20960a2bdac13cca9f426d04e37247c5ebb62ddb Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|
#
fa5e4d32 |
| 12-Mar-2023 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Revamped code for VPD parser
The commit removes all the pre-existing code from the branch and pushes the revamped code.
Major modification includes: - Movement from multi exe to single daemon model
Revamped code for VPD parser
The commit removes all the pre-existing code from the branch and pushes the revamped code.
Major modification includes: - Movement from multi exe to single daemon model. - Multithreaded approach to parse FRU VPD. - Better error handling. - Refactored code for performance optimization.
Note: This code supports all the existing functionalities as it is.
Change-Id: I1ddce1f0725ac59020b72709689a1013643bda8b Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
show more ...
|