Implement fan PWM reading through redfish
This patchset implements the ability to be able to read the PWM output
values from redfish under the Thermal schema. to be able to map fan
outputs to redfish.
Change-Id: I858d81ef61183722390a073fa925416d17da5fec
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/redfish-core/lib/thermal.hpp b/redfish-core/lib/thermal.hpp
index 37b0f43..a845385 100644
--- a/redfish-core/lib/thermal.hpp
+++ b/redfish-core/lib/thermal.hpp
@@ -58,7 +58,8 @@
res, chassisName,
std::initializer_list<const char*>{
"/xyz/openbmc_project/sensors/fan",
- "/xyz/openbmc_project/sensors/temperature"});
+ "/xyz/openbmc_project/sensors/temperature",
+ "/xyz/openbmc_project/sensors/fan_pwm"});
getChassisData(asyncResp);
}
};