summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjames <nkskjames@gmail.com>2016-08-26 20:33:54 -0500
committernjames <nkskjames@gmail.com>2016-08-26 20:33:54 -0500
commitaa28a01aa4ad04fd1126d0364c81b2a147e28825 (patch)
tree1eb3b0fbbcfc80a8d7475b166eb7f7d8afab5dca
parent5d299e0fb247e24300bd9c11ac1a7d7a87b2a5b1 (diff)
downloadserverwiz-aa28a01aa4ad04fd1126d0364c81b2a147e28825.tar.gz
serverwiz-aa28a01aa4ad04fd1126d0364c81b2a147e28825.zip
Add psu redundancy ipmi sensor
Signed-off-by: Norman James <nkskjames@gmail.com>
-rw-r--r--xml/parts/sys-sys-power8.xml29
-rw-r--r--xml/parts/sys-sys-power9.xml29
2 files changed, 58 insertions, 0 deletions
diff --git a/xml/parts/sys-sys-power8.xml b/xml/parts/sys-sys-power8.xml
index fcd0b7c..3ed399a 100644
--- a/xml/parts/sys-sys-power8.xml
+++ b/xml/parts/sys-sys-power8.xml
@@ -1,4 +1,32 @@
<partInstance>
+<targetPart>
+ <type>unit-ipmi-sensor</type>
+ <id>ps_redundancy_state_sensor</id>
+ <instance_name>ps_redundancy_state_sensor</instance_name>
+ <is_root>false</is_root>
+ <parent>unit</parent>
+ <position>-1</position>
+ <attribute>
+ <id>IPMI_SENSOR_NAME_SUFFIX</id>
+ <default>Ps_Redundancy</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_ENTITY_ID</id>
+ <default>0x22</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_SENSOR_TYPE</id>
+ <default>0xCA</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_SENSOR_READING_TYPE</id>
+ <default>0x03</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_SENSOR_OFFSETS</id>
+ <default>0x00,0x01</default>
+ </attribute>
+ </targetPart>
<targetPart>
<id>boot_count_sensor</id>
<attribute>
@@ -861,6 +889,7 @@
<hidden_child_id>power_limit_sensor</hidden_child_id>
<hidden_child_id>ps_derating_sensor</hidden_child_id>
<hidden_child_id>dimm_freq_sensor</hidden_child_id>
+ <hidden_child_id>ps_redundancy_state_sensor</hidden_child_id>
<instance_name>sys</instance_name>
<is_root>true</is_root>
<parent>base</parent>
diff --git a/xml/parts/sys-sys-power9.xml b/xml/parts/sys-sys-power9.xml
index d85a87f..e554a5a 100644
--- a/xml/parts/sys-sys-power9.xml
+++ b/xml/parts/sys-sys-power9.xml
@@ -1,4 +1,32 @@
<partInstance>
+<targetPart>
+ <type>unit-ipmi-sensor</type>
+ <id>ps_redundancy_state_sensor</id>
+ <instance_name>ps_redundancy_state_sensor</instance_name>
+ <is_root>false</is_root>
+ <parent>unit</parent>
+ <position>-1</position>
+ <attribute>
+ <id>IPMI_SENSOR_NAME_SUFFIX</id>
+ <default>Ps_Redundancy</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_ENTITY_ID</id>
+ <default>0x22</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_SENSOR_TYPE</id>
+ <default>0xCA</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_SENSOR_READING_TYPE</id>
+ <default>0x03</default>
+ </attribute>
+ <attribute>
+ <id>IPMI_SENSOR_OFFSETS</id>
+ <default>0x00,0x01</default>
+ </attribute>
+ </targetPart>
<targetPart>
<id>boot_count_sensor</id>
<attribute>
@@ -909,6 +937,7 @@
<hidden_child_id>power_limit_sensor</hidden_child_id>
<hidden_child_id>ps_derating_sensor</hidden_child_id>
<hidden_child_id>dimm_freq_sensor</hidden_child_id>
+ <hidden_child_id>ps_redundancy_state_sensor</hidden_child_id>
<instance_name>sys</instance_name>
<is_root>true</is_root>
<parent>base</parent>
OpenPOWER on IntegriCloud