1 # Copyright 2020 Canonical Ltd.
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 vnfd_pkg1
= 'nscharm_policy_vnf'
21 vnfd_pkg2
= 'nscharm_user_vnf'
22 nsd_pkg
= 'nscharm_ns'
23 new_nsd_pkg
= 'new_nscharm_ns'
24 # NSD and VNFD names in OSM
25 vnfd_name1
= 'nscharm-policy-vnf'
26 vnfd_name2
= 'nscharm-user-vnf'
27 nsd_name
= 'nscharm-ns'
29 nsd_file
= 'nscharm_nsd.yaml'
31 ns_name
= 'test_nscharm'
33 publickey
= home
+ '/.ssh/id_rsa.pub'
34 privatekey
= home
+ '/.ssh/id_rsa'
36 old_juju_password
= 'a5611fc6452349cc6e45705d34c501d4'