|  | *** Settings *** | 
|  |  | 
|  | Documentation  Fan checks. | 
|  |  | 
|  | # Test Parameters: | 
|  | # OPENBMC_HOST       The BMC host name or IP address. | 
|  | # OPENBMC_USERNAME   The userID for the BMC login. | 
|  | # OPENBMC_PASSWORD   The password for OPENBMC_USERNAME. | 
|  | # | 
|  | # Approximate run time:  15 seconds. | 
|  |  | 
|  | Resource         ../lib/state_manager.robot | 
|  | Resource         ../lib/fan_utils.robot | 
|  | Resource         ../lib/openbmc_ffdc.robot | 
|  |  | 
|  | Test Teardown    FFDC On Test Case Fail | 
|  |  | 
|  |  | 
|  | *** Test Cases *** | 
|  |  | 
|  | Fan Base Check Number Of Fans | 
|  | [Documentation]  Verify minimum number of fans. | 
|  | [Tags]  Fan_Base_Check_Number_Of_Fans | 
|  |  | 
|  | @{fan_names}  Create List | 
|  | # Populate the list with the names of fans in the system. | 
|  | ${fan_names}=  Get Fan Names  ${fan_names} | 
|  | ${number_of_fans}=  Get Length  ${fan_names} | 
|  |  | 
|  | # Determine if system is water cooled. | 
|  | ${water_coooled}=  Is Water Cooled | 
|  |  | 
|  | Verify Minimum Number Of Fans With Cooling Type  ${number_of_fans} | 
|  | ...  ${water_coooled} | 
|  |  | 
|  |  | 
|  | Fan Base Check Number Of Fan Monitors | 
|  | [Documentation]  Verify number of fan monitor daemons. | 
|  | [Tags]  Fan_Base_Check_Number_Of_Fan_Monitors | 
|  |  | 
|  | ${power_state}=  Get Chassis Power State | 
|  | Verify Fan Monitors With State  ${power_state} |