X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fhackfest_multivdu.robot;h=131c5ac50d568ee5996183fea86d3c9ff4369398;hb=refs%2Fchanges%2F95%2F10895%2F1;hp=67cb910408466d2c4b95ee64ef5052cf0d73b117;hpb=d225e550e79fdbb9f667975102b17232eca893c1;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/hackfest_multivdu.robot b/robot-systest/testsuite/hackfest_multivdu.robot index 67cb910..131c5ac 100644 --- a/robot-systest/testsuite/hackfest_multivdu.robot +++ b/robot-systest/testsuite/hackfest_multivdu.robot @@ -11,6 +11,8 @@ # limitations under the License. *** Settings *** +Documentation [HACKFEST-MULTIVDU] Basic NS with two multi-VDU VNF + Library OperatingSystem Library String Library Collections @@ -25,13 +27,15 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Variables %{ROBOT_DEVOPS_FOLDER}/resources/hackfest_multivdu_ns_data.py +Force Tags hackfest_multivdu cluster_main daily regression + Suite Teardown Run Keyword And Ignore Error Suite Cleanup *** Variables *** ${ns_id} ${EMPTY} -${username} osm -${password} osm4u +${username} ubuntu +${password} ${EMPTY} ${vnf_member_index} 1 ${vnf_ip_addr} ${EMPTY} ${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] } @@ -40,18 +44,15 @@ ${wait_guard_for_vm_boot} 50s *** Test Cases *** Create Hackfest multivdu VNF Descriptor - [Tags] hackfest_multivdu sanity regression Create VNFD '%{PACKAGES_FOLDER}/${vnfd_pkg}' Create Hackfest Multivdu NS Descriptor - [Tags] hackfest_multivdu sanity regression Create NSD '%{PACKAGES_FOLDER}/${nsd_pkg}' Network Service Instance Test - [Tags] hackfest_multivdu sanity regression ${status} ${message}= Run Keyword And Ignore Error Variable Should Exist ${publickey} Run Keyword If "${status}" == "FAIL" Set Global Variable ${publickey} ${EMPTY} @@ -60,36 +61,33 @@ Network Service Instance Test Sleep ${wait_guard_for_vm_boot} Waiting for VM's daemons to be up and running Get Vnf Ip Address - [Tags] hackfest_multivdu sanity regression ${ip_addr} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index} log ${ip_addr} Set Suite Variable ${vnf_ip_addr} ${ip_addr} Test Ping - [Tags] hackfest_multivdu sanity regression Test Connectivity ${vnf_ip_addr} Test SSH Access - [Tags] hackfest_multivdu sanity regression ${status} ${message}= Run Keyword And Ignore Error Variable Should Exist ${privatekey} Run Keyword If "${status}" == "FAIL" Set Global Variable ${privatekey} ${EMPTY} Test SSH Connection ${vnf_ip_addr} ${username} ${password} ${privatekey} Delete NS Instance Test - [Tags] hackfest_multivdu sanity regression cleanup + [Tags] cleanup Delete NS ${ns_name} Delete NS Descriptor Test - [Tags] hackfest_multivdu sanity regression cleanup + [Tags] cleanup Delete NSD ${nsd_name} Delete VNF Descriptor Test - [Tags] hackfest_multivdu sanity regression cleanup + [Tags] cleanup Delete VNFD ${vnfd_name}