blob: 12479b3e7abde2b142182ddd63aa7d3664a75aeb [file] [log] [blame]
Scott Bakerd219e1e2014-05-20 12:04:25 -07001from core.models import User,Site,Service,SingletonModel,PlCoreBase, Slice
2import os
3from django.db import models
4from django.forms.models import model_to_dict
5
6# Create your models here.
7
8class CassandraService(SingletonModel,Service):
9 class Meta:
10 app_label = "cassandra"
11 verbose_name = "Cassandra Service"
12
13 clusterSize = models.PositiveIntegerField(default=1)
14 replicationFactor = models.PositiveIntegerField(default=1)
15
16 def __unicode__(self): return u'Cassandra Service'
17