projects
/
osm
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove regression tag from new tests
[osm/tests.git]
/
robot-systest
/
lib
/
juju_lib.robot
diff --git
a/robot-systest/lib/juju_lib.robot
b/robot-systest/lib/juju_lib.robot
index
2eab9bf
..
62f557e
100644
(file)
--- a/
robot-systest/lib/juju_lib.robot
+++ b/
robot-systest/lib/juju_lib.robot
@@
-16,21
+16,19
@@
${success_return_code} 0
*** Keywords ***
Get Scale Number
*** Keywords ***
Get Scale Number
- [Arguments] ${application_name} ${model_name}
+ [Arguments] ${
host} ${username} ${password} ${privatekey} ${
application_name} ${model_name}
Should Not Be Empty ${application_name} ${model_name}
Should Not Be Empty ${application_name} ${model_name}
- ${
rc} ${stdout}= Run and Return RC and Output
juju show-status ${application_name} --format yaml -m ${model_name} | grep scale | awk -F ': ' '{print $2}'
+ ${
stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey}
juju show-status ${application_name} --format yaml -m ${model_name} | grep scale | awk -F ': ' '{print $2}'
log ${stdout}
log ${stdout}
- Should Be Equal As Integers ${rc} ${success_return_code}
- [Return] ${stdout}
+ [Return] ${stdout}
Get Model Name
Get Model Name
- [Arguments] ${ns_id} ${kdu_name}
+ [Arguments] ${
host} ${username} ${password} ${privatekey} ${
ns_id} ${kdu_name}
Should Not Be Empty ${ns_id} ${kdu_name}
Should Not Be Empty ${ns_id} ${kdu_name}
- ${
rc} ${stdout}= Run and Return RC and Output
juju models | grep -i ${kdu_name} | grep -i ${ns_id} | cut -f1 -d " "
+ ${
stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey}
juju models | grep -i ${kdu_name} | grep -i ${ns_id} | cut -f1 -d " "
log ${stdout}
log ${stdout}
- Should Be Equal As Integers ${rc} ${success_return_code}
${model_name}= Set Variable ${kdu_name}-${ns_id}
Should Be Equal As Strings ${model_name} ${stdout}
${model_name}= Set Variable ${kdu_name}-${ns_id}
Should Be Equal As Strings ${model_name} ${stdout}
- [Return] ${stdout}
\ No newline at end of file
+ [Return] ${stdout}