History log of /openbmc/openpower-vpd-parser/wait-vpd-parser/src/wait_vpd_parser.cpp (Results 1 – 4 of 4)
Revision Date Author Comments
# 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 ...