[Arguments] ${controller_ip}
[Documentation] Will disable token based authentication. Currently, that is done with a config file change
SSHLibrary.Open Connection ${controller_ip}
[Arguments] ${controller_ip}
[Documentation] Will disable token based authentication. Currently, that is done with a config file change
SSHLibrary.Open Connection ${controller_ip}
${cmd}= Set Variable sed -i 's/^authEnabled=.*$/authEnabled=false/g' ${AUTHN_CFG_FILE}
SSHLibrary.Execute Command ${cmd}
SSHLibrary.Close Connection
${cmd}= Set Variable sed -i 's/^authEnabled=.*$/authEnabled=false/g' ${AUTHN_CFG_FILE}
SSHLibrary.Execute Command ${cmd}
SSHLibrary.Close Connection
[Arguments] ${controller_ip}
[Documentation] Will enable token based authentication. Currently, that is done with a config file change
SSHLibrary.Open Connection ${controller_ip}
[Arguments] ${controller_ip}
[Documentation] Will enable token based authentication. Currently, that is done with a config file change
SSHLibrary.Open Connection ${controller_ip}
${cmd}= Set Variable sed -i 's/^authEnabled=.*$/authEnabled=true/g' ${AUTHN_CFG_FILE}
SSHLibrary.Execute Command ${cmd}
SSHLibrary.Close Connection
${cmd}= Set Variable sed -i 's/^authEnabled=.*$/authEnabled=true/g' ${AUTHN_CFG_FILE}
SSHLibrary.Execute Command ${cmd}
SSHLibrary.Close Connection