Home
last modified time | relevance | path

Searched hist:e8441c69031ca0f5a53127c2149d76cef59ca5c1 (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dinit.hppe8441c69031ca0f5a53127c2149d76cef59ca5c1 Thu May 13 16:50:56 CDT 2021 Matthew Barth <msbarth@us.ibm.com> control: Add init trigger support

Add init trigger support to the available triggers where init triggered
event actions are run immediately when fan control starts. Initially the
`getProperties` and `nameHasOwner` methods are supported to be triggered
when fan control starts. The `getProperties` method populates the dbus
object cache for each group member's property configured. The
`nameHasOwner` method populates the service owned state from dbus for
each group member. Each of these attempts to do bulk
reads(getManagedObjects for `getProperties` and getSubTree for
`nameHasOwner`) from dbus when populating the caches to minimize dbus
calls.

Change-Id: Ib5d89eceadd26db1bf7610113ea30fc8ba69ab12
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
H A Dtrigger.hppdiff e8441c69031ca0f5a53127c2149d76cef59ca5c1 Thu May 13 16:50:56 CDT 2021 Matthew Barth <msbarth@us.ibm.com> control: Add init trigger support

Add init trigger support to the available triggers where init triggered
event actions are run immediately when fan control starts. Initially the
`getProperties` and `nameHasOwner` methods are supported to be triggered
when fan control starts. The `getProperties` method populates the dbus
object cache for each group member's property configured. The
`nameHasOwner` method populates the service owned state from dbus for
each group member. Each of these attempts to do bulk
reads(getManagedObjects for `getProperties` and getSubTree for
`nameHasOwner`) from dbus when populating the caches to minimize dbus
calls.

Change-Id: Ib5d89eceadd26db1bf7610113ea30fc8ba69ab12
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
H A Dinit.cppe8441c69031ca0f5a53127c2149d76cef59ca5c1 Thu May 13 16:50:56 CDT 2021 Matthew Barth <msbarth@us.ibm.com> control: Add init trigger support

Add init trigger support to the available triggers where init triggered
event actions are run immediately when fan control starts. Initially the
`getProperties` and `nameHasOwner` methods are supported to be triggered
when fan control starts. The `getProperties` method populates the dbus
object cache for each group member's property configured. The
`nameHasOwner` method populates the service owned state from dbus for
each group member. Each of these attempts to do bulk
reads(getManagedObjects for `getProperties` and getSubTree for
`nameHasOwner`) from dbus when populating the caches to minimize dbus
calls.

Change-Id: Ib5d89eceadd26db1bf7610113ea30fc8ba69ab12
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>