Write Commands Until Expected Prompt
[Arguments] ${cmd} ${prompt} ${timeout}=${DEFAULT_TIMEOUT}
[Documentation] quick wrapper for Write and Read Until Prompt Keywords to make test cases more readable
+ BuiltIn.Log cmd: ${cmd}
SSHLibrary.Set Client Configuration timeout=${timeout}
SSHLibrary.Read
SSHLibrary.Write ${cmd}
${output}= SSHLibrary.Read Until ${prompt}
[Return] ${output}
+Write Commands Until Expected Regexp
+ [Arguments] ${cmd} ${regexp} ${timeout}=${DEFAULT_TIMEOUT}
+ [Documentation] quick wrapper for Write and Read Until Prompt Keywords to make test cases more readable
+ BuiltIn.Log cmd: ${cmd}
+ SSHLibrary.Set Client Configuration timeout=${timeout}
+ SSHLibrary.Read
+ SSHLibrary.Write ${cmd}
+ ${output}= SSHLibrary.Read Until Regexp ${regexp}
+ [Return] ${output}
+
Install Package On Ubuntu System
[Arguments] ${package_name} ${system}=${TOOLS_SYSTEM_IP} ${user}=${TOOLS_SYSTEM_USER} ${password}=${TOOLS_SYSTEM_PASSWORD} ${prompt}=${DEFAULT_LINUX_PROMPT} ${prompt_timeout}=30s
[Documentation] Keyword to install packages for testing to Ubuntu Mininet VM