X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_19-vnf_ip_profile.robot;h=1f705cdad47751231da3ba5b5ddc74a4186f9087;hb=8ceaee06848023c31ec4a18becff9ab8ff5d517f;hp=8922b4945f5bb6d6ad99fe1285cd522ae2e97db4;hpb=f4ebaa88025189ede4f073ab8a1f27c95efff867;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 8922b49..1f705cd 100644 --- a/robot-systest/testsuite/basic_19-vnf_ip_profile.robot +++ b/robot-systest/testsuite/basic_19-vnf_ip_profile.robot @@ -39,7 +39,7 @@ ${nsd_name} ipprofile_2vm-ns ${ns_name} basic_19 ${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] } -# SSH keys and username to be used +# SSH keys and username to be used ${publickey} %{HOME}/.ssh/id_rsa.pub ${username} ubuntu @@ -75,19 +75,19 @@ 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 + 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 \\" 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 \\" 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} - + Delete NS Instance [Tags] cleanup