X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetstack%2Fcore%2Fmodels%2Fslice.py;h=bd41f87bd7827833de6811bd251a0d82f19af99f;hb=29bf5e8edb855d32e671e4ebcaf15eecc40258d0;hp=fd91c30d0b140027cc027bc16dd4b5a80d9d67bd;hpb=7cc6c7fc9190bd1931982cc828030b83b1edc72c;p=plstackapi.git diff --git a/planetstack/core/models/slice.py b/planetstack/core/models/slice.py index fd91c30..bd41f87 100644 --- a/planetstack/core/models/slice.py +++ b/planetstack/core/models/slice.py @@ -20,6 +20,7 @@ class Slice(PlCoreBase): description=models.TextField(blank=True,help_text="High level description of the slice and expected activities", max_length=1024) slice_url = models.URLField(blank=True, max_length=512) site = models.ForeignKey(Site, related_name='slices', help_text="The Site this Slice belongs to") + max_slivers = models.IntegerField(default=10) imagePreference = models.CharField(default="Ubuntu 12.04 LTS", null=True, blank=True, max_length=256) service = models.ForeignKey(Service, related_name='service', null=True, blank=True) network = models.CharField(default="Private Only",null=True, blank=True, max_length=256)