- 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}
+ 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
+ Should Be Equal ${HEALED_VDU_MGMT_IP} ${ip}
+
+Check Day0 And Day1 In VDU After Healing
+ [Documentation] Check that the healed VDU is accessible via SSH in its mgmt IP address.
+ ... It also checks if day-0 worked after healing and a remote file has been created in the VDU.
+ ... It also checks if day-1 worked after healing and a remote file has been created in the VDU.
+ Variable Should Exist ${HEALED_VDU_MGMT_IP} msg=IP address of the healed VDU is not available
+ Wait Until Keyword Succeeds ${VNF_MAX_TIME_TO_BE_READY} ${VNF_POL_TIME} Test SSH Connection ${HEALED_VDU_MGMT_IP} ${USERNAME} ${PASSWORD} ${PRIVATEKEY}
+ ${stdout}= Execute Remote Command Check Rc Return Output ${HEALED_VDU_MGMT_IP} ${USERNAME} ${PASSWORD} ${PRIVATEKEY} sudo ls ${VNF_MANUALSCALE_CLOUDINIT_FILE}