summaryrefslogtreecommitdiffstats
path: root/presence/example
diff options
context:
space:
mode:
Diffstat (limited to 'presence/example')
-rw-r--r--presence/example/example.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/presence/example/example.yaml b/presence/example/example.yaml
index aea0139..140e1ec 100644
--- a/presence/example/example.yaml
+++ b/presence/example/example.yaml
@@ -64,3 +64,20 @@
rpolicy:
type: fallback
+- name: Example Fan3
+ description: >
+ 'Example fan with anyof redundancy policy.
+
+ The anyof algorithm reports true if any redundancy set
+ component sensors report true.'
+ path: /system/chassis/motherboard/fan3
+ methods:
+ - type: gpio
+ key: 125
+ physpath: /sys/devices/foo/bar
+ - type: tach
+ sensors:
+ - fan3
+ rpolicy:
+ type: anyof
+
OpenPOWER on IntegriCloud