| d3662226 | 14-Oct-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Error code for insertorMerge API
This commit updates insertOrMerge API to set error code in case of error. This helps the caller of API to take action based on the error code returned from the API.
Error code for insertorMerge API
This commit updates insertOrMerge API to set error code in case of error. This helps the caller of API to take action based on the error code returned from the API.
Change-Id: I4bd37c226a7f2f73076d811e641e39159eadf874 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
| 2c04eeb2 | 22-Oct-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Error handling for resetDataUnderPIM API
This commit updates resetDataUnderPIM API to set error code in case of error. This helps the caller of API to take action based on the error code returned fr
Error handling for resetDataUnderPIM API
This commit updates resetDataUnderPIM API to set error code in case of error. This helps the caller of API to take action based on the error code returned from the API.
Change-Id: I71427b473d3094d0b2ea357cdde4d6c4d2627d2b Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
| 17ddfb53 | 09-Oct-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Error code for encodeKeyword API
This commit updates encodeKeyword APIs to set error code in case of error. This helps the caller of API to take action based on the error code returned from the API.
Error code for encodeKeyword API
This commit updates encodeKeyword APIs to set error code in case of error. This helps the caller of API to take action based on the error code returned from the API.
Change-Id: I0cba6191d2ec6ded8e793514086f3e62218cf893 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
| 61741a44 | 16-Oct-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Prime FRUs if only required
Add missed isPrimingRequired check from the previous commit and optimize the return statement in the same API.
Change-Id: I6cf8228a98ef4dbfc6838ae7420fda5eebb5be16 Signe
Prime FRUs if only required
Add missed isPrimingRequired check from the previous commit and optimize the return statement in the same API.
Change-Id: I6cf8228a98ef4dbfc6838ae7420fda5eebb5be16 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
| ca738cf1 | 19-Sep-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Implementation of priming in wait-vpd-parsers
As part of PST priming system inventory and FRUs VPD collection will be part of systemd target, instead of being triggered internally by vpd-manager.
T
Implementation of priming in wait-vpd-parsers
As part of PST priming system inventory and FRUs VPD collection will be part of systemd target, instead of being triggered internally by vpd-manager.
This commit implements priming system blueprint in wait-vpd-parsers application and removes the priming from vpd-manager initialization flow.
``` Testing performed: 1. Removed PIM cache path in the system. 2. Restarted PIM service. systemctl restart xyz.openbmc_project.Inventory.Manager 3. Observed inventory paths are removed under PIM using below command busctl tree xyz.openbmc_project.Inventory.Manager 3. Restarted wait-vpd-parsers service systemctl restart wait-vpd-parsers 4. Observed that system is primed again with all inventory object paths, using below command busctl tree xyz.openbmc_project.Inventory.Manager ```
Change-Id: Ic93f54e909a247587208082830c5ebbe48f69f50 Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
| c6159a29 | 09-Oct-2025 |
Rekha Aparna <vrekhaaparna@ibm.com> |
Move getErrCodeMsg API to common_utility
This commit moves the getErrCodeMsg API from vpd_specific_utility to common_utility file, to make it accessible to the other utility files.
Change-Id: Ib0ae
Move getErrCodeMsg API to common_utility
This commit moves the getErrCodeMsg API from vpd_specific_utility to common_utility file, to make it accessible to the other utility files.
Change-Id: Ib0aeeb2386ba2c55f2447d65a3be18b76eff46f3 Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>
show more ...
|
| 445819fc | 18-Sep-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Prime system blueprint from wait-vpd-parsers
This commit updates wait-vpd-parsers to prime system blueprint. As part of PST VPD collection flow, priming inventory objects needs to be triggered as a
Prime system blueprint from wait-vpd-parsers
This commit updates wait-vpd-parsers to prime system blueprint. As part of PST VPD collection flow, priming inventory objects needs to be triggered as a part of systemd target, instead of being triggered by vpd-manager. This commit only implements only stub APIs under PrimeInventory class.
Change-Id: I144b13192e9ce39461c331c51ed7d4d9e952809c Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
| c0c007de | 29-Aug-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Trigger all FRU VPD collection from wait-vpd-parser
This commit updates wait-vpd-parser to trigger FRU VPD collection. As part of PST VPD collection flow, FRU VPD collection needs to be triggered as
Trigger all FRU VPD collection from wait-vpd-parser
This commit updates wait-vpd-parser to trigger FRU VPD collection. As part of PST VPD collection flow, FRU VPD collection needs to be triggered as a part of systemd target, instead of being triggered internally by vpd-manager. wait-vpd-parser service is triggered by systemd and then it uses vpd-manager's CollectAllFruVpd Dbus API to trigger FRU VPD collection.
Test: ``` - Patch wait-vpd-parser executable and wait-vpd-parsers.service into rainiest simics - Restart wait-vpd-parsers.service - Observe FRU VPD collection is triggered - While FRU VPD collection is in progress, observe wait-vpd-parsers.service goes into retry loop and checks VPD CollectionStatus - Once FRU VPD collection is successful, observe wait-vpd-parsers.service exits with code 0 ```
Change-Id: I6aa5bc302429265faa0563d5e646c3bebd2fc38b Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|
| 480807cf | 29-Aug-2025 |
Anupama B R <anupama.b.r1@ibm.com> |
Use xyz interface in wait VPD parsers service
This commit adds change to use xyz.openbmc_project.Common.Progress interface instead of com.ibm.VPD.Manager to get system VPD collection status in wait
Use xyz interface in wait VPD parsers service
This commit adds change to use xyz.openbmc_project.Common.Progress interface instead of com.ibm.VPD.Manager to get system VPD collection status in wait VPD parser service.
Change-Id: Icba3dc15cdd1e04fb58cb59789d3449e8791beef Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
show more ...
|
| 3e1cb49d | 06-Aug-2025 |
Souvik Roy <souvikroyofficial10@gmail.com> |
Refactor wait-vpd-status from script to executable
This commit implements wait-vpd-status.sh logic as an application written in C++. Moving the logic to C++ allows better error handling and more fle
Refactor wait-vpd-status from script to executable
This commit implements wait-vpd-status.sh logic as an application written in C++. Moving the logic to C++ allows better error handling and more flexibility with respect to future requirements.
Test: ``` 1. Ensure vpd-manager CollectionStatus property is in "Completed" state. 2. Run wait-vpd-parser executable 3. Observe executable waits for 2s, then reads vpd-manager CollectionStatus property and outputs a trace saying VPD collection is completed, and then exits with return code 0 4. Using busctl change vpd-manager CollectionStatus property to "InProgress" 5. Run wait-vpd-parser executable 6. Observe executable waits for 2s, and reads vpd-manager CollectionStatus property for a total of 100 retries. After 100 retries, it outputs a trace saying timeout and exits with return code 1 7. Using busctl change vpd-manager CollectionStatus property to "InProgress" 8. Run wait-vpd-parser executable 9. Observe executable waits for 2s, and reads vpd-manager with retry count starting from 100 and counting down. 10. Now change CollectionStatus property to "Completed" 11. Observe executable reads vpd-manager CollectionStatus property and outputs a trace saying VPD collection is completed, and then exits with return code 0. ```
Change-Id: Ifa96a1262b73f4eacc6e13d4e05c710d6e693035 Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
show more ...
|