Revision abad126d
b/flowspec/models.py | ||
---|---|---|
81 | 81 |
class Route(models.Model): |
82 | 82 |
name = models.SlugField(max_length=128) |
83 | 83 |
applier = models.ForeignKey(User, blank=True, null=True) |
84 |
source = models.CharField(max_length=32, blank=True, null=True, help_text=u"Network address. Use address/CIDR notation", verbose_name="Source Address")
|
|
84 |
source = models.CharField(max_length=32, help_text=u"Network address. Use address/CIDR notation", verbose_name="Source Address") |
|
85 | 85 |
sourceport = models.ManyToManyField(MatchPort, blank=True, null=True, related_name="matchSourcePort", verbose_name="Source Port") |
86 | 86 |
destination = models.CharField(max_length=32, help_text=u"Network address. Use address/CIDR notation", verbose_name="Destination Address") |
87 | 87 |
destinationport = models.ManyToManyField(MatchPort, blank=True, null=True, related_name="matchDestinationPort", verbose_name="Destination Port") |
Also available in: Unified diff