Remove EPA 05 from Daily
[osm/tests.git] / robot-systest / resources / k8s_01-create_k8s_cluster_data.py
1 # Copyright 2020 Canonical Ltd.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 # http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 from pathlib import Path
15
16 # Get ${HOME} from local machine
17 home = str(Path.home())
18 # NS and VNF descriptor package files
19 vnfd_pkg1 = 'k8s_jujucontroller_vnf.tar.gz'
20 vnfd_pkg2 = 'k8s_jujumachine_vnf.tar.gz'
21 nsd_pkg = 'k8s_juju_ns.tar.gz'
22 # NS and VNF descriptor package files
23 vnfd_name1 = 'k8s_jujucontroller_vnf'
24 vnfd_name2 = 'k8s_jujumachine_vnf'
25 nsd_name = 'k8s_juju'
26 # VNF Member indexes
27 vnf_member_index_1 = 'k8s_vnf1'
28 vnf_member_index_2 = 'k8s_vnf2'
29 vnf_member_index_3 = 'k8s_vnf3'
30 vnf_member_index_4 = 'k8s_vnf4'
31 vnf_member_index_5 = 'k8s_juju'
32 # Username
33 username = 'ubuntu'
34 # Kubeconfig file
35 kubeconfig_file = '/home/ubuntu/.kube/config'
36 # NS instance name
37 ns_name = 'k8s-cluster'
38 # SSH keys to be used
39 publickey = home + '/.ssh/id_rsa.pub'
40 privatekey = home + '/.ssh/id_rsa'
41 # Template and config file to use
42 template = 'k8s_juju_template.yaml'
43 config_file = 'config.yaml'