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
diff --git a/osm_pla/test/vnf_price_list_keys.yaml b/osm_pla/test/vnf_price_list_keys.yaml
new file mode 100644 (file)
index 0000000..ac78183
--- /dev/null
@@ -0,0 +1,103 @@
+# Copyright 2020 ArctosLabs Scandinavia AB
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+- vnfd: cirros_vnfd_v2
+  hackfest_project_a:
+    - prices:
+      - vim_url: http://10.234.12.47:5000/v3
+        vim_name: OpenStack1
+        price: 5
+      - vim_url: http://10.234.12.44:5000/v3
+        vim_name: OpenStack2
+        price: 10
+      - vim_url: http://10.234.12.46:5000/v3
+        vim_name: OpenStack3
+        price: 30
+      - vim_url: http://10.234.12.43:5000/v3
+        vim_name: OpenStack4
+        price: 30
+  hackfest_project_b:
+    - prices:
+      - vim_url: http://10.234.12.47:5000/v3
+        vim_name: OpenStack1
+        price: 5
+      - vim_url: http://10.234.12.44:5000/v3
+        vim_name: OpenStack2
+        price: 10
+      - vim_url: http://10.234.12.46:5000/v3
+        vim_name: OpenStack3
+        price: 30
+      - vim_url: http://10.234.12.43:5000/v3
+        vim_name: OpenStack4
+        price: 30
+- vnfd: hackfest_multivdu-vnf
+  hackfest_project_a:
+    prices:
+      - vim_url: http://10.234.12.47:5000/v3
+        vim_name: OpenStack1
+        price: 17
+      - vim_url: http://10.234.12.44:5000/v3
+        vim_name: OpenStack2
+        price: 18
+      - vim_url: http://10.234.12.46:5000/v3
+        vim_name: OpenStack3
+        price: 19
+      - vim_url: http://10.234.12.43:5000/v3
+        vim_name: OpenStack4
+        price: 20
+- vnfd: test_one_a_vnfd
+  hackfest_project_a:
+    prices:
+      - vim_url: http://10.234.12.47:5000/v3
+        vim_name: OpenStack1
+        price: 10
+      - vim_url: http://10.234.12.44:5000/v3
+        vim_name: OpenStack2
+        price: 20
+      - vim_url: http://10.234.12.46:5000/v3
+        vim_name: OpenStack3
+        price: 30
+      - vim_url: http://10.234.12.43:5000/v3
+        vim_name: OpenStack4
+        price: 30
+- vnfd: test_one_b_vnfd
+  hackfest_project_a:
+    prices:
+      - vim_url: http://10.234.12.47:5000/v3
+        vim_name: OpenStack1
+        price: 10
+      - vim_url: http://10.234.12.44:5000/v3
+        vim_name: OpenStack2
+        price: 20
+      - vim_url: http://10.234.12.46:5000/v3
+        vim_name: OpenStack3
+        price: 30
+      - vim_url: http://10.234.12.43:5000/v3
+        vim_name: OpenStack4
+        price: 30
+- vnfd: test_one_c_vnfd
+  hackfest_project_a:
+    prices:
+      - vim_url: http://10.234.12.47:5000/v3
+        vim_name: OpenStack1
+        price: 10
+      - vim_url: http://10.234.12.44:5000/v3
+        vim_name: OpenStack2
+        price: 20
+      - vim_url: http://10.234.12.46:5000/v3
+        vim_name: OpenStack3
+        price: 30
+      - vim_url: http://10.234.12.43:5000/v3
+        vim_name: OpenStack4
+        price: 30