From: aguilard Date: Tue, 23 Nov 2021 09:27:11 +0000 (+0100) Subject: BASIC21: Fixed the way to get the volumes from descriptor X-Git-Tag: v11.0.0^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8b8dc93ee50438893b50d81a39208a50181e0269;p=osm%2Ftests.git BASIC21: Fixed the way to get the volumes from descriptor Change-Id: I600dcf271e8d6c469b70425d89259aee6b18ab46 Signed-off-by: aguilard Signed-off-by: garciadeblas --- diff --git a/robot-systest/testsuite/basic_21-support_of_volumes.robot b/robot-systest/testsuite/basic_21-support_of_volumes.robot index bc957d3..f9cfabb 100644 --- a/robot-systest/testsuite/basic_21-support_of_volumes.robot +++ b/robot-systest/testsuite/basic_21-support_of_volumes.robot @@ -61,7 +61,7 @@ Create VNF Descriptor Get Volumes From VNF - ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-show ${vnfd_name} --literal | yq '."virtual-storage-desc" | length' + ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-show ${vnfd_name} --literal | yq '.vdu[0]."virtual-storage-desc" | length' Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False ${num_virtual_storage}= Convert To Integer ${stdout} Set Suite Variable ${vnf_num_volumes} ${num_virtual_storage} @@ -72,6 +72,7 @@ Create NS Descriptor Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}' + Network Service Instance Test ${id}= Create Network Service ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey}