blob: cb1c4939022a456f84eaaf968805f8eda2f75a52 [file] [log] [blame]
Jordan Chen65868c62022-05-11 13:31:47 +00001*** Settings ***
2Documentation 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
6Resource ../../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
ganesanbbca06d02023-04-15 10:52:51 +000017${branch_name} master
Jordan Chen65868c62022-05-11 13:31:47 +000018
19*** Test Case ***
20
21Test 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
ganesanbbca06d02023-04-15 10:52:51 +000025 Download DMTF Tool ${rsv_dir_path} ${rsv_github_url} ${branch_name}
Jordan Chen65868c62022-05-11 13:31:47 +000026
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.