Searched refs:ChassisSubNode (Results 1 – 6 of 6) sorted by relevance
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | sensor_utils_test.cpp | 56 subNodeStr = chassisSubNodeToString(ChassisSubNode::powerNode); in TEST() 59 subNodeStr = chassisSubNodeToString(ChassisSubNode::sensorsNode); in TEST() 62 subNodeStr = chassisSubNodeToString(ChassisSubNode::thermalNode); in TEST() 65 subNodeStr = chassisSubNodeToString(ChassisSubNode::thermalMetricsNode); in TEST() 68 subNodeStr = chassisSubNodeToString(ChassisSubNode::unknownNode); in TEST() 74 ChassisSubNode subNode = ChassisSubNode::unknownNode; in TEST() 77 EXPECT_EQ(subNode, ChassisSubNode::powerNode); in TEST() 80 EXPECT_EQ(subNode, ChassisSubNode::sensorsNode); in TEST() 83 EXPECT_EQ(subNode, ChassisSubNode::thermalNode); in TEST() 86 EXPECT_EQ(subNode, ChassisSubNode::thermalMetricsNode); in TEST() [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | sensor_utils.hpp | 32 enum class ChassisSubNode enum 41 constexpr std::string_view chassisSubNodeToString(ChassisSubNode subNode) in chassisSubNodeToString() 45 case ChassisSubNode::powerNode: in chassisSubNodeToString() 47 case ChassisSubNode::sensorsNode: in chassisSubNodeToString() 49 case ChassisSubNode::thermalNode: in chassisSubNodeToString() 51 case ChassisSubNode::thermalMetricsNode: in chassisSubNodeToString() 53 case ChassisSubNode::unknownNode: in chassisSubNodeToString() 59 inline ChassisSubNode chassisSubNodeFromString(const std::string& subNodeStr) in chassisSubNodeFromString() 62 ChassisSubNode subNode = ChassisSubNode::unknownNode; in chassisSubNodeFromString() 66 subNode = ChassisSubNode::powerNode; in chassisSubNodeFromString() [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | thermal.hpp | 32 sensor_utils::ChassisSubNode::thermalNode)); in requestRoutesThermal() 60 sensor_utils::ChassisSubNode::thermalNode)); in requestRoutesThermal()
|
H A D | power.hpp | 264 sensor_utils::ChassisSubNode::powerNode)); in handleChassisPowerGet() 294 sensor_utils::ChassisSubNode::powerNode)); in handleChassisPowerPatch()
|
H A D | sensors.hpp | 85 sensor_utils::ChassisSubNode::powerNode); 88 sensor_utils::ChassisSubNode::sensorsNode); 91 sensor_utils::ChassisSubNode::thermalNode); 485 const sensor_utils::ChassisSubNode chassisSubNode, in objectInterfacesToJson() 2031 sensor_utils::ChassisSubNode::sensorsNode && in getSensorData() 2041 sensor_utils::ChassisSubNode::thermalNode) in getSensorData() 2412 name, type, sensor_utils::ChassisSubNode::sensorsNode, in getSensorFromDbus()
|
H A D | thermal_metrics.hpp | 47 path, chassisId, sensor_utils::ChassisSubNode::thermalMetricsNode, in afterGetTemperatureValue()
|