Revision df8a7015 snf-cyclades-app/synnefo/db/models.py
b/snf-cyclades-app/synnefo/db/models.py | ||
---|---|---|
705 | 705 |
deleted=False).exists() |
706 | 706 |
return False |
707 | 707 |
|
708 |
class Meta: |
|
709 |
# Assert than an IPv4 address from the same network will not be |
|
710 |
# assigned to more than one NICs |
|
711 |
unique_together = ("network", "ipv4") |
|
712 |
|
|
708 | 713 |
|
709 | 714 |
class FloatingIP(models.Model): |
710 | 715 |
userid = models.CharField("UUID of the owner", max_length=128, |
Also available in: Unified diff