summaryrefslogtreecommitdiffstats
path: root/example/fan-detect.yaml
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-03-27 11:02:46 -0500
committerMatt Spinler <spinler@us.ibm.com>2017-03-27 11:10:24 -0500
commit2b44a6c0b282cf50c563a175535c4c32f55a81dc (patch)
tree3d9b2e0752cd4636943f12c1fd8057a30f95bbd5 /example/fan-detect.yaml
parent14476ae2e627fcc5fe8390db08b957bcfc16b912 (diff)
downloadphosphor-fan-presence-2b44a6c0b282cf50c563a175535c4c32f55a81dc.tar.gz
phosphor-fan-presence-2b44a6c0b282cf50c563a175535c4c32f55a81dc.zip
Use PrettyName YAML field instead of Description
When generating fan_detect_defs.cpp, pull in the PrettyName YAML property instead of Description. Change-Id: I9db6bd09309874a5b6b6cbb062c6cd3a9ddcaa5d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'example/fan-detect.yaml')
-rw-r--r--example/fan-detect.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/fan-detect.yaml b/example/fan-detect.yaml
index ad64e91..5a9e1bd 100644
--- a/example/fan-detect.yaml
+++ b/example/fan-detect.yaml
@@ -6,7 +6,7 @@
# detecting fans using that type.
#- [Detection method]:
-# - Fan: [A fan enclosure instance]
+# - PrettyName: [pretty name of the fan]
# Sensors: [List of sensors associated with this fan enclosure]
# - i.e) For tach feedback detection:
# The hwmon name for a detected fan rotor's tach feedback
@@ -17,7 +17,7 @@
# Example entry for a single fan's presence detected by 'Tach' feedback
#- Tach:
-# - Fan:
+# - PrettyName: fan0
# Sensors:
# - fan0
# Inventory: /system/chassis/fan0
OpenPOWER on IntegriCloud