diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2019-01-18 09:30:57 -0600 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2019-02-13 14:31:44 -0600 |
commit | 93af41944aa471840e1ea5a7e2ad465635faa7f0 (patch) | |
tree | c610cdab28210b06ed71183ede9ca9672e4edc91 /control/manager.hpp | |
parent | 14cc043f48a23f6e7e9cf46b6475b0b32880c984 (diff) | |
download | phosphor-fan-presence-93af41944aa471840e1ea5a7e2ad465635faa7f0.tar.gz phosphor-fan-presence-93af41944aa471840e1ea5a7e2ad465635faa7f0.zip |
Add thermal control interface to zone objects
When in control mode, the thermal control interface and mode property
are added to each zone object. The object path for each zone consists of
the configured object path plus the zone number.
Ex) /xyz/openbmc_project/control/thermal/0
Tested:
After fan control is started in control mode, dbus interface exists
Change-Id: I88578a7e0eb7c730ffaa4cfc10989e280dc1d46d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/manager.hpp')
-rw-r--r-- | control/manager.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/control/manager.hpp b/control/manager.hpp index 5b748a2..c87d0d8 100644 --- a/control/manager.hpp +++ b/control/manager.hpp @@ -59,6 +59,11 @@ class Manager sdbusplus::bus::bus& _bus; /** + * The sdbusplus object manager + */ + sdbusplus::server::manager::manager _objMgr; + + /** * The fan zones in the system */ ZoneMap _zones; |