From: garciaale Date: Mon, 7 Dec 2020 21:03:33 +0000 (+0000) Subject: Fixes tests Slice 01, Slice 02 and SA-07 X-Git-Tag: release-v9.0-start~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=c88e004791675692aa7eba25800350b19720d5fd;p=osm%2Ftests.git Fixes tests Slice 01, Slice 02 and SA-07 Change-Id: I557e50fb5a27162265d012f6d420b20b4394ab76 Signed-off-by: garciaale --- diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index 125ad14..d0b9d53 100644 --- a/robot-systest/lib/ns_lib.robot +++ b/robot-systest/lib/ns_lib.robot @@ -86,7 +86,7 @@ Get Vnf Ip List [arguments] ${vnf_id} should not be empty ${vnf_id} - @{vnf_ip_list_string}= run and return rc and output osm vnf-show ${vnf_id} --filter vdur --literal | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 + @{vnf_ip_list_string}= run and return rc and output osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 # returns a string of ip addresses and needs to be converted into a list should not be empty ${vnf_ip_list_string}[1] @{vnf_ip_list} = split string ${vnf_ip_list_string}[1] diff --git a/robot-systest/resources/sa_07-alarms_from_sa-related_vnfs_data.py b/robot-systest/resources/sa_07-alarms_from_sa-related_vnfs_data.py index 62ad4e8..0a52667 100644 --- a/robot-systest/resources/sa_07-alarms_from_sa-related_vnfs_data.py +++ b/robot-systest/resources/sa_07-alarms_from_sa-related_vnfs_data.py @@ -47,7 +47,7 @@ new_vnfd_pkg = 'new_cirros_alarm_vnf' vnfd_name = 'cirros_alarm-vnf' nsd_name = 'cirros_alarm-ns' # NS instance name -ns_name = 'sa_07-alarms_from_sa-related_vnfs_test' +ns_name = 'sa_07-alarm_test' # SSH keys to be used publickey = home + '/.ssh/id_rsa.pub' privatekey = home + '/.ssh/id_rsa'