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: (MEX LED) Process host state sensor PDRs with state set ID Operational Fault Status #2820

Open
tomjoseph83 opened this issue Dec 16, 2020 · 1 comment
Assignees
Labels
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

When processing the FRU Record Set PDRs lookup for state sensors with state set ID OperationalFaultStatus and matching entity information(containerID, entityType and entityInstanceNumber).

Implement xyz.openbmc_project.State.Decorator.OperationalStatus interface and initialize Functional property by reading the sensor value (GetStateSensorReadings).

When the functional status changes on the host ( for example when the FRU goes faulty), host reports it by sending sensorEvent(PlatformEventMessage) to the BMC. Refactor the PlatformEventMessage handler to update the Functional property for the corresponding FRU D-Bus object.

Note: Sensors need not be necessarily related to FRU where PLDM hosts the D-Bus object. There are other sensors which maps to D-Bus property hosted by other OpenBMC applications. The goal should be to write generic code and handle both scenarios.

Related to #2817

@tomjoseph83 tomjoseph83 added prio_high_2 ReadyForDev Stories ready for development work labels Dec 16, 2020
@tomjoseph83 tomjoseph83 added this to the A.1.211.2 milestone Dec 16, 2020
@lxwinspur lxwinspur self-assigned this Dec 17, 2020
@rfrandse rfrandse modified the milestones: A.1.211.2, A.1.211 Dec 17, 2020
@tomjoseph83 tomjoseph83 changed the title PLDM: Process host PDRs for state sensors with state set ID OperationalStatus PLDM: Process host state sensor PDRs with state set ID OperationalStatus Dec 18, 2020
@tomjoseph83 tomjoseph83 changed the title PLDM: Process host state sensor PDRs with state set ID OperationalStatus PLDM: Process host state sensor PDRs with state set ID Operational Fault Status Dec 18, 2020
@lxwinspur
Copy link

@rfrandse rfrandse modified the milestones: A.1.211, A.1.212.3 Apr 8, 2021
@nmuruli nmuruli changed the title PLDM: Process host state sensor PDRs with state set ID Operational Fault Status PLDM: (MEX LED) Process host state sensor PDRs with state set ID Operational Fault Status Apr 30, 2021
@nmuruli nmuruli modified the milestones: A.1.212.3, 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
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