Added test to verify error while creating more than max user limit

Change-Id: Ic78b956fde379e044aa9b3dc0ad1aa16ede58529
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 63179a2..1fba459 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -408,3 +408,13 @@
     ...  channel setaccess${SPACE}${channel}${SPACE}${userid}
     ...  ${SPACE}${options}
     Run IPMI Standard Command  ${ipmi_cmd}
+
+
+Delete All Non Root IPMI User
+    [Documentation]  Delete all non-root IPMI user.
+
+    FOR  ${userid}  IN RANGE  2  16
+      ${user_info}=  Get User Info  ${userid}
+      Run Keyword If  "${user_info['user_name']}" != ""
+      ...  Run IPMI Standard Command  user set name ${userid} ""
+    END