Fixes for Test Baseboard Temperature Via IPMI
Changes:
- URI change to get sensor temperature readings from Redfish.
- Get all the Baseboard temperature sensors from the IPMI result.
- Added Thermal Metrics Variable in resource file.
Tested:
Ran test case successfully from sandbox.
Change-Id: I84bd19d569cd7f90b52e8bc625e8b3f2ad75be97
Signed-off-by: srichn28 <srichn28@in.ibm.com>
diff --git a/data/variables.py b/data/variables.py
index 61f9220..c7307b8 100755
--- a/data/variables.py
+++ b/data/variables.py
@@ -27,6 +27,9 @@
SENSORS_URI = OPENBMC_BASE_URI + 'sensors/'
# Thermal Control base variables
THERMAL_CONTROL_URI = CONTROL_URI + 'thermal/0'
+THERMAL_METRICS = 'ThermalSubsystem/ThermalMetrics'
+
+COMPONENT_NAME_OF_POWER_SUPPLY = 'powersupply'
# State Manager base variables
BMC_REBOOT_TRANS = 'xyz.openbmc_project.State.BMC.Transition.Reboot'