2 Documentation Robot wrapper around ODLTools.
3 Resource ../variables/Variables.robot
7 [Documentation] Get the odltools version
8 ${cmd} = BuiltIn.Set Variable odltools -V
9 ${rc} ${output} = OperatingSystem.Run And Return Rc And Output ${cmd}
10 BuiltIn.Log rc: ${rc}, output: ${output}
11 BuiltIn.Should Be True '${rc}' == '0'
15 [Arguments] ${node_ip}=${TOOLS_SYSTEM_IP} ${port}=${RESTCONFPORT}
16 [Documentation] Get the odltools version
17 ${cmd} = BuiltIn.Set Variable odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
18 ${rc} ${output} = OperatingSystem.Run And Return Rc And Output ${cmd}
19 BuiltIn.Log rc: ${rc}, output: ${output}
20 BuiltIn.Should Be True '${rc}' == '0'