wspoon: Remove fan1 on water cooled only
Fan1 is not required on water cooled Witherspoons, therefore it should
be removed from inventory and let the corresponding fan applications
recreate their associated inventory interfaces/properties for the fan1
object.
Previously, fan1 was removed by inventory manager whenever it was
restarted regardless of whether the Witherspoon was water or air cooled.
This change updates inventory manager to be capable of reading a
property that it hosts and using it as a filter on performing an action.
In the case of water cooled Witherspoons, the `WaterCooled` property
hosted by inventory manager is read as a filter to have inventory
manager destroy all the fan1 objects. This will only remove the fan1
inventory objects on water cooled Witherspoons now.
Requires:
pim: 979eb591652fba30f86ec5b7f5c5f73c06651c70
Change-Id: Icbcce0d35eed33d20e5775e1b24936a502c866de
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
1 file changed