blob: 9bbb37a80683a09fd5528a70c340adf6f709fcda [file] [log] [blame]
*** Settings ***
Documentation Keywords for system related test. This is a subset of the
... utils.robot. This resource file keywords is specifically
... define for system test use cases.
Resource ../lib/utils.robot
*** Variables ***
*** Keywords ***
Execute Command On OS
[Documentation] Execute given command on OS and return output.
[Arguments] ${command}
${stdout} ${stderr}= Execute Command ${command} return_stderr=True
Should Be Empty ${stderr}
[Return] ${stdout}
Login To OS
[Documentation] Login to OS Host.
[Arguments] ${os_host}=${OS_HOST} ${os_username}=${OS_USERNAME}
... ${os_password}=${OS_PASSWORD}
# Desription of arguments:
# ${os_host} IP address of the OS Host.
# ${os_username} OS Host Login user name.
# ${os_password} OS Host Login passwrd.
Open Connection ${os_host}
${resp}= Login ${os_username} ${os_password}
[Return] ${resp}