Fix heal_03 to get IP address from VDU with count-index 1 24/12224/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 20 Jun 2022 10:57:09 +0000 (12:57 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 20 Jun 2022 10:57:58 +0000 (12:57 +0200)
Change-Id: I9f6bfffb808b0d83bed3cc7d1baa14d4b62d7cfb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
robot-systest/testsuite/heal_03-multiple_healing.robot

index 3c2dd23..f321c1c 100644 (file)
@@ -166,7 +166,7 @@ Check VNFs 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   2
+    ${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}