- `OS_CLOUD`: Cloud credentialss.
- `VIM_TARGET`: VIM where tests will be run.
- `VIM_MGMT_NET`: VIM management network, reachable from robot.
- - `PACKAGES_FOLDER`: Where descriptor packages are located.
+ - `PACKAGES_FOLDER`: Path where descriptor packages repository are cloned: https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/
- `ROBOT_DEVOPS_FOLDER`: Where the devops repository is located.
- `ROBOT_REPORT_FOLDER`: Where robot outpul will be placed.
# 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 06-sep-2019
##
+*** Settings ***
+Library String
+
+
*** Variables ***
${success_return_code} 0
${delete_max_wait_time} 1min
${rc} ${stdout}= Run and Return RC and Output osm nsd-create ${nsd_pkg}
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
- [Return] ${stdout}
+ ${lines}= Get Line Count ${stdout}
+ ${last}= Evaluate ${lines} - 1
+ ${id}= Get Line ${stdout} ${last}
+ [Return] ${id}
Delete NSD
# 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com : 06-sep-2019
##
+*** Settings ***
+Library String
+
+
*** Variables ***
${success_return_code} 0
${delete_max_wait_time} 1min
${rc} ${stdout}= Run and Return RC and Output osm vnfd-create ${vnfd_pkg}
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
- [Return] ${stdout}
+ ${lines}= Get Line Count ${stdout}
+ ${last}= Evaluate ${lines} - 1
+ ${id}= Get Line ${stdout} ${last}
+ [Return] ${id}
Delete VNFD
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'ubuntu-cloudinit_vnfd.tar.gz'
-nsd_pkg = 'ubuntu-cloudinit_nsd.tar.gz'
-# NS and VNF descriptor names
-vnfd_name = 'ubuntu-cloudinit_vnfd'
-nsd_name = 'ubuntu-cloudinit_nsd'
+# NS and VNF descriptor package folder
+vnfd_pkg = 'ubuntu_cloudinit_vnf'
+nsd_pkg = 'ubuntu_cloudinit_ns'
+# NS and VNF descriptor id
+vnfd_name = 'ubuntu_cloudinit-vnf'
+nsd_name = 'ubuntu_cloudinit-ns'
# NS instance name
ns_name = 'basic_05_instantiation_params_cloud_init'
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'hackfest_proxycharm_vnf.tar.gz'
-nsd_pkg = 'hackfest_proxycharm_ns.tar.gz'
-# NS and VNF descriptor names
+# NS and VNF descriptor package folder
+vnfd_pkg = 'hackfest_proxycharm_vnf'
+nsd_pkg = 'hackfest_proxycharm_ns'
+# NS and VNF descriptor id
vnfd_name = 'hackfest_proxycharm-vnf'
nsd_name = 'hackfest_proxycharm-ns'
# NS instance name
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'simple_nopasswd_vnf.tar.gz'
-nsd_pkg = 'simple_nopasswd_ns.tar.gz'
-# NS and VNF descriptor names
-vnfd_name = 'simple-nopasswd-vnf'
-nsd_name = 'simple-nopasswd-ns'
+# NS and VNF descriptor package folder
+vnfd_pkg = 'simple_nopasswd_vnf'
+nsd_pkg = 'simple_nopasswd_ns'
+# NS and VNF descriptor id
+vnfd_name = 'simple_nopasswd-vnf'
+nsd_name = 'simple_nopasswd-ns'
# NS instance name
ns_name = 'basic_07_secure_key_management'
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'hackfest_basic_metrics_vnf.tar.gz'
-nsd_pkg = 'hackfest_basic_metrics_ns.tar.gz'
-# NS and VNF descriptor names
+# NS and VNF descriptor package folder
+vnfd_pkg = 'hackfest_basic_metrics_vnf'
+nsd_pkg = 'hackfest_basic_metrics_ns'
+# NS and VNF descriptor id
vnfd_name = 'hackfest_basic_metrics-vnf'
nsd_name = 'hackfest_basic-ns-metrics'
# NS instance name
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'hackfest_basic_vnf.tar.gz'
-nsd_pkg = 'hackfest_basic_ns.tar.gz'
-# NS and VNF descriptor package files
+# NS and VNF descriptor package folder
+vnfd_pkg = 'hackfest_basic_vnf'
+nsd_pkg = 'hackfest_basic_ns'
+# NS and VNF descriptor package id
vnfd_name = 'hackfest_basic-vnf'
nsd_name = 'hackfest_basic-ns'
# NS instance name
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'hackfest_cloudinit_vnf.tar.gz'
-nsd_pkg = 'hackfest_cloudinit_ns.tar.gz'
-# NS and VNF descriptor package files
+# NS and VNF descriptor package folder
+vnfd_pkg = 'hackfest_cloudinit_vnf'
+nsd_pkg = 'hackfest_cloudinit_ns'
+# NS and VNF descriptor package id
vnfd_name = 'hackfest_cloudinit-vnf'
nsd_name = 'hackfest_cloudinit-ns'
# NS instance name
# Get ${HOME} from local machine
home = str(Path.home())
-# NS and VNF descriptor package files
-vnfd_pkg = 'hackfest_multivdu_vnf.tar.gz'
-nsd_pkg = 'hackfest_multivdu_ns.tar.gz'
-# NS and VNF descriptor package files
+# NS and VNF descriptor package folder
+vnfd_pkg = 'hackfest_multivdu_vnf'
+nsd_pkg = 'hackfest_multivdu_ns'
+# NS and VNF descriptor package id
vnfd_name = 'hackfest_multivdu-vnf'
nsd_name = 'hackfest_multivdu-ns'
# NS instance name