summaryrefslogtreecommitdiffstats
path: root/control
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-06-29 15:12:08 -0500
committerMatthew Barth <msbarth@us.ibm.com>2017-07-06 17:25:12 -0500
commitbe605c5f8da935afb7dd13300cab24e986d3a474 (patch)
treeaddd9b3d5fd42190db3d4cef0f6f788c7aab67f7 /control
parenta956184bfe6afa6803fc4456eea1f5b6742d8f80 (diff)
downloadphosphor-fan-presence-be605c5f8da935afb7dd13300cab24e986d3a474.tar.gz
phosphor-fan-presence-be605c5f8da935afb7dd13300cab24e986d3a474.zip
Fan control: Example yaml updates(doc only)
Change-Id: I30fdecd3af3dcdc7f954bdb9d535c6bc92edd67a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control')
-rw-r--r--control/example/events.yaml47
-rw-r--r--control/example/zones.yaml15
2 files changed, 61 insertions, 1 deletions
diff --git a/control/example/events.yaml b/control/example/events.yaml
index edc0779..ed62ce6 100644
--- a/control/example/events.yaml
+++ b/control/example/events.yaml
@@ -38,6 +38,11 @@
# - /system/chassis/motherboard/fan1
# - /system/chassis/motherboard/fan2
# - /system/chassis/motherboard/fan3
+# - name: zone0_ambient
+# description: Group of ambient temperature sensors for zone 0
+# type: sensors
+# members:
+# - /temperature/ambient
#
#actions:
# - name: count_state_before_speed
@@ -46,6 +51,10 @@
# - count
# - property
# - speed
+# - name: set_floor_from_average_sensor_value
+# description: Set floor speed from first entry with average less than key
+# parameters:
+# - map
#
#events:
# - name: missing_before_high_speed
@@ -65,3 +74,41 @@
# speed:
# value: 10500
# type: uint64_t
+# - name: update_air_cooled_floor_speed_based_on_ambient
+# zone_conditions:
+# - name: air_cooled_chassis
+# zones:
+# - 0
+# group: zone0_ambient
+# interface: xyz.openbmc_project.Sensor.Value
+# property:
+# name: Value
+# type: int64_t
+# action:
+# name: set_floor_from_average_sensor_value
+# map:
+# value:
+# - 25: 3500
+# - 30: 4600
+# - 35: 5200
+# - 40: 5800
+# type: std::map<int64_t, uint64_t>
+# - name: update_water_cooled_floor_speed_based_on_ambient
+# zone_conditions:
+# - name: water_and_air_cooled_chassis
+# zones:
+# - 0
+# group: zone0_ambient
+# interface: xyz.openbmc_project.Sensor.Value
+# property:
+# name: Value
+# type: int64_t
+# action:
+# name: set_floor_from_average_sensor_value
+# map:
+# value:
+# - 25: 2500
+# - 30: 3600
+# - 35: 4200
+# - 40: 4800
+# type: std::map<int64_t, uint64_t>
diff --git a/control/example/zones.yaml b/control/example/zones.yaml
index fd6680a..8bd164f 100644
--- a/control/example/zones.yaml
+++ b/control/example/zones.yaml
@@ -31,6 +31,14 @@
# cooling_profiles:
# - [cooling profile]
# full_speed: [Full speed for the zone.]
+# default_floor: [Default floor speed for the zone that fan speeds can
+# not go below.]
+# increase_delay: [Number of seconds to delay additional speed increases
+# that are less than the speed increase that's currently
+# occurring.]
+# decrease_interval: [A repeating number of seconds interval that
+# requested speed decreases may occur when no speed
+# increase is occurring at that time as well.]
#Example:
#manager_configuration:
@@ -46,6 +54,9 @@
# - air
# - all
# full_speed: 10500
+# default_floor: 6000
+# increase_delay: 5
+# decrease_interval: 30
#
# - zone_conditions:
# - name: water_and_air_cooled_chassis
@@ -56,4 +67,6 @@
# - water
# - all
# full_speed: 4000
-
+# default_floor: 2500
+# increase_delay: 5
+# decrease_interval: 20
OpenPOWER on IntegriCloud