1# rpolicy 2 3## Description 4 5The type of redundancy policy to use against the methods of presence detection. 6When there are more than one method of detecting a fan, the policy in which to 7use those methods can be configured based on system expectations. 8 9## Attribute Value(s) 10 11Policy `type`: 12 13- ["anyof"](#anyof) 14- ["fallback"](#fallback) 15 16### "anyof" 17 18A policy where if any method of fan presence detection denotes the fan is 19present, results in the fan being marked present. All methods of detection must 20denote the fan as missing to have a fan be not present. 21 22```text 23"type": "anyof" 24``` 25 26### "fallback" 27 28A policy to use the first method of fan presence detection and then use the next 29method only when the first method denotes the fan is missing. 30 31```text 32"type": "fallback" 33``` 34 35## Example 36 37<pre><code> 38[ 39 { 40 "name": "fan0", 41 "path": "/system/chassis/motherboard/fan0", 42 "methods": [ 43 { 44 "type": "tach", 45 "sensors": [ 46 "fan0_0" 47 ] 48 } 49 ], 50 <b><i>"rpolicy": { 51 "type": "anyof" 52 }"</i></b> 53 } 54] 55</code></pre> 56