Feature 10909: Robot tests for healing
Change-Id: I86bab7a72baf6f4accec74e2d54a7b4dfdbe6c38
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
diff --git a/robot-systest/lib/openstack_lib.robot b/robot-systest/lib/openstack_lib.robot
index d544bb5..36e3f1d 100644
--- a/robot-systest/lib/openstack_lib.robot
+++ b/robot-systest/lib/openstack_lib.robot
@@ -103,3 +103,14 @@
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
[Return] ${stdout}
+
+
+Stop Server
+ [Documentation] Stop a server
+ [Arguments] ${server_id}
+
+ Should Not Be Empty ${server_id}
+ ${rc} ${stdout}= Run and Return RC and Output openstack server stop ${server_id}
+ log ${stdout}
+ Should Be Equal As Integers ${rc} ${success_return_code}
+ [Return] ${stdout}