* What is the purpose of Phosphor Inventory Manager
@ 2020-09-07 3:37 Brad Chou
2020-09-07 8:48 ` Andrei Kartashev
0 siblings, 1 reply; 2+ messages in thread
From: Brad Chou @ 2020-09-07 3:37 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
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.
1. Create/Delete/Update Object or Properties based on some other property changes.
2. 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.
[-- Attachment #2: Type: text/html, Size: 4680 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What is the purpose of Phosphor Inventory Manager
2020-09-07 3:37 What is the purpose of Phosphor Inventory Manager Brad Chou
@ 2020-09-07 8:48 ` Andrei Kartashev
0 siblings, 0 replies; 2+ messages in thread
From: Andrei Kartashev @ 2020-09-07 8:48 UTC (permalink / raw)
To: Brad Chou, openbmc
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-07 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 3:37 What is the purpose of Phosphor Inventory Manager Brad Chou
2020-09-07 8:48 ` Andrei Kartashev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.