summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml
diff options
context:
space:
mode:
authorJohn Wang <wangzqbj@inspur.com>2019-06-21 09:42:26 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-06-26 17:07:39 +0300
commit81fa75817700a42b36d9b42a1affe39f7dd988dd (patch)
treedefbd8eeb19ef645ff76a394cf47ce9bf7bc9c74 /meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml
parent0affc810437395e88566cbef3cabf4acc24f5a71 (diff)
downloadopenbmc-81fa75817700a42b36d9b42a1affe39f7dd988dd.tar.xz
fp5280g2: Add fan control yaml config
The fan will rotate full speed according to the fan-control yaml,since ipmi yaml is not configured. Tested: Manually set a speed for the fan and observe that the fan-control sets the fan to full speed. (From meta-inspur rev: 4f5e77b08a50999885f1e58a50a76f8e684ad873) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: If2dd8de7c7798f446216d012fa109a2d4b044be8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml')
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml
new file mode 100644
index 000000000..7dc99b6a2
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/zone_conditions.yaml
@@ -0,0 +1,9 @@
+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