1*** Settings ***
2Documentation      Test BMC using https://github.com/DMTF/Redfish-Service-Validator.
3...                DMTF tool.
4
5Library            OperatingSystem
6Resource           ../../lib/dmtf_tools_utils.robot
7
8*** Variables ***
9
10${DEFAULT_PYTHON}  python3
11${rsv_dir_path}    Redfish-Service-Validator
12${rsv_github_url}  https://github.com/DMTF/Redfish-Service-Validator.git
13${command_string}  ${DEFAULT_PYTHON} ${rsv_dir_path}${/}RedfishServiceValidator.py
14...                --ip ${OPENBMC_HOST} --nochkcert --forceauth -u ${OPENBMC_USERNAME}
15...                -p ${OPENBMC_PASSWORD} --logdir ${EXECDIR}${/}logs${/} --debug_logging
16
17*** Test Case ***
18
19Test BMC Redfish Using Redfish Service Validator
20    [Documentation]  Check conformance with a Redfish service interface.
21    [Tags]  Test_BMC_Redfish_Using_Redfish_Service_Validator
22
23    Download DMTF Tool  ${rsv_dir_path}  ${rsv_github_url}
24
25    ${output}=  Run DMTF Tool  ${rsv_dir_path}  ${command_string}
26
27    Redfish Service Validator Result  ${output}
28