X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_18-ns_ip_profile.robot;h=9028bd0237e1e14806b183f444c8fb74ba2369f4;hb=43f34481b4c5ccfda407a7f82a124012aab0dccc;hp=1d4dc4642033bbde46f2353b2a2550fe39de2052;hpb=c5468a1572c77306ef896eeedcbf923c5f3e6e42;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/basic_18-ns_ip_profile.robot b/robot-systest/testsuite/basic_18-ns_ip_profile.robot index 1d4dc46..9028bd0 100644 --- a/robot-systest/testsuite/basic_18-ns_ip_profile.robot +++ b/robot-systest/testsuite/basic_18-ns_ip_profile.robot @@ -83,10 +83,10 @@ Get Vnfs Info Set Suite Variable ${vnf_id2} ${vnfr_list}[1] ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} Set Suite Variable ${vnf1_ipmgmt} ${ip} - log ${vnf1_ipmgmt} + Log ${vnf1_ipmgmt} ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} Set Suite Variable ${vnf2_ipmgmt} ${ip} - log ${vnf2_ipmgmt} + Log ${vnf2_ipmgmt} Check Vnf1 IPs @@ -130,7 +130,7 @@ Verify Vnf1 Interfaces Variable Should Exist ${privatekey} msg=SSH private key not available Sleep 10 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' - log ${stdout} + Log ${stdout} @{ip} = Split String ${stdout} Should Match Regexp ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Should Match Regexp ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} @@ -142,7 +142,7 @@ Verify Vnf2 Interfaces Variable Should Exist ${vnf2_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Variable Should Exist ${privatekey} msg=SSH private key not available ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' - log ${stdout} + Log ${stdout} @{ip} = Split String ${stdout} Should Match Regexp ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Should Match Regexp ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} @@ -154,13 +154,13 @@ Ping from Vnf1 to Vnf2 Variable Should Exist ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Variable Should Exist ${privatekey} msg=SSH private key not available ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf2_ipmgmt} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip1} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip2} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip3} - log ${stdout} + Log ${stdout} Ping from Vnf2 to Vnf1 @@ -168,13 +168,13 @@ Ping from Vnf2 to Vnf1 Variable Should Exist ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Variable Should Exist ${privatekey} msg=SSH private key not available ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ipmgmt} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip1} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip2} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip3} - log ${stdout} + Log ${stdout} Delete NS Instance