summaryrefslogtreecommitdiffstats
path: root/control/example/zones.yaml
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-04-12 09:51:41 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-05-04 16:01:30 +0000
commit77d32d1b0b780b9ac773bc49a6c74c19508ff8e8 (patch)
treec86bf7542d3eb1593678f77a89ffed3adaf129ab /control/example/zones.yaml
parent78498c941d3f0445e2c62894123e05df057258f7 (diff)
downloadphosphor-fan-presence-77d32d1b0b780b9ac773bc49a6c74c19508ff8e8.tar.gz
phosphor-fan-presence-77d32d1b0b780b9ac773bc49a6c74c19508ff8e8.zip
Fan control: Enable data generation
Start running the python script that generates the fan zone data structures during the build. If the paths to the 2 yaml files aren't provided during configure, then the yaml in the example directory will be used instead. Change-Id: I9f67c1b94b5302c30ac87b0f80746854c42776b2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'control/example/zones.yaml')
-rw-r--r--control/example/zones.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/control/example/zones.yaml b/control/example/zones.yaml
new file mode 100644
index 0000000..5f3b549
--- /dev/null
+++ b/control/example/zones.yaml
@@ -0,0 +1,49 @@
+#Example fan zone definitions for phosphor-fan-control
+
+#List the properties of the fan zones that are possible in the system.
+#The zones may be conditional based on certain conditions, such as
+#different chassis types or water cooled models. The fans themselves
+#are not listed in this file. They are in a separate YAML file so it
+#can be machine generated (i.e. from the MRW) if desired.
+
+#The general structure is a list of groups of zones, where a group
+#contains both the zones and the conditions required for the zones
+#to be valid
+
+#The cooling_profile is used along with the zone number to know
+#which fans in the fan yaml belong in this zone instance. For
+#example, a fan may only be in zone 0 if it's the air cooled version
+#of the system, but not with the water cooled version. In that
+#case, the fan yaml would have a cooling_profile of 'air' to match
+#the zone cooling profile.
+
+#- zone_conditions:
+# - name: [Name of a condition, if any. Valid names are TBD]
+#
+# zones:
+# - zone: [zone number]
+# cooling_profiles:
+# - [cooling profile]
+# initial_speed: [Speed to set the zone to when app starts]
+
+#Example:
+#- zone_conditions:
+# - name: air_cooled_chassis
+#
+# zones:
+# - zone: 0
+# cooling_profiles:
+# - air
+# - all
+# initial_speed: 10500
+#
+#- zone_conditions:
+# - name: water_and_air_cooled_chassis
+#
+# zones:
+# - zone: 0
+# cooling_profiles:
+# - water
+# - all
+# initial_speed: 4000
+
OpenPOWER on IntegriCloud