Rahul Maheshwari | 712baaf | 2019-07-29 23:52:36 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Module to test IPMI SEL functionality. |
| 4 | Resource ../lib/ipmi_client.robot |
| 5 | Resource ../lib/openbmc_ffdc.robot |
| 6 | |
| 7 | Test Teardown FFDC On Test Case Fail |
| 8 | |
| 9 | *** Test Cases *** |
| 10 | |
| 11 | Verify IPMI SEL Version |
| 12 | [Documentation] Verify IPMI SEL's version info. |
| 13 | [Tags] Verify_IPMI_SEL_Version |
| 14 | ${version_info}= Get IPMI SEL Setting Version |
| 15 | ${setting_status}= Fetch From Left ${version_info} ( |
| 16 | ${setting_status}= Evaluate $setting_status.replace(' ','') |
| 17 | |
| 18 | Should Be True ${setting_status} >= 1.5 |
| 19 | Should Contain ${version_info} v2 compliant case_insensitive=True |
| 20 | |
| 21 | |
| 22 | Verify Empty SEL |
| 23 | [Documentation] Verify empty SEL list. |
| 24 | [Tags] Verify_Empty_SEL |
| 25 | Run IPMI Standard Command sel clear |
| 26 | |
| 27 | ${resp}= Run IPMI Standard Command sel list |
| 28 | Should Contain ${resp} SEL has no entries case_insensitive=True |
| 29 | |