X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_19-vnf_ip_profile.robot;fp=robot-systest%2Ftestsuite%2Fbasic_19-vnf_ip_profile.robot;h=4949a3baba016a19a4997fcccc50e4d3775f1013;hp=8922b4945f5bb6d6ad99fe1285cd522ae2e97db4;hb=61bbf92c1b2a4563f1636f053a4846b669161714;hpb=fccb028b493afafb8a602953ed5125303423d3ff diff --git a/robot-systest/testsuite/basic_19-vnf_ip_profile.robot b/robot-systest/testsuite/basic_19-vnf_ip_profile.robot index 8922b49..4949a3b 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 @@ -80,14 +80,14 @@ Get Vnf Info 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