Add Sensor Label to PSU
Add sensor label pin, pout1, vin, iin, iout1, temp1, fan1 to Intel PSU.
Tested:
ipmitool sensor list,
PSU1 In Current | 0.312 | Amps | ok
PSU1 Out Current | 3.000 | Amps | ok
Pwm PSU1 Fan 1 | 39.984 | unspecified | ok
PSU1 Fan Speed 1 | 3422.000 | RPM | ok
PSU1 Input Power | 47.200 | Watts | ok
PSU1 Out Power | 47.200 | Watts | ok
PSU1 Temperature | 26.000 | degrees C | ok
PSU1 In Voltage | 233.640 | Volts | ok
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I5829df7af0037bf25c9cf379ed38f1393726e8ab
diff --git a/configurations/Flextronics S-1100ADU00-201 PSU.json b/configurations/Flextronics S-1100ADU00-201 PSU.json
index 84a11a7..5248b77 100644
--- a/configurations/Flextronics S-1100ADU00-201 PSU.json
+++ b/configurations/Flextronics S-1100ADU00-201 PSU.json
@@ -83,6 +83,15 @@
"Address": "$ADDRESS % 4 + 88",
"Bus": "$bus",
"Name": "PSU$ADDRESS % 4 + 1",
+ "Labels": [
+ "pin",
+ "pout1",
+ "vin",
+ "iin",
+ "iout1",
+ "temp1",
+ "fan1"
+ ],
"Thresholds": [
{
"Direction": "greater than",
@@ -140,4 +149,4 @@
"SerialNumber": "$PRODUCT_SERIAL_NUMBER"
}
}
-]
\ No newline at end of file
+]