blob: b5adcf3ca610c1cdf0536fb47466b50ba6405b12 [file] [log] [blame]
Gunnar Mills63605cd2017-06-05 14:08:41 -05001#Example zone conditions for phosphor-fan-control
2
3#conditions:
4# - name: [A unique name for this condition.]
5# type: [The type of condition. Currently, the only supported type is
6# getProperty]
7# properties:
8# - property: [The Dbus property name on the interface.]
9# interface: [The Dbus interface that contains the property.]
10# path: [The Dbus path where the interface is located.]
11# type: [The property type for this property.]
12# value: [The property value for this condition to be set.]
13
14#Example:
15#conditions:
16# - name: air_cooled_chassis
17# type: getProperty
18# properties:
19# - property: WaterCooled
20# interface: xyz.openbmc_project.Inventory.Decorator.CoolingType
21# path: /xyz/openbmc_project/inventory/system/chassis
22# type: bool
23# value: false
24#
25# - name: water_and_air_cooled_chassis
26# type: getProperty
27# properties:
28# - property: WaterCooled
29# interface: xyz.openbmc_project.Inventory.Decorator.CoolingType
30# path: /xyz/openbmc_project/inventory/system/chassis
31# type: bool
32# value: true