summaryrefslogtreecommitdiffstats
path: root/examples/placement-models-minizinc/vdns-use-case/vDNS-service-gold-customer-model-driven-placement.dzn
diff options
context:
space:
mode:
Diffstat (limited to 'examples/placement-models-minizinc/vdns-use-case/vDNS-service-gold-customer-model-driven-placement.dzn')
-rw-r--r--examples/placement-models-minizinc/vdns-use-case/vDNS-service-gold-customer-model-driven-placement.dzn16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/placement-models-minizinc/vdns-use-case/vDNS-service-gold-customer-model-driven-placement.dzn b/examples/placement-models-minizinc/vdns-use-case/vDNS-service-gold-customer-model-driven-placement.dzn
new file mode 100644
index 0000000..6a3222f
--- /dev/null
+++ b/examples/placement-models-minizinc/vdns-use-case/vDNS-service-gold-customer-model-driven-placement.dzn
@@ -0,0 +1,16 @@
+N_CLOUD_REGIONS = 3; % e-dc-1, core-dc-1, core-dc-2
+N_ATTRIBUTES = 4;
+N_METRICS = 2;
+
+CUST_TYPE = GOLD;
+
+W_METRICS = [0.9, 0.1];
+W_ATTRIBUTES = [0, 0.9, 0.05, 0.05];
+
+capabilities = [| 0, 0, 1, 1
+ | 1, 0, 1, 1
+ | 1, 1, 0, 1 |];
+
+utilization = [| 0.05, 0.9
+ | 0.1, 0.5
+ | 0.8, 0.98 |];