blob: e5f9b6e20343c11f735ae06a7fd92642c3e4e782 [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
17
18*** Test Case ***
19
20Test BMC Redfish Using Redfish Interop Validator
21 [Documentation] Check conformance based on the OpenBMC Interoperability profile.
22 [Tags] Test_BMC_Redfish_Using_Redfish_Interop_Validator
23
24 Download DMTF Tool ${rsv_dir_path} ${rsv_github_url}
25
26 ${rc} ${output}= Run DMTF Tool ${rsv_dir_path} ${cmd_str_master} check_error=1
27
28 Run Keyword If ${rc} != 0 Fail Redfish-Interop-Validator Failed.