summaryrefslogtreecommitdiffstats
path: root/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 08:35:02 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-04-25 08:02:05 +0000
commitc6a41036bb2f2fedb9a37ab3e1721839110b32a1 (patch)
tree5d3723e067adac7eaa4843d7ef24fbd82dc2aceb /meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native
parentfb83e16d3529ade1057088c33faeb4ea7ff922ed (diff)
downloadtalos-openbmc-c6a41036bb2f2fedb9a37ab3e1721839110b32a1.tar.gz
talos-openbmc-c6a41036bb2f2fedb9a37ab3e1721839110b32a1.zip
[Subtree] Bring openbmc machines to top level
Diffstat (limited to 'meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native')
-rw-r--r--meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native/zone_conditions.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native/zone_conditions.yaml b/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native/zone_conditions.yaml
new file mode 100644
index 000000000..244b6b16b
--- /dev/null
+++ b/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config-native/zone_conditions.yaml
@@ -0,0 +1,27 @@
+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
+
+ - name: second_cpu_controlled
+ type: getProperty
+ properties:
+ - property: OccActive
+ interface: org.open_power.OCC.Status
+ path: /org/open_power/control/occ1
+ type: bool
+ value: true \ No newline at end of file
OpenPOWER on IntegriCloud