Add Redfish API support for SendServiceAlerts setting#1472
Open
devenrao wants to merge 1 commit into
Open
Conversation
ba6ede6 to
798a960
Compare
jeaaustx
suggested changes
May 20, 2026
This commit adds support for controlling the hardware isolation service alerts setting through the Redfish API under the IBM OEM extension. Changes: - Created service_alerts.hpp with GET/SET functions for the SendServiceAlerts property - Modified systems.hpp to expose SendServiceAlerts in the IBM OEM section of ComputerSystem resource - Added error handling for missing D-Bus object (EBADR) to prevent redfish validator GET failure 500 The SendServiceAlerts property allows users to enable or disable service alerts for hardware isolation events via Redfish API: - GET /redfish/v1/Systems/system returns current state - PATCH /redfish/v1/Systems/system with Oem.IBM.SendServiceAlerts updates the setting The implementation integrates with the existing D-Bus setting at /xyz/openbmc_project/hardware_isolation/send_service_alerts which is monitored by the faultlog service. Tested: - GET request returns current SendServiceAlerts state - PATCH request successfully updates the D-Bus property - Setting persists across BMC reboots via phosphor-settings-manager - Redfish validator passes without 500 errors Change-Id: Ib6a488f1697cbdc28e3361f92ead70f38d61ba41 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
jeaaustx
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds support for controlling the hardware isolation service alerts setting through the Redfish API under the IBM OEM extension.
Changes:
The SendServiceAlerts property allows users to enable or disable service alerts for hardware isolation events via Redfish API:
The implementation integrates with the existing D-Bus setting at /xyz/openbmc_project/hardware_isolation/send_service_alerts which is monitored by the faultlog service.
Tested:
Change-Id: Ib6a488f1697cbdc28e3361f92ead70f38d61ba41