Blame view

elasticity/migrations/0011_auto_20170205_1258.py 2.42 KB
8146dcf82   Thanasis Naskos   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  # -*- coding: utf-8 -*-
  # Generated by Django 1.10.5 on 2017-02-05 12:58
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('elasticity', '0010_auto_20170205_1250'),
      ]
  
      operations = [
          migrations.AlterField(
              model_name='elasticity',
              name='cluster_type',
              field=models.CharField(choices=[('CASSANDRA39', 'Apache Cassandra 3.9'), ('HBASE', 'Apache HBase 0.98')], default='CASSANDRA39', max_length=200, verbose_name='NoSQL Database'),
          ),
          migrations.AlterField(
              model_name='elasticity',
              name='decision_policy',
              field=models.CharField(choices=[('probbexact', 'ORadv'), ('rf', 'BRsimple'), ('raf', 'BRecon'), ('probe', 'BR-BRecon'), ('probb', 'BR-BPstab'), ('probq', 'BR-BPqual')], default='rf', max_length=300, verbose_name='Decision Policy'),
          ),
          migrations.AlterField(
              model_name='elasticity',
              name='emulation_dataset',
              field=models.CharField(choices=[('okeanos', 'Cassandra on ~okeanos')], default='okeanos', max_length=300, verbose_name='Emulation Dataset'),
          ),
          migrations.AlterField(
              model_name='elasticity',
              name='smoothing',
              field=models.CharField(choices=[('wf', 'None'), ('wt', 'MA'), ('ewma', 'EWMA')], default='ewma', max_length=300, verbose_name='Smoothing Window'),
          ),
          migrations.AlterField(
              model_name='elasticity',
              name='utility_function',
              field=models.CharField(choices=[('r1', 'throughput/num_nodes'), ('r2', '1.0/num_nodes'), ('r3', 'max_num_nodes-num_nodes+1'), ('r4', '1.0-(1.0/num_nodes)'), ('r42', '2.0-(2.0/(1+norm_total_cost))'), ('r10', '0.0*norm_total_cost+1.0*norm_latency'), ('r9', '0.1*norm_total_cost+0.9*norm_latency'), ('r8', '0.2*norm_total_cost+0.8*norm_latency'), ('r11', '0.35*norm_total_cost+0.65*norm_latency'), ('r7', '0.3*norm_total_cost+0.7*norm_latency'), ('r6', '0.4*norm_total_cost+0.6*norm_latency'), ('r5', '0.5*norm_total_cost+0.5*norm_latency'), ('r12', '0.6*norm_total_cost+0.4*norm_latency'), ('r13', '0.7*norm_total_cost+0.3*norm_latency'), ('r14', '0.8*norm_total_cost+0.2*norm_latency'), ('r15', '0.9*norm_total_cost+0.1*norm_latency'), ('r16', '1.0*norm_total_cost+0.0*norm_latency')], default='r42', max_length=300, verbose_name='Utility Function'),
          ),
      ]