Initial tests contributions
[osm/tests.git] / robot-systest / resources / slice_02-shared_ns_data.py
1 # Copyright 2020 Atos
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 from pathlib import Path
16
17 # Get ${HOME} from local machine
18 home = str(Path.home())
19 # NS and VNF descriptor package files
20 vnfd1_pkg = 'slice_hackfest_vnf.tar.gz'
21 vnfd2_pkg = 'slice_hackfest_middle_vnfd.tar.gz'
22 nsd1_pkg = 'slice_hackfest_ns.tar.gz'
23 nsd2_pkg = 'slice_hackfest_middle_nsd.tar.gz'
24 nst = 'slice_hackfest_nst.yaml'
25 nst2 = 'slice_hackfest2_nst.yaml'
26 # Instance names
27 slice_name = 'slicehfbasic'
28 slice2_name = 'sliceshared'
29 middle_ns_name = 'slicehfbasic.slice_hackfest_nsd_2'
30 # Descriptor names
31 nst_name = 'slice_hackfest_nst'
32 nst2_name = 'slice_hackfest2_nst'
33 vnfd1_name = 'slice_hackfest_vnf'
34 vnfd2_name = 'slice_hackfest_middle_vnf'
35 nsd1_name = 'slice_hackfest_ns'
36 nsd2_name = 'slice_hackfest_middle_ns'
37 # SSH keys to be used
38 publickey = home + '/.ssh/id_rsa.pub'
39 privatekey = home + '/.ssh/id_rsa'