Initial commit to gerrit repo
[osm/PLA.git] / osm_pla / test / corrupt_pil_endpoints_config_unittest1.yaml
diff --git a/osm_pla/test/corrupt_pil_endpoints_config_unittest1.yaml b/osm_pla/test/corrupt_pil_endpoints_config_unittest1.yaml
new file mode 100644 (file)
index 0000000..1e53b37
--- /dev/null
@@ -0,0 +1,94 @@
+# 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.
+
+# Point Of Precence (POP), price list
+pop:
+  - vim_url: http://10.234.12.47:5000/v3
+    vim_name: OpenStack1
+    num_vm: 10
+    vm_price:
+      - x_large: 10
+      - large: 5
+      - medium: 4
+      - small: 3
+      - tiny: 2
+  - vim_url: http://10.234.12.44:5000/v3
+    vim_name: OpenStack2
+    num_vm: 10
+    vm_price:
+      - large: 10
+      - medium: 8
+      - small: 6
+      - tiny: 4
+  - vim_url: http://10.234.12.46:5000/v3
+    vim_name: OpenStack3
+    num_vm: 10
+    vm_price:
+      - large: 8
+      - medium: 6
+      - small: 3
+      - tiny: 2
+  - vim_url: http://10.234.12.43:5000/v3
+    vim_name: OpenStack4
+    num_vm: 10
+    vm_price:
+      - large: 9
+      - medium: 7
+      - small: 4
+      - tiny: 3
+# POP Interconnecting Link (PIL), price list and latency
+pil:
+  - pil_description: Link between OpenStack1 and OpenStack2
+    pil_price: 12
+    pil_latency: 120
+    pil_jitter: 1200
+    pil_endpoints:
+      - http://10.234.12.47:5000/v3
+      - http://10.234.12.44:5000/v3
+  - pil_description: Link between OpenStack1 and OpenStack3
+    pil_price: 13
+    pil_latency: 130
+    pil_jitter: 1300
+    pil_endpoints:
+      - http://10.234.12.47:5000/v3
+      - http://10.234.12.46:5000/v3
+  - pil_description: Link between OpenStack1 and OpenStack4
+    pil_price: 14
+    pil_latency: 140
+    pil_jitter: 1400
+    pil_endpoints:
+      - http://10.234.12.47:5000/v3
+      - http://10.234.12.43:5000/v3
+  - pil_description: Link between OpenStack2 and OpenStack3
+    pil_price: 23
+    pil_latency: 230
+    pil_jitter: 2300
+    pil_endpoints:
+      - http://10.234.12.44:5000/v3
+      - http://10.234.12.46:5000/v3
+  - pil_description: Link between OpenStack2 and OpenStack4
+    pil_price: 24
+    pil_latency: 240
+    pil_jitter: 2400
+    pil_endpoints:
+      - http://10.234.12.44:5000/v3
+      - http://10.234.12.43:5000/v3
+  - pil_description: Link between OpenStack3 and OpenStack4
+    pil_price: 34
+    pil_latency: 340
+    pil_jitter: 3400
+    pil_endpoints:
+#      - http://10.234.12.46:5000/v3
+      - http://10.234.12.43:5000/v3
\ No newline at end of file