control:p10bmc: Raise floor for nonfunctional ambient or altitude
Rainier4U does not utilize the altitude sensor currently.
Include ambient and altitude sensors in raising the floor when they are
marked nonfunctional. If either of these do not require the fan floor to
be raised to this target, they can be removed from this event and set to
a different floor if necessary.
Change-Id: Ieddd616b54e392746bdff195ef4d45af6f6fe7b0
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/config_files/p10bmc/ibm,everest/events.json b/control/config_files/p10bmc/ibm,everest/events.json
index 5a6346b..93f5fea 100644
--- a/control/config_files/p10bmc/ibm,everest/events.json
+++ b/control/config_files/p10bmc/ibm,everest/events.json
@@ -162,7 +162,8 @@
]
},
{
- // Set a raised fan floor when any temperature sensor is nonfunctional
+ // Set a raised fan floor when any temperature or altitude sensor is
+ // nonfunctional
"name": "Nonfunctional temperature sensors",
"groups": [
{
@@ -289,6 +290,16 @@
"name": "bear lake temps",
"interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
"property": { "name": "Functional" }
+ },
+ {
+ "name": "ambient temp",
+ "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
+ "property": { "name": "Functional" }
+ },
+ {
+ "name": "altitude",
+ "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
+ "property": { "name": "Functional" }
}
],
"triggers": [
diff --git a/control/config_files/p10bmc/ibm,rainier-1s4u/events.json b/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
index e9b5b25..0c07a8f 100644
--- a/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
+++ b/control/config_files/p10bmc/ibm,rainier-1s4u/events.json
@@ -234,6 +234,11 @@
"name": "bear lake temps",
"interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
"property": { "name": "Functional" }
+ },
+ {
+ "name": "ambient temp",
+ "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
+ "property": { "name": "Functional" }
}
],
"triggers": [
diff --git a/control/config_files/p10bmc/ibm,rainier-2u/events.json b/control/config_files/p10bmc/ibm,rainier-2u/events.json
index 54a253c..938bd13 100644
--- a/control/config_files/p10bmc/ibm,rainier-2u/events.json
+++ b/control/config_files/p10bmc/ibm,rainier-2u/events.json
@@ -172,7 +172,8 @@
]
},
{
- // Set a raised fan floor when any temperature sensor is nonfunctional
+ // Set a raised fan floor when any temperature or altitude sensor is
+ // nonfunctional
"name": "Nonfunctional temperature sensors",
"groups": [
{
@@ -264,6 +265,16 @@
"name": "bear river temps",
"interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
"property": { "name": "Functional" }
+ },
+ {
+ "name": "ambient temp",
+ "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
+ "property": { "name": "Functional" }
+ },
+ {
+ "name": "altitude",
+ "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
+ "property": { "name": "Functional" }
}
],
"triggers": [
diff --git a/control/config_files/p10bmc/ibm,rainier-4u/events.json b/control/config_files/p10bmc/ibm,rainier-4u/events.json
index febf721..7626e38 100644
--- a/control/config_files/p10bmc/ibm,rainier-4u/events.json
+++ b/control/config_files/p10bmc/ibm,rainier-4u/events.json
@@ -264,6 +264,11 @@
"name": "bear lake temps",
"interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
"property": { "name": "Functional" }
+ },
+ {
+ "name": "ambient temp",
+ "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
+ "property": { "name": "Functional" }
}
],
"triggers": [