IPMI user summary test
Changes:
- Add support to verify and enable the user in IPMI
in the below test case
Verify IPMI User Summary
Tested:
- Tested changes on the BMC environment
Resolves openbmc/openbmc-test-automation#2189
Change-Id: I80c9a0f1d8722906333a761216ed83158b1053ef
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index 9fec7f1..1c94f1a 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -49,6 +49,9 @@
Set Test Variable ${random_userid}
Run IPMI Standard Command user enable ${random_userid}
+ # Enable IPMI user and verify
+ Enable IPMI User And Verify ${random_userid}
+
# Verify number of currently enabled users.
${current_user_count} ${maximum_ids}= Get Enabled User Count
${calculated_count}= Evaluate ${initial_user_count} + 1
@@ -127,8 +130,7 @@
Verify Setting IPMI User With Invalid Password
- [Documentation] Verify error while setting IPMI user with invalid
- ... password.
+ [Documentation] Verify error while setting IPMI user with invalid password.
[Tags] Verify_Setting_IPMI_User_With_Invalid_Password
[Teardown] Run Keywords FFDC On Test Case Fail AND
... Delete Created User ${random_userid}
@@ -147,8 +149,7 @@
Verify Setting IPMI Root User With New Name
- [Documentation] Verify error while setting IPMI root user with new
- ... name.
+ [Documentation] Verify error while setting IPMI root user with new name.
[Tags] Verify_Setting_IPMI_Root_User_With_New_Name
# Set invalid password for newly created user.
@@ -260,8 +261,8 @@
Test IPMI Operator Privilege Level
- [Documentation] Verify IPMI user with operator privilege can only run user and operator levels commands.
- ... level is set to operator.
+ [Documentation] Verify IPMI user with operator privilege can only run user and
+ ... operator level commands.
[Tags] Test_IPMI_Operator_Privilege_Level
[Template] Test IPMI User Privilege
[Teardown] Run Keywords FFDC On Test Case Fail AND