diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-06-05 14:08:41 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-26 02:06:05 +0000 |
commit | 63605cd3b7c66f2fbfeb40f85a1fb3ce1ab87424 (patch) | |
tree | 8f0fc35819d5b06c5dc2e50e642b8d35c7a99838 | |
parent | 620e4342f67c758bef3e8121c29236cc23a84b8b (diff) | |
download | phosphor-fan-presence-63605cd3b7c66f2fbfeb40f85a1fb3ce1ab87424.tar.gz phosphor-fan-presence-63605cd3b7c66f2fbfeb40f85a1fb3ce1ab87424.zip |
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 <gmills@us.ibm.com>
-rw-r--r-- | control/example/zone_conditions.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
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 |