What is the purpose of xyz.openbmc_project.Inventory.Item.Global interface and getGlobalPath in HealthPopulate ?
Francine Sauvage
francine.sauvage at atos.net
Fri Sep 16 23:28:44 AEST 2022
Thank you so much !
I will try it asap 😊
Kind Regards,
Francine SAUVAGE
Team Leader – R&D, BDS
Atos France
Mobile: +33 6 21 43 11 21
R&D, BDS
Avenue Jean Jaurès – France
atos.net
TT: [Thursday - Friday]
-----Message d'origine-----
De : Gunnar Mills <gmills at linux.vnet.ibm.com>
Envoyé : jeudi 15 septembre 2022 20:50
À : Francine Sauvage <francine.sauvage at atos.net>; openbmc at lists.ozlabs.org
Objet : Re: What is the purpose of xyz.openbmc_project.Inventory.Item.Global interface and getGlobalPath in HealthPopulate ?
Caution: External email. Do not open attachments or click links, unless this email comes from a known sender and you know the content is safe.
On 9/14/2022 8:16 AM, Francine Sauvage wrote:
>
> I would like to set the Status/Health of a target directly that target
> is not a sensor.
>
> I saw HealthPopulate, composed of 2 parts:
>
> * getAllStatusAssociations like all_sensors => linked to a rela sensor
> => not interested
> * getGlobalPath => cannot understand how it works ? Should I add this
> interface to a dbus object, and the magic appears ?
>
> I would be grateful if you have any example !
>
As I understand it, Inventory.Item.Global is a way to designate what resources should have the Redfish health rollup from their children.
Inventory Items like Chassis or System would be good candidates for this Inventory.Item.Global interface. An example is a Redfish Chassis with Health Rollup from children resources like power supplies and fans.
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fdocs%2Fblob%2Fmaster%2Fdesigns%2Fredfish-health-rolllup.md&data=05%7C01%7Cfrancine.sauvage%40atos.net%7Cb8d30759f61a414ba24408da974b2944%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637988646317375302%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=F2OvCqGeoFwUxKw3VTpuMeWMTlMMQjr70hn60%2BZWw9s%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fphosphor-dbus-interfaces%2Fblob%2F1133524601de2ffc27ddcbd05ff6afc8b5cc1420%2Fyaml%2Fxyz%2Fopenbmc_project%2FInventory%2FItem%2FGlobal.interface.yaml&data=05%7C01%7Cfrancine.sauvage%40atos.net%7Cb8d30759f61a414ba24408da974b2944%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637988646317375302%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vLj1cfQ5ND3IGO2sEcBl3Ua2kIYNz3BMl3pL0yrxFTU%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fbmcweb%2Fblob%2Fmaster%2Fredfish-core%2Flib%2Fhealth.hpp&data=05%7C01%7Cfrancine.sauvage%40atos.net%7Cb8d30759f61a414ba24408da974b2944%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637988646317375302%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0Prt4R9nA1VZ8AoQAMzT1DsiDZHhTZo2sMR4IXQK0Eo%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fs2600wf-misc%2Fcommit%2Fdc7bbdcb62c593011671afe30471cc8fff6ebb19&data=05%7C01%7Cfrancine.sauvage%40atos.net%7Cb8d30759f61a414ba24408da974b2944%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637988646317375302%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EKNcM2M8mCNMCkeLTJbIAAnVV9GS61v5W0o%2BkOOR%2Ft4%3D&reserved=0
More information about the openbmc
mailing list