Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 1 | groups: |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 2 | - name: air_cooled_zone0_fans |
| 3 | description: Group of fan inventory objects for air cooled zone 0 |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 4 | type: inventory |
| 5 | members: |
| 6 | - /system/chassis/motherboard/fan0 |
| 7 | - /system/chassis/motherboard/fan1 |
| 8 | - /system/chassis/motherboard/fan2 |
| 9 | - /system/chassis/motherboard/fan3 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 10 | - name: water_and_air_cooled_zone0_fans |
| 11 | description: Group of fan inventory objects for water/air cooled zone 0 |
| 12 | type: inventory |
| 13 | members: |
| 14 | - /system/chassis/motherboard/fan0 |
| 15 | - /system/chassis/motherboard/fan2 |
| 16 | - /system/chassis/motherboard/fan3 |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 17 | |
| 18 | actions: |
| 19 | - name: count_state_before_speed |
| 20 | description: Set the speed when a number of properties at a state |
| 21 | parameters: |
| 22 | - count |
| 23 | - property |
| 24 | - speed |
| 25 | |
| 26 | events: |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 27 | - name: missing_before_high_speed_air |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 28 | zone_conditions: |
| 29 | - name: air_cooled_chassis |
| 30 | zones: |
| 31 | - 0 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 32 | group: air_cooled_zone0_fans |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 33 | interface: xyz.openbmc_project.Inventory.Item |
| 34 | property: |
| 35 | name: Present |
| 36 | type: bool |
| 37 | action: |
| 38 | name: count_state_before_speed |
| 39 | count: 1 |
| 40 | property: false |
| 41 | speed: |
| 42 | value: 10500 |
| 43 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 44 | - name: fails_before_high_speed_air |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 45 | zone_conditions: |
| 46 | - name: air_cooled_chassis |
| 47 | zones: |
| 48 | - 0 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 49 | group: air_cooled_zone0_fans |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 50 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 51 | property: |
| 52 | name: Functional |
| 53 | type: bool |
| 54 | action: |
| 55 | name: count_state_before_speed |
| 56 | count: 1 |
| 57 | property: false |
| 58 | speed: |
| 59 | value: 10500 |
| 60 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 61 | - name: missing_before_high_speed_water_and_air |
| 62 | zone_conditions: |
| 63 | - name: water_and_air_cooled_chassis |
| 64 | zones: |
| 65 | - 0 |
| 66 | group: water_and_air_cooled_zone0_fans |
| 67 | interface: xyz.openbmc_project.Inventory.Item |
| 68 | property: |
| 69 | name: Present |
| 70 | type: bool |
| 71 | action: |
| 72 | name: count_state_before_speed |
| 73 | count: 1 |
| 74 | property: false |
| 75 | speed: |
| 76 | value: 10500 |
| 77 | type: uint64_t |
| 78 | - name: fails_before_high_speed_water_and_air |
| 79 | zone_conditions: |
| 80 | - name: water_and_air_cooled_chassis |
| 81 | zones: |
| 82 | - 0 |
| 83 | group: water_and_air_cooled_zone0_fans |
| 84 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 85 | property: |
| 86 | name: Functional |
| 87 | type: bool |
| 88 | action: |
| 89 | name: count_state_before_speed |
| 90 | count: 1 |
| 91 | property: false |
| 92 | speed: |
| 93 | value: 10500 |
| 94 | type: uint64_t |
| 95 | |