X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=robot-systest%2Ftestsuite%2Fbasic_19-vnf_ip_profile.robot;h=6701096a8e65205d99598e815566f58a22f4832a;hb=f9be550e536b2622de1ea811832f72fe553398d2;hp=4949a3baba016a19a4997fcccc50e4d3775f1013;hpb=61bbf92c1b2a4563f1636f053a4846b669161714;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/basic_19-vnf_ip_profile.robot b/robot-systest/testsuite/basic_19-vnf_ip_profile.robot index 4949a3b..6701096 100644 --- a/robot-systest/testsuite/basic_19-vnf_ip_profile.robot +++ b/robot-systest/testsuite/basic_19-vnf_ip_profile.robot @@ -75,16 +75,16 @@ Get Vnf Info Set Suite Variable ${vnf_id} ${vnfr_list}[0] ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} Set Suite Variable ${vnf_ipmgmt} ${ip} - log ${vnf_ipmgmt} + Log ${vnf_ipmgmt} Check Vnf IPs Variable Should Exist ${vnf_id} msg=VNF is not available - ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \\" + ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq -r '."ip-address"' Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False Should Match Regexp ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix} - ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \\" + ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq -r '."ip-address"' Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False Should Match Regexp ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix}