Change-Id: I4dd6d1778488cd764c8cc7030e838998c5b54bde
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Should Be Equal As Integers ${rc} ${success_return_code}
[Return] ${stdout}
+
Halt Server
[Documentation] Reset a server
[Arguments] ${server_id}
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
[Return] ${stdout}
+
+
+Delete Server
+ [Documentation] Delete a server
+ [Arguments] ${server_id}
+
+ Should Not Be Empty ${server_id}
+ ${rc} ${stdout}= Run and Return RC and Output openstack server delete ${server_id}
+ log ${stdout}
+ Should Be Equal As Integers ${rc} ${success_return_code}
+ [Return] ${stdout}
+
+
Run Keyword If ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes})
-Stop Persistent Volume VDU
+Delete Persistent Volume VDU
[Tags] verify
Variable Should Exist ${vdu_volumes_id} msg=VDU is not available
- Stop Server ${vdu_volumes_id}
+ Delete Server ${vdu_volumes_id}
Sleep 20
Set Suite Variable @{charm_ip_list} @{charm_ip_list}
-Stop Charm VDU
+Halt Charm VDU
[Tags] verify
Variable Should Exist @{vdu_charm_ids} msg=VDU is not available
- Stop Server ${vdu_charm_ids}[1]
+ Halt Server ${vdu_charm_ids}[1]
Sleep 15