Revision 5aeb4e93 snf-cyclades-app/synnefo/db/models.py
b/snf-cyclades-app/synnefo/db/models.py | ||
---|---|---|
495 | 495 |
name = models.CharField('Network Name', max_length=128) |
496 | 496 |
userid = models.CharField('User ID of the owner', max_length=128, |
497 | 497 |
null=True, db_index=True) |
498 |
subnet = models.CharField('Subnet', max_length=32, default='10.0.0.0/24') |
|
498 |
# subnet will be null for IPv6 only networks |
|
499 |
subnet = models.CharField('Subnet', max_length=32, null=True) |
|
500 |
# subnet6 will be null for IPv4 only networks |
|
499 | 501 |
subnet6 = models.CharField('IPv6 Subnet', max_length=64, null=True) |
500 | 502 |
gateway = models.CharField('Gateway', max_length=32, null=True) |
501 | 503 |
gateway6 = models.CharField('IPv6 Gateway', max_length=64, null=True) |
Also available in: Unified diff