From 63605cd3b7c66f2fbfeb40f85a1fb3ce1ab87424 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Mon, 5 Jun 2017 14:08:41 -0500 Subject: Example zone conditions yaml An example yaml file for zone conditions to be used to create the correct fan zones. Change-Id: I6ca339a3a9f37bc70424cde57f2229a5dcb70cbb Signed-off-by: Gunnar Mills --- control/example/zone_conditions.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 control/example/zone_conditions.yaml diff --git a/control/example/zone_conditions.yaml b/control/example/zone_conditions.yaml new file mode 100644 index 0000000..b5adcf3 --- /dev/null +++ b/control/example/zone_conditions.yaml @@ -0,0 +1,32 @@ +#Example zone conditions for phosphor-fan-control + +#conditions: +# - name: [A unique name for this condition.] +# type: [The type of condition. Currently, the only supported type is +# getProperty] +# properties: +# - property: [The Dbus property name on the interface.] +# interface: [The Dbus interface that contains the property.] +# path: [The Dbus path where the interface is located.] +# type: [The property type for this property.] +# value: [The property value for this condition to be set.] + +#Example: +#conditions: +# - name: air_cooled_chassis +# type: getProperty +# properties: +# - property: WaterCooled +# interface: xyz.openbmc_project.Inventory.Decorator.CoolingType +# path: /xyz/openbmc_project/inventory/system/chassis +# type: bool +# value: false +# +# - name: water_and_air_cooled_chassis +# type: getProperty +# properties: +# - property: WaterCooled +# interface: xyz.openbmc_project.Inventory.Decorator.CoolingType +# path: /xyz/openbmc_project/inventory/system/chassis +# type: bool +# value: true -- cgit v1.2.1