Sridevi Ramesh | fe52e40 | 2020-02-05 00:15:24 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Module to test PLDM FRU (Field Replaceable Unit) commands. |
| 4 | |
| 5 | Library ../lib/pldm_utils.py |
| 6 | Variables ../data/pldm_variables.py |
| 7 | Resource ../lib/openbmc_ffdc.robot |
| 8 | |
| 9 | Test Setup Printn |
| 10 | Test Teardown FFDC On Test Case Fail |
| 11 | |
| 12 | *** Test Cases *** |
| 13 | |
| 14 | Verify GetFruRecordTableMetadata |
| 15 | [Documentation] Verify get fru record table meta data reponse message. |
| 16 | [Tags] Verify_GetFruRecordTableMetadata |
| 17 | |
| 18 | # pldm_output: |
| 19 | # [frutablelength]: 60 |
| 20 | # [frudatamajorversion]: 1 |
| 21 | # [total_number_of_record_set_identifiers_in_table]: 1 |
| 22 | # [frudataminorversion]: 0 |
| 23 | # [total_number_of_records_in_table]: 1 |
| 24 | # [frutablemaximumsize]: 4294967295 |
| 25 | |
| 26 | ${pldm_output}= Pldmtool fru GetFruRecordTableMetadata |
| 27 | Rprint Vars pldm_output |
| 28 | Valid Dict pldm_output valid_values=${RESPONSE_DICT_GETFRURECORDTABLEMETADATA} |