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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 from pathlib
import Path
17 # Get ${HOME} from local machine
18 home
= str(Path
.home())
19 # NS and VNF descriptor package files
20 vnfd1_pkg
= 'slice_basic_vnf'
21 vnfd2_pkg
= 'slice_basic_middle_vnf'
22 nsd1_pkg
= 'slice_basic_ns'
23 nsd2_pkg
= 'slice_basic_middle_ns'
24 nst
= 'slice_basic_nst/slice_basic_nst.yaml'
26 slice_name
= 'slicebasic'
27 middle_ns_name
= 'slicebasic.slice_basic_nsd_2'
29 nst_name
= 'slice_basic_nst'
30 vnfd1_name
= 'slice_basic_vnf'
31 vnfd2_name
= 'slice_basic_middle_vnf'
32 nsd1_name
= 'slice_basic_ns'
33 nsd2_name
= 'slice_basic_middle_ns'
35 publickey
= home
+ '/.ssh/id_rsa.pub'
36 privatekey
= home
+ '/.ssh/id_rsa'