From 87e5e09d5973e0c027d109560acec9d84e26b2b6 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Wed, 7 Aug 2013 18:58:10 -0700 Subject: [PATCH] add translation field to network template --- planetstack/core/models/network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/planetstack/core/models/network.py b/planetstack/core/models/network.py index 44dee76..8f51fb8 100644 --- a/planetstack/core/models/network.py +++ b/planetstack/core/models/network.py @@ -11,11 +11,13 @@ NO_OBSERVER=False class NetworkTemplate(PlCoreBase): VISIBILITY_CHOICES = (('public', 'public'), ('private', 'private')) + TRANSLATION_CHOICES = (('none', 'none'), ('NAT', 'NAT')) name = models.CharField(max_length=32) description = models.CharField(max_length=1024, blank=True, null=True) guaranteedBandwidth = models.IntegerField(default=0) visibility = models.CharField(max_length=30, choices=VISIBILITY_CHOICES, default="private") + translation = models.CharField(max_length=30, choices=TRANSLATION_CHOICES, default="none") def __unicode__(self): return u'%s' % (self.name) -- 2.43.0