git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0d5ea5c
)
shared network template support
author
Scott Baker
<smbaker@gmail.com>
Fri, 9 Aug 2013 21:51:21 +0000
(14:51 -0700)
committer
Scott Baker
<smbaker@gmail.com>
Fri, 9 Aug 2013 21:51:21 +0000
(14:51 -0700)
planetstack/core/models/network.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/network.py
b/planetstack/core/models/network.py
index
8f51fb8
..
4ac0b7e
100644
(file)
--- 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")
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)
def __unicode__(self): return u'%s' % (self.name)