monitor: ibm,bonnell: Add remaining rotors to config
Add the second rotor of each fan to the Bonnell fan monitor config.
It's the same fan as used in the Rainier 2U so it has the same
characteristics.
Also add the EPOW configuration, which is the same as the Rainier 2U's
to start out with.
Change-Id: I3246638f46999732b50e4cc2e3dd81bd10555916
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/monitor/config_files/p10bmc/ibm,bonnell/config.json b/monitor/config_files/p10bmc/ibm,bonnell/config.json
index 89dc484..2115cec 100644
--- a/monitor/config_files/p10bmc/ibm,bonnell/config.json
+++ b/monitor/config_files/p10bmc/ibm,bonnell/config.json
@@ -15,6 +15,13 @@
"name": "fan0_0",
"threshold": 30,
"has_target": true
+ },
+ {
+ "name": "fan0_1",
+ "threshold": 30,
+ "has_target": false,
+ "factor": 0.625,
+ "offset": 1100
}
]
},
@@ -33,8 +40,35 @@
"name": "fan1_0",
"threshold": 30,
"has_target": true
+ },
+ {
+ "name": "fan1_1",
+ "threshold": 30,
+ "has_target": false,
+ "factor": 0.625,
+ "offset": 1100
}
]
}
- ]
+ ],
+ "fault_handling": {
+ "num_nonfunc_rotors_before_error": 1,
+
+ "power_off_config": [
+ {
+ "type": "hard",
+ "cause": "missing_fan_frus",
+ "count": 1,
+ "delay": 25,
+ "state": "at_pgood"
+ },
+ {
+ "type": "epow",
+ "cause": "nonfunc_fan_rotors",
+ "count": 2,
+ "service_mode_delay": 60,
+ "meltdown_delay": 60
+ }
+ ]
+ }
}