summaryrefslogtreecommitdiff
path: root/callback-manager/include
AgeCommit message (Collapse)AuthorFilesLines
2019-10-01Update callback manager to new associationJames Feist1-6/+7
Mapper no longer supports the old one. Tested: Mapper shows associations again, available in redfish Change-Id: I876c7b9be4d24e3bc73e4b5ff0e9290e422baaa9 Signed-off-by: James Feist <james.feist@linux.intel.com>
2019-06-25Add Association Monitoring supportJames Feist1-1/+0
Based on redfish design, there is global and non global critical / warning to monitor health. Take these and use them to trigger the led. Tested: Created IPMI ME health event and saw led turn to blinking yellow Change-Id: I0ddcd142355b148b6ae07b6d0e9274c3e99a049e Signed-off-by: James Feist <james.feist@linux.intel.com>
2019-06-01callback-manager: Add association managerJames Feist1-0/+94
This adds an association manager based on Redfish health whitepaper to do a rollup of subcomponent health. https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/21380 Tested: Chassis health rollup works with upstream patch 21798 { "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "@odata.id": "/redfish/v1/Chassis/WFP_Baseboard", "@odata.type": "#Chassis.v1_4_0.Chassis", "ChassisType": "RackMount", "Id": "WFP_Baseboard", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/system" } ], "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/bmc" } ] }, "Manufacturer": "Intel Corporation", "Model": "S2600WFT", "Name": "WFP_Baseboard", "PartNumber": "123456789", "Power": { "@odata.id": "/redfish/v1/Chassis/WFP_Baseboard/Power" }, "PowerState": "Off", "SerialNumber": "123454321", "Status": { "Health": "Warning", "HealthRollup": "Critical", "State": "StandbyOffline" }, "Thermal": { "@odata.id": "/redfish/v1/Chassis/WFP_Baseboard/Thermal" } } Change-Id: I1d944f31749f6eae952573078ad410547ae9faea Signed-off-by: James Feist <james.feist@linux.intel.com>