DMTF use case checker tool
Changes:
- Test user management account
Change-Id: I449582ace1fa8a667bf6afe45ee4b062cce747c4
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Signed-off-by: Maksym Yepaneshnikov <Maksym_Yepaneshnikov@jabil.com>
diff --git a/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot b/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot
new file mode 100644
index 0000000..42c1b0e
--- /dev/null
+++ b/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot
@@ -0,0 +1,44 @@
+*** Settings ***
+Documentation Test BMC using https://github.com/DMTF/Redfish-Usecase-Checkers
+... DMTF tool.
+
+Library OperatingSystem
+Resource ../../lib/dmtf_tools_utils.robot
+Resource ../../lib/openbmc_ffdc.robot
+
+Test Setup Test Setup Execution
+Test Teardown Test Teardown Execution
+
+*** Variables ***
+
+${DEFAULT_PYTHON} python3
+
+${rsv_github_url} https://github.com/DMTF/Redfish-Usecase-Checkers.git
+${rsv_dir_path} Redfish-Usecase-Checkers
+
+${command_account} ${DEFAULT_PYTHON} ${rsv_dir_path}${/}account_management/account_management.py
+... -r ${OPENBMC_HOST} -u ${OPENBMC_USERNAME}
+... -p ${OPENBMC_PASSWORD} -S Always -d ${EXECDIR}${/}logs${/} -v
+
+*** Test Case ***
+
+Test BMC Redfish Account Management
+ [Documentation] Check Account Management with a Redfish interface.
+ [Tags] Test_BMC_Redfish_Account_Management
+
+ ${output}= Run DMTF Tool ${rsv_dir_path} ${command_account}
+
+ ${output}= Shell Cmd cat ${EXECDIR}${/}logs${/}results.json
+ Log ${output}
+
+*** Keywords ***
+
+Test Setup Execution
+ [Documentation] Do test case setup tasks.
+
+ Download DMTF Tool ${rsv_dir_path} ${rsv_github_url}
+
+Test Teardown Execution
+ [Documentation] Do the post-test teardown.
+
+ FFDC On Test Case Fail