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

PLDM: Handle FRU Record Set PDR #2817

Open
tomjoseph83 opened this issue Dec 16, 2020 · 2 comments
Open

PLDM: Handle FRU Record Set PDR #2817

tomjoseph83 opened this issue Dec 16, 2020 · 2 comments
Assignees
Labels
In Review Migrate-No Do not migrate to Jira prio_high_2 ReadyForDev Stories ready for development work
Milestone

Comments

@tomjoseph83
Copy link

tomjoseph83 commented Dec 16, 2020

There are FRUs which host manages like IO drawers and it contains additional FRUs like power supplies. FRU record set PDRs are send to BMC as part of the PDR exchange. The goal of this story is to process the FRU record set PDR, entity association records(#2816) , FRU records(#2815) and state sensor PDRs with Operational Fault Status(#2820) to create D-Bus objects for inventory managed by host. The D-Bus objects of the inventory will be hosted by the PLDM daemon.

Example of inventory D-Bus object after implementation:

busctl introspect xyz.openbmc_project.PLDM /xyz/openbmc_project/inventory/system/io_board/powersupply0
NAME                                                  TYPE      SIGNATURE RESULT/VALUE                             FLAGS
xyz.openbmc_project.Inventory.Item                    interface -         -                                        -
.Present                                              property  b         true                                     emits-change writable
.PrettyName                                           property  s         "powersupply0"                           emits-change writable
xyz.openbmc_project.Inventory.Item.PowerSupply        interface -         -                                        -
com.ibm.ipzvpd.Location                               interface -         -                                        -
.LocationCode                                         property  s         "U78DA.ND1.WZS0047-P0-C15"               emits-change writable
xyz.openbmc_project.State.Decorator.OperationalStatus interface -         -                                        -
.Functional                                           property  b         true                                     emits-change writable

This flow can be implemented without configuration JSONs. The code should be also able to handle situations to create these inventory D-Bus objects when the PLDM daemon restarts ( BMC restarts or daemon crashed and restart) while the host is up.

@tomjoseph83 tomjoseph83 added ReadyForDev Stories ready for development work prio_high_2 labels Dec 16, 2020
@tomjoseph83 tomjoseph83 changed the title Handle FRU Record Set PDR PLDM: Handle FRU Record Set PDR Dec 16, 2020
@rfrandse rfrandse added this to the A.1.211 milestone Dec 16, 2020
@tomjoseph83 tomjoseph83 modified the milestones: A.1.211, A.1.211.2 Dec 16, 2020
@rfrandse rfrandse modified the milestones: A.1.211.2, A.1.211 Dec 17, 2020
@lxwinspur lxwinspur self-assigned this Jan 19, 2021
@lxwinspur
Copy link

I think this is epic.
#2815 #2816 and #2820 ready for review

@mzipse
Copy link
Contributor

mzipse commented Jan 28, 2021

@lxwinspur actually, the Epic for this story is #1989 . There are a few other stories linked to this as well. You can see the linkages with the Zenhub plugin installed in your browser.

@nmuruli nmuruli modified the milestones: A.1.211, A.1.213.8 Apr 30, 2021
@mzipse mzipse added the Migrate-No Do not migrate to Jira label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Review Migrate-No Do not migrate to Jira prio_high_2 ReadyForDev Stories ready for development work
Projects
None yet
Development

No branches or pull requests

5 participants