X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_23-sol004_sol007_packages.robot;fp=robot-systest%2Ftestsuite%2Fbasic_23-sol004_sol007_packages.robot;h=a45159a7f387c215d76e681f721fdb2dc74cf22e;hp=cb7ad656a9dafb93bb0d0f3b53427d23a5a18f28;hb=7a9e031926d2fa7ed5041485b3d41b0c1e85d2a9;hpb=23ff8f980f66ef57fb4d254336a018e3a697a187 diff --git a/robot-systest/testsuite/basic_23-sol004_sol007_packages.robot b/robot-systest/testsuite/basic_23-sol004_sol007_packages.robot index cb7ad65..a45159a 100644 --- a/robot-systest/testsuite/basic_23-sol004_sol007_packages.robot +++ b/robot-systest/testsuite/basic_23-sol004_sol007_packages.robot @@ -1,3 +1,4 @@ +*** Comments *** # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -10,6 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + *** Settings *** Documentation [BASIC-23] Creation and deletion of SOL004 and SOL007 packages. @@ -19,55 +21,48 @@ Library Collections Library Process Library SSHLibrary -Resource %{ROBOT_DEVOPS_FOLDER}/lib/vnfd_lib.robot -Resource %{ROBOT_DEVOPS_FOLDER}/lib/nsd_lib.robot +Resource ../lib/vnfd_lib.resource +Resource ../lib/nsd_lib.resource -Force Tags basic_23 cluster_main daily regression azure +Test Tags basic_23 cluster_main daily regression azure Suite Teardown Run Keyword And Ignore Error Suite Cleanup *** Variables *** # NS and VNF descriptor package folder and ids -${vnfd_pkg} sol004_hackfest_basic_vnf -${vnfd_name} sol004_hackfest_basic-vnf -${nsd_pkg} sol007_hackfest_basic_ns -${nsd_name} sol007_hackfest_basic-ns +${VNFD_PKG} sol004_hackfest_basic_vnf +${VNFD_NAME} sol004_hackfest_basic-vnf +${NSD_PKG} sol007_hackfest_basic_ns +${NSD_NAME} sol007_hackfest_basic-ns *** Test Cases *** Create VNF Package - - Create VNFD '%{PACKAGES_FOLDER}/${vnfd_pkg}' - + [Documentation] Upload VNF package for the testsuite. + Create VNFD '%{PACKAGES_FOLDER}/${VNFD_PKG}' Create NS Package - - Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}' - + [Documentation] Upload NS package for the testsuite. + Create NSD '%{PACKAGES_FOLDER}/${NSD_PKG}' Cannot Delete VNF Package - - Assert Failure Delete VNFD ${vnfd_name} - + [Documentation] Assert that the VNF package cannot be deleted before the NS package is deleted. + Assert Failure Delete VNFD ${VNFD_NAME} Delete NS Package + [Documentation] Delete NS package. [Tags] cleanup - - Delete NSD ${nsd_name} - + Delete NSD ${NSD_NAME} Delete VNF Package + [Documentation] Delete VNF package. [Tags] cleanup - - Delete VNFD ${vnfd_name} + Delete VNFD ${VNFD_NAME} *** Keywords *** Suite Cleanup [Documentation] Test Suit Cleanup: Deleting NS and VNF packages - - Run Keyword If Any Tests Failed Delete NSD ${nsd_name} - Run Keyword If Any Tests Failed Delete VNFD ${vnfd_name} - - + Run Keyword If Any Tests Failed Delete NSD ${NSD_NAME} + Run Keyword If Any Tests Failed Delete VNFD ${VNFD_NAME}