Minizinc data model for Silver Customer 53/32053/1
authorRamki Krishnan <ramkri123@gmail.com>
Sun, 18 Feb 2018 15:52:27 +0000 (15:52 +0000)
committerRamki Krishnan <ramkri123@gmail.com>
Sun, 18 Feb 2018 15:53:07 +0000 (15:53 +0000)
Issue-ID: OPTFRA-128
Change-Id: Ied194c53352a9ba61ae29c5aecda80f4ebcbcf3d
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
minizinc-examples/vDNS-service-silver-customer-model-driven-placement.dzn [new file with mode: 0644]

diff --git a/minizinc-examples/vDNS-service-silver-customer-model-driven-placement.dzn b/minizinc-examples/vDNS-service-silver-customer-model-driven-placement.dzn
new file mode 100644 (file)
index 0000000..c99bb99
--- /dev/null
@@ -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 = SILVER;
+
+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, 0, 1, 1 |]; 
+
+utilization = [| 0.05, 0.9
+               | 0.1, 0.5
+               | 0.8, 0.98 |];