| calvinosanc1 | a352a93 | 2020-07-21 16:03:46 +0200 | [diff] [blame^] | 1 | # Copyright 2020 Canonical Ltd. |
| 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 | vnfd_pkg1 = 'charm-packages/nscharm_policy_vnf' |
| 21 | vnfd_pkg2 = 'charm-packages/nscharm_user_vnf' |
| 22 | nsd_pkg = 'charm-packages/nscharm_ns' |
| 23 | # NSD and VNFD names in OSM |
| 24 | vnfd_name1 = 'nscharm-policy-vnf' |
| 25 | vnfd_name2 = 'nscharm-user-vnf' |
| 26 | nsd_name = 'nscharm-ns' |
| 27 | # NS Descriptor file |
| 28 | nsd_file = 'nscharm_nsd.yaml' |
| 29 | # NS instance name |
| 30 | ns_name = 'test_nscharm' |
| 31 | # SSH keys to be used |
| 32 | publickey = home + '/.ssh/id_rsa.pub' |
| 33 | privatekey = home + '/.ssh/id_rsa' |
| 34 | # Juju variables |
| 35 | old_juju_password = 'd55ce8ab4efa59e7f1b865bce53f55ed' |