Matt Spinler | 480c9f9 | 2017-09-28 13:40:26 -0500 | [diff] [blame] | 1 | fans: |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 2 | - inventory: /system/chassis/motherboard/fan0 |
Matthew Barth | ea7572a | 2018-02-20 16:09:49 -0600 | [diff] [blame] | 3 | functional_delay: 5 |
Matthew Barth | a5e0891 | 2017-11-20 13:29:33 -0600 | [diff] [blame] | 4 | allowed_out_of_range_time: 30 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 5 | deviation: 15 |
| 6 | num_sensors_nonfunc_for_fan_nonfunc: 1 |
| 7 | sensors: |
Brad Bishop | 49680a3 | 2017-07-10 23:28:11 -0400 | [diff] [blame] | 8 | - name: fan0_0 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 9 | has_target: true |
Brad Bishop | 5c21a72 | 2017-07-10 23:49:41 -0400 | [diff] [blame] | 10 | - name: fan0_1 |
| 11 | has_target: false |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 12 | |
| 13 | - inventory: /system/chassis/motherboard/fan1 |
Matthew Barth | ea7572a | 2018-02-20 16:09:49 -0600 | [diff] [blame] | 14 | functional_delay: 5 |
Matthew Barth | a5e0891 | 2017-11-20 13:29:33 -0600 | [diff] [blame] | 15 | allowed_out_of_range_time: 30 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 16 | deviation: 15 |
| 17 | num_sensors_nonfunc_for_fan_nonfunc: 1 |
| 18 | sensors: |
Brad Bishop | 49680a3 | 2017-07-10 23:28:11 -0400 | [diff] [blame] | 19 | - name: fan1_0 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 20 | has_target: true |
Brad Bishop | 5c21a72 | 2017-07-10 23:49:41 -0400 | [diff] [blame] | 21 | - name: fan1_1 |
| 22 | has_target: false |
Matthew Barth | 1a16c2a | 2018-05-03 17:06:08 -0500 | [diff] [blame] | 23 | # Create fan1 inventory & sensors on air cooled only |
| 24 | condition: |
| 25 | name: propertiesMatch |
| 26 | properties: |
| 27 | - object: /xyz/openbmc_project/inventory/system/chassis |
| 28 | interface: xyz.openbmc_project.Inventory.Decorator.CoolingType |
| 29 | property: |
| 30 | name: WaterCooled |
| 31 | type: bool |
| 32 | value: false |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 33 | |
| 34 | - inventory: /system/chassis/motherboard/fan2 |
Matthew Barth | ea7572a | 2018-02-20 16:09:49 -0600 | [diff] [blame] | 35 | functional_delay: 5 |
Matthew Barth | a5e0891 | 2017-11-20 13:29:33 -0600 | [diff] [blame] | 36 | allowed_out_of_range_time: 30 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 37 | deviation: 15 |
| 38 | num_sensors_nonfunc_for_fan_nonfunc: 1 |
| 39 | sensors: |
Brad Bishop | 49680a3 | 2017-07-10 23:28:11 -0400 | [diff] [blame] | 40 | - name: fan2_0 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 41 | has_target: true |
Brad Bishop | 5c21a72 | 2017-07-10 23:49:41 -0400 | [diff] [blame] | 42 | - name: fan2_1 |
| 43 | has_target: false |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 44 | |
| 45 | - inventory: /system/chassis/motherboard/fan3 |
Matthew Barth | ea7572a | 2018-02-20 16:09:49 -0600 | [diff] [blame] | 46 | functional_delay: 5 |
Matthew Barth | a5e0891 | 2017-11-20 13:29:33 -0600 | [diff] [blame] | 47 | allowed_out_of_range_time: 30 |
Matt Spinler | b2a0c49 | 2017-05-01 13:06:53 -0500 | [diff] [blame] | 48 | deviation: 15 |
| 49 | num_sensors_nonfunc_for_fan_nonfunc: 1 |
| 50 | sensors: |
Brad Bishop | 49680a3 | 2017-07-10 23:28:11 -0400 | [diff] [blame] | 51 | - name: fan3_0 |
Matthew Barth | cd2ffef | 2017-07-06 14:10:32 -0500 | [diff] [blame] | 52 | has_target: true |
Brad Bishop | 5c21a72 | 2017-07-10 23:49:41 -0400 | [diff] [blame] | 53 | - name: fan3_1 |
| 54 | has_target: false |
Matt Spinler | 480c9f9 | 2017-09-28 13:40:26 -0500 | [diff] [blame] | 55 | |
| 56 | sensor_trust_groups: |
| 57 | - class: NonzeroSpeed |
Matthew Barth | ea7572a | 2018-02-20 16:09:49 -0600 | [diff] [blame] | 58 | group: |
| 59 | # Include all _1 fans to determine trust |
Matt Spinler | 480c9f9 | 2017-09-28 13:40:26 -0500 | [diff] [blame] | 60 | - name: fan0_1 |
| 61 | - name: fan1_1 |
| 62 | - name: fan2_1 |
| 63 | - name: fan3_1 |
Matthew Barth | ea7572a | 2018-02-20 16:09:49 -0600 | [diff] [blame] | 64 | # Add all _0 fans to be included in trust result effects, |
| 65 | # but not in determining trust |
| 66 | - name: fan0_0 |
| 67 | in_trust: false |
| 68 | - name: fan1_0 |
| 69 | in_trust: false |
| 70 | - name: fan2_0 |
| 71 | in_trust: false |
| 72 | - name: fan3_0 |
| 73 | in_trust: false |