- Variable Should Exist ${vnf_charm_id} msg=Charm VNF is not available
- Variable Should Exist ${vnf_volumes_id} msg=Volume VNF is not available
- Heal Network Service ${ns_id} --vnf ${vnf_volumes_id} --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf ${vnf_charm_id} --cause "Heal two VMs of native_manual_scale_charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 --vdu mgmtVM --count-index 2
-
-
-Check VNFs After Healing
- Variable Should Exist ${vnf_charm_id} msg=Charm VNF is not available
- Variable Should Exist ${vnf_volumes_id} msg=Volume VNF is not available
- ${id}= Get VNF VIM ID ${vnf_charm_id}
- @{ids}= Split String ${id}
- Should Be Equal ${vdu_charm_ids}[0] ${ids}[0] VDU[0] id has changed after healing
- Should Not Be Equal ${vdu_charm_ids}[1] ${ids}[1] VDU[1] id has not changed after healing
- Should Not Be Equal ${vdu_charm_ids}[2] ${ids}[2] VDU[2] id has not changed after healing
-
- ${id}= Get VNF VIM ID ${vnf_volumes_id}
- Should Not Be Equal ${id} ${vdu_volumes_id} VDU id has not changed after healing
-
- ${ip}= Get Vdu Attribute ${vnf_charm_id} ip-address 1
- ${stdout}= Execute Remote Command Check Rc Return Output ${ip} ${username} ${password} ${privatekey} sudo ls ${vnf_charm_cloudinit_file}
- Log ${stdout}
- Check If remote File Exists ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file}
-
+ [Documentation] Heal manually via OSM commands all stopped VMs . They should be started again.
+ Variable Should Exist ${VNF_MANUALSCALE_ID} msg=Manual Scale VNF is not available
+ Variable Should Exist ${VNF_VOLUMES_ID} msg=Volume VNF is not available
+ Heal Network Service ${NS_ID} --vnf ${VNF_VOLUMES_ID} --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf ${VNF_MANUALSCALE_ID} --cause "Heal two VMs of manual_scale_vnf" --vdu mgmtVM --count-index 1 --run-day1 --vdu mgmtVM --count-index 2
+
+# Check VNFs After Healing
+# [Documentation] Check that the IDs of the VM and volumes have not changed after healing.
+# Variable Should Exist ${VNF_MANUALSCALE_ID} msg=Manual scale VNF is not available
+# Variable Should Exist ${VNF_VOLUMES_ID} msg=Volume VNF is not available
+# ${id}= Get VNF VIM ID ${VNF_MANUALSCALE_ID}
+# @{ids}= Split String ${id}
+# Should Be Equal ${VDU_MANUALSCALE_IDS}[0] ${ids}[0] VDU[0] id has changed after healing
+# Should Not Be Equal ${VDU_MANUALSCALE_IDS}[1] ${ids}[1] VDU[1] id has not changed after healing
+# Should Not Be Equal ${VDU_MANUALSCALE_IDS}[2] ${ids}[2] VDU[2] id has not changed after healing
+# ${id}= Get VNF VIM ID ${VNF_VOLUMES_ID}
+# Should Not Be Equal ${id} ${VDU_VOLUMES_ID} VDU id has not changed after healing
+# ${ip}= Get Vdu Attribute ${VNF_MANUALSCALE_ID} ip-address 1
+# ${stdout}= Execute Remote Command Check Rc Return Output ${ip} ${USERNAME} ${PASSWORD} ${PRIVATEKEY} sudo ls ${VNF_MANUALSCALE_CLOUDINIT_FILE}
+# Log ${stdout}
+# Check If Remote File Exists ${ip} ${USERNAME} ${PASSWORD} ${PRIVATEKEY} ${VNF_MANUALSCALE_DAY1_FILE}