wspoon: Only create/monitor fan1 on air cooled

Add a condition check for fan1 that will only create fan1 associated
functional properties and actively monitor fan1 if the condition passes.
The condition checks the CoolingType is not WaterCooled.

Tested:
    Fan1 functional properties are created when condition passes
    Fan1 is monitored when condition passes

Change-Id: I0d9a91ceea500f82e4ccad2dbdc887a14286cf95
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed
tree: 681bde15795a1dc756464c663288a566a814e46d
  1. classes/
  2. common/
  3. conf/
  4. meta-ibm/
  5. meta-ingrasys/
  6. meta-rackspace/
  7. COPYING.apache-2.0
  8. COPYING.MIT
  9. LICENSE
  10. README.md
README.md

OpenPOWER

meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.