From: Scott Baker Date: Fri, 9 Aug 2013 21:51:21 +0000 (-0700) Subject: shared network template support X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=5f814b56d189282bfd36861e6555d7302c34f418 shared network template support --- diff --git a/planetstack/core/models/network.py b/planetstack/core/models/network.py index 8f51fb8..4ac0b7e 100644 --- a/planetstack/core/models/network.py +++ b/planetstack/core/models/network.py @@ -18,6 +18,8 @@ class NetworkTemplate(PlCoreBase): 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") + sharedNetworkName = models.CharField(max_length=30, blank=True, null=True) + sharedNetworkId = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum network") def __unicode__(self): return u'%s' % (self.name)