diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-04-12 09:51:41 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-05-04 16:01:30 +0000 |
commit | 77d32d1b0b780b9ac773bc49a6c74c19508ff8e8 (patch) | |
tree | c86bf7542d3eb1593678f77a89ffed3adaf129ab /control/example/fans.yaml | |
parent | 78498c941d3f0445e2c62894123e05df057258f7 (diff) | |
download | phosphor-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/fans.yaml')
-rw-r--r-- | control/example/fans.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/control/example/fans.yaml b/control/example/fans.yaml new file mode 100644 index 0000000..629c502 --- /dev/null +++ b/control/example/fans.yaml @@ -0,0 +1,28 @@ +#Example fan definitions for phosphor-fan-control + +#List all fans that need to be known to phosphor-fan-control. +#For each fan, the inventory path, cooling zone, cooling zone +#profile, and sensor name(s). + +#fans: +# - inventory: [The system inventory location for the fan] +# cooling_zone: [The cooling zone number for the fan] +# cooling_profile: [The cooling profile for the fan] +# sensors: [The list of sensors for this fan] + +#The cooling zone, a number, and the cooling profile, a string, +#have to match the corresponding values in the fan zone yaml +#so the fans can be merged into the zone definition. + +#Example entries for 2 fan system: +#fans: +# - inventory: /system/chassis/motherboard/fan0 +# cooling_zone: 0 +# cooling_profile: all +# sensors: +# - fan0 +# - inventory: /system/chassis/motherboard/fan1 +# cooling_zone: 0 +# cooling_profile: air +# sensors: +# - fan1 |