Modified Testcases for NoAccess Userrole, Power operation and Added Global Variables
Changes made to verify Redfish login would not
succeed for LDAP user with "NoAccess" user role.
Added Host power On/Off operation for in below testcases.
Update LDAP User Role And Host Poweron
Update LDAP User Role And Host Poweroff
Above testcase will check power operation for each ldap userrole,
After verifying the power operation, adding power on/off to get
back the host state as so, next userrole will verify the host power on/off.
Added LDAP global variables like ldap server uri,group privilege,
group name which are used to create ldap user, in resource.robot file.
Modified Administrator as default value for old_ldap_privilege in script file.
Tested Run robot redfish/account_service/test_ldap_configuration.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com>
Change-Id: I2544da73cd190859315b74b06688ce193e061fdd
diff --git a/lib/resource.robot b/lib/resource.robot
index 121defe..9a023ce 100755
--- a/lib/resource.robot
+++ b/lib/resource.robot
@@ -145,6 +145,9 @@
${LDAP_TYPE} ${EMPTY}
${LDAP_USER} ${EMPTY}
${LDAP_USER_PASSWORD} ${EMPTY}
+${GROUP_PRIVILEGE} ${EMPTY}
+${GROUP_NAME} ${EMPTY}
+${LDAP_SERVER_URI} ldap://${LDAP_SERVER_HOST}
# General tool variables
# FFDC_DEFAULT == 1; use Default FFDC methods