What is the purpose of Phosphor Inventory Manager

Andrei Kartashev a.kartashev at yadro.com
Mon Sep 7 18:48:43 AEST 2020


Hi, 

You right, if you already use EntityManager, you should not need
Phosphor Inventory Manager since EM aimed to replace PIM.

On Mon, 2020-09-07 at 03:37 +0000, Brad Chou wrote:
> Hi,
> I am doing some study of what Phosphor Inventory Manage does.
> After read the README.md and the examples directory, I think it does
> two things.
> Create/Delete/Update Object or Properties based on some other
> property changes.
> Create Associations between sensors and it’s belonging hardware.
>  
> There is no enough example to tell me when should I
> create/delete/update objects and properties based on other
> properties.
> Is it necessary ?
>  
> Also, when I use entity-manager with dbus-sensors to expose my
> sensors, I found the dbus-sensors create the associations of all
> sensors for me.
> I don’t need to write another YAML file in the Phosphor Inventory
> Manage to generate it.
> Does it mean I don’t need to use Phosphor Inventory Manage because
> dbus-sensors already doing the same thing ?
>  
> Thanks.



More information about the openbmc mailing list