Jordan Chen | 65868c6 | 2022-05-11 13:31:47 +0000 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Test BMC Redfish conformance using https://github.com/DMTF/Redfish-Interop-Validator. |
| 3 | ... DMTF tool. |
| 4 | ... It validate the Redfish service based on an interoperability profile given to it. |
| 5 | |
| 6 | Resource ../../lib/dmtf_tools_utils.robot |
| 7 | |
| 8 | *** Variables *** |
| 9 | |
| 10 | ${DEFAULT_PYTHON} python3 |
| 11 | ${rsv_dir_path} Redfish-Interop-Validator |
| 12 | ${rsv_github_url} https://github.com/DMTF/Redfish-Interop-Validator.git |
| 13 | ${cmd_str_master} ${DEFAULT_PYTHON} ${rsv_dir_path}${/}RedfishInteropValidator.py |
| 14 | ... --ip https://${OPENBMC_HOST}:${HTTPS_PORT} --authtype=Session -u ${OPENBMC_USERNAME} |
| 15 | ... -p ${OPENBMC_PASSWORD} --logdir ${EXECDIR}${/}logs${/} --debugging |
| 16 | ... ${EXECDIR}/data/openbmc_redfish_interop_profile.json |
ganesanb | bca06d0 | 2023-04-15 10:52:51 +0000 | [diff] [blame] | 17 | ${branch_name} master |
Jordan Chen | 65868c6 | 2022-05-11 13:31:47 +0000 | [diff] [blame] | 18 | |
| 19 | *** Test Case *** |
| 20 | |
| 21 | Test BMC Redfish Using Redfish Interop Validator |
| 22 | [Documentation] Check conformance based on the OpenBMC Interoperability profile. |
| 23 | [Tags] Test_BMC_Redfish_Using_Redfish_Interop_Validator |
| 24 | |
ganesanb | bca06d0 | 2023-04-15 10:52:51 +0000 | [diff] [blame] | 25 | Download DMTF Tool ${rsv_dir_path} ${rsv_github_url} ${branch_name} |
Jordan Chen | 65868c6 | 2022-05-11 13:31:47 +0000 | [diff] [blame] | 26 | |
| 27 | ${rc} ${output}= Run DMTF Tool ${rsv_dir_path} ${cmd_str_master} check_error=1 |
| 28 | |
| 29 | Run Keyword If ${rc} != 0 Fail Redfish-Interop-Validator Failed. |