diff options
author | Basheer Ahmed Muddebihal <basheerx.muddebihal@intel.com> | 2021-07-22 12:11:17 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-07-28 20:44:30 +0300 |
commit | 7088690c98169f0a8710909560647a560287f8a6 (patch) | |
tree | 64f6a336296c0852b771795852678c6f3e781a65 /redfish-core/lib/sensors.hpp | |
parent | 28afb49c480790e763b8491be0b5a8e35964dbc9 (diff) | |
download | bmcweb-7088690c98169f0a8710909560647a560287f8a6.tar.xz |
Add support for System Airflow sensor
Added DBUS object path for Airflow sensor to get the system airflow
sensor. This fix requires following fix dbus-sensors
https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/45241
Tested: Checked redfish/v1/Chassis/<chassis_id>/Sensors/
System_Airflow displayed the correct values.
Signed-off-by: Basheer Ahmed Muddebihal <basheerx.muddebihal@intel.com>
Change-Id: I32134e659a9fa7a5357fe5928ecebc0fc121c2bc
Diffstat (limited to 'redfish-core/lib/sensors.hpp')
-rw-r--r-- | redfish-core/lib/sensors.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp index d986565c45..cb7ea15381 100644 --- a/redfish-core/lib/sensors.hpp +++ b/redfish-core/lib/sensors.hpp @@ -63,6 +63,7 @@ static const boost::container::flat_map<std::string_view, {node::sensors, {"/xyz/openbmc_project/sensors/power", "/xyz/openbmc_project/sensors/current", + "/xyz/openbmc_project/sensors/airflow", "/xyz/openbmc_project/sensors/utilization"}}, {node::thermal, {"/xyz/openbmc_project/sensors/fan_tach", |