blob: 98fc7bab7f4afe8903937c1b3400ef4aa10d9a18 [file] [log] [blame]
Steven Sombar6b280142018-02-12 10:45:13 -06001*** Settings ***
2
3Documentation Fan checks.
4
5# Test Parameters:
6# OPENBMC_HOST The BMC host name or IP address.
7# OPENBMC_USERNAME The userID for the BMC login.
8# OPENBMC_PASSWORD The password for OPENBMC_USERNAME.
9#
10# Approximate run time: 15 seconds.
11
12Resource ../lib/state_manager.robot
13Resource ../lib/fan_utils.robot
14Resource ../lib/openbmc_ffdc.robot
15
16Test Teardown FFDC On Test Case Fail
17
18
19*** Test Cases ***
20
21Fan Base Check Number Of Fans
22 [Documentation] Verify minimum number of fans.
23 [Tags] Fan_Base_Check_Number_Of_Fans
24
25 # Determine if system is water cooled.
26 ${water_coooled}= Is Water Cooled
27
28 Verify Minimum Number Of Fans With Cooling Type ${water_coooled}
29
30
31Fan Base Check Number Of Fan Monitors
32 [Documentation] Verify number of fan monitor daemons.
33 [Tags] Fan_Base_Check_Number_Of_Fan_Monitors
34
35 ${power_state}= Get Chassis Power State
36 Verify Fan Monitors With State ${power_state}