Add modes to phosphor-fan-control
phosphor-fan-control can behave differently based
on its command line arguments
--init: Set fans to full speed, delay for a
configurable amount of time to allow fans to ramp up,
start the fan control ready target, and then exit.
--control: Start the control algorithm. Never exits.
Will be started as part of the fan control ready target.
Change-Id: I453daf8cc05a5c85a19c098e1cca64cac2ad9520
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/control/example/zones.yaml b/control/example/zones.yaml
index 5f3b549..00929cd 100644
--- a/control/example/zones.yaml
+++ b/control/example/zones.yaml
@@ -17,33 +17,43 @@
#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]
+#manager_configuration:
+# power_on_delay: [Number of seconds that phosphor-fan-control --init
+# should delay after setting fans to full speed on
+# a power on.]
#
-# zones:
-# - zone: [zone number]
-# cooling_profiles:
-# - [cooling profile]
-# initial_speed: [Speed to set the zone to when app starts]
+#zone_configuration:
+# - 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
+#manager_configuration:
+# power_on_delay: 20
#
-# zones:
-# - zone: 0
-# cooling_profiles:
-# - air
-# - all
-# initial_speed: 10500
+#zone_configuration:
+# - zone_conditions:
+# - name: air_cooled_chassis
#
-#- zone_conditions:
-# - name: water_and_air_cooled_chassis
+# zones:
+# - zone: 0
+# cooling_profiles:
+# - air
+# - all
+# initial_speed: 10500
#
-# zones:
-# - zone: 0
-# cooling_profiles:
-# - water
-# - all
-# initial_speed: 4000
+# - zone_conditions:
+# - name: water_and_air_cooled_chassis
+#
+# zones:
+# - zone: 0
+# cooling_profiles:
+# - water
+# - all
+# initial_speed: 4000