Support two layouts for vnf_price_list.yaml, ignore single endpoint vlds, new vim...
[osm/PLA.git] / osm_pla / test / vnf_price_list_keys.yaml
1 # Copyright 2020 ArctosLabs Scandinavia AB
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
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 - vnfd: cirros_vnfd_v2
16   hackfest_project_a:
17     - prices:
18       - vim_url: http://10.234.12.47:5000/v3
19         vim_name: OpenStack1
20         price: 5
21       - vim_url: http://10.234.12.44:5000/v3
22         vim_name: OpenStack2
23         price: 10
24       - vim_url: http://10.234.12.46:5000/v3
25         vim_name: OpenStack3
26         price: 30
27       - vim_url: http://10.234.12.43:5000/v3
28         vim_name: OpenStack4
29         price: 30
30   hackfest_project_b:
31     - prices:
32       - vim_url: http://10.234.12.47:5000/v3
33         vim_name: OpenStack1
34         price: 5
35       - vim_url: http://10.234.12.44:5000/v3
36         vim_name: OpenStack2
37         price: 10
38       - vim_url: http://10.234.12.46:5000/v3
39         vim_name: OpenStack3
40         price: 30
41       - vim_url: http://10.234.12.43:5000/v3
42         vim_name: OpenStack4
43         price: 30
44 - vnfd: hackfest_multivdu-vnf
45   hackfest_project_a:
46     prices:
47       - vim_url: http://10.234.12.47:5000/v3
48         vim_name: OpenStack1
49         price: 17
50       - vim_url: http://10.234.12.44:5000/v3
51         vim_name: OpenStack2
52         price: 18
53       - vim_url: http://10.234.12.46:5000/v3
54         vim_name: OpenStack3
55         price: 19
56       - vim_url: http://10.234.12.43:5000/v3
57         vim_name: OpenStack4
58         price: 20
59 - vnfd: test_one_a_vnfd
60   hackfest_project_a:
61     prices:
62       - vim_url: http://10.234.12.47:5000/v3
63         vim_name: OpenStack1
64         price: 10
65       - vim_url: http://10.234.12.44:5000/v3
66         vim_name: OpenStack2
67         price: 20
68       - vim_url: http://10.234.12.46:5000/v3
69         vim_name: OpenStack3
70         price: 30
71       - vim_url: http://10.234.12.43:5000/v3
72         vim_name: OpenStack4
73         price: 30
74 - vnfd: test_one_b_vnfd
75   hackfest_project_a:
76     prices:
77       - vim_url: http://10.234.12.47:5000/v3
78         vim_name: OpenStack1
79         price: 10
80       - vim_url: http://10.234.12.44:5000/v3
81         vim_name: OpenStack2
82         price: 20
83       - vim_url: http://10.234.12.46:5000/v3
84         vim_name: OpenStack3
85         price: 30
86       - vim_url: http://10.234.12.43:5000/v3
87         vim_name: OpenStack4
88         price: 30
89 - vnfd: test_one_c_vnfd
90   hackfest_project_a:
91     prices:
92       - vim_url: http://10.234.12.47:5000/v3
93         vim_name: OpenStack1
94         price: 10
95       - vim_url: http://10.234.12.44:5000/v3
96         vim_name: OpenStack2
97         price: 20
98       - vim_url: http://10.234.12.46:5000/v3
99         vim_name: OpenStack3
100         price: 30
101       - vim_url: http://10.234.12.43:5000/v3
102         vim_name: OpenStack4
103         price: 30