Fixes #3930: Fix API rendering of the family field for aggregates

This commit is contained in:
Jeremy Stretch
2020-01-15 13:53:17 -05:00
parent 2e123a47bd
commit 59841d8203
5 changed files with 22 additions and 13 deletions

View File

@@ -1,6 +1,17 @@
from utilities.choices import ChoiceSet
class IPAddressFamilyChoices(ChoiceSet):
FAMILY_4 = 4
FAMILY_6 = 6
CHOICES = (
(FAMILY_4, 'IPv4'),
(FAMILY_6, 'IPv6'),
)
#
# Prefixes
#