Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpd-manager:Check for essential FRUs #524

Draft
wants to merge 1 commit into
base: 1110
Choose a base branch
from

Conversation

PriyangaRamasamy
Copy link

This commit implements an API to check if all the essential FRUs are present on the system. If not error is logged.

Test:

  1. Essential FRU not found busctl set-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/base_op_panel_blyth xyz.openbmc_project.Inventory.Item Present b false

vpd-manager[1577]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/ vpd-manager/src/manager.cpp, Line: 884, Func: void vpd::Manager::checkEssentialFrus(), Essential FRU /xyz/openbmc_project/ inventory/system/chassis/motherboard/base_op_panel_blyth not present.

Change-Id: Ibeba4b9064907a7751c6ed3ec79b966fa44feca9

This commit implements an API to check if all the essential FRUs
are present on the system. If not error is logged.

Test:
1. Essential FRU not found
busctl set-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/base_op_panel_blyth
xyz.openbmc_project.Inventory.Item Present b false

vpd-manager[1577]: FileName: /usr/src/debug/openpower-fru-vpd/1.0+git/
vpd-manager/src/manager.cpp, Line: 884, Func: void
vpd::Manager::checkEssentialFrus(), Essential FRU /xyz/openbmc_project/
inventory/system/chassis/motherboard/base_op_panel_blyth not present.

Change-Id: Ibeba4b9064907a7751c6ed3ec79b966fa44feca9
Signed-off-by: Priyanga Ramasamy <[email protected]>
@PriyangaRamasamy
Copy link
Author

PriyangaRamasamy commented Jan 8, 2025

Will hold this PR until we get a requirement to have essential FRU check in 1110

@PriyangaRamasamy PriyangaRamasamy marked this pull request as draft January 8, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant