configurations: catalina_pdb: Add PowerState for host VR sensors
Host VR (VR_N1 & VR_N2) sensor readings are only available when the host
is powered on. Set the PowerState to "on" for host VR sensors.
Test results:
- Host off
```
root@bmc:~# mfg-tool sensor-display 2>/dev/null | table-sensor-display | grep VR_P12V_N
PDB_VR_P12V_N1_CURR_A unavailable N/A Amperes N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N1_PWR_W unavailable N/A Watts N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N1_TEMP_C unavailable N/A DegreesC N/A 5 N/A N/A 125 N/A
PDB_VR_P12V_N1_VOLT_V unavailable N/A Volts N/A 10.5 N/A N/A 13.6 N/A
PDB_VR_P12V_N2_CURR_A unavailable N/A Amperes N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N2_PWR_W unavailable N/A Watts N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N2_TEMP_C unavailable N/A DegreesC N/A 5 N/A N/A 125 N/A
PDB_VR_P12V_N2_VOLT_V unavailable N/A Volts N/A 10.5 N/A N/A 13.6 N/A
```
- Host on
```
root@bmc:~# mfg-tool sensor-display 2>/dev/null | table-sensor-display | grep VR_P12V_N
PDB_VR_P12V_N1_CURR_A ok 21 Amperes N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N1_PWR_W ok 225 Watts N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N1_TEMP_C ok 33 DegreesC N/A 5 N/A N/A 125 N/A
PDB_VR_P12V_N1_VOLT_V ok 11.995 Volts N/A 10.5 N/A N/A 13.6 N/A
PDB_VR_P12V_N2_CURR_A ok 19.6 Amperes N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N2_PWR_W ok 240 Watts N/A N/A N/A N/A N/A N/A
PDB_VR_P12V_N2_TEMP_C ok 33 DegreesC N/A 5 N/A N/A 125 N/A
PDB_VR_P12V_N2_VOLT_V ok 12 Volts N/A 10.5 N/A N/A 13.6 N/A
```
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I90bd290493bbbe1534db15f87054fb6ba124941e
diff --git a/configurations/meta/catalina_pdb.json b/configurations/meta/catalina_pdb.json
index 104c869..6b16220 100644
--- a/configurations/meta/catalina_pdb.json
+++ b/configurations/meta/catalina_pdb.json
@@ -826,6 +826,7 @@
"vout1"
],
"Name": "PDB_VR_P12V_N1_RAA228004",
+ "PowerState": "On",
"Thresholds": [
{
"Direction": "greater than",
@@ -872,6 +873,7 @@
"vout1"
],
"Name": "PDB_VR_P12V_N2_RAA228004",
+ "PowerState": "On",
"Thresholds": [
{
"Direction": "greater than",