Update choices.py

This commit is contained in:
neope 2023-05-12 18:47:48 +02:00 committed by GitHub
parent 39fd64b2ef
commit 26caaef0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ class IPAddressStatusChoices(ChoiceSet):
STATUS_ACTIVE = 'active'
STATUS_RESERVED = 'reserved'
STATUS_DEPRECATED = 'deprecated'
STATUS_ABNORMAL = 'abnormal'
STATUS_DHCP = 'dhcp'
STATUS_SLAAC = 'slaac'
@ -67,6 +68,7 @@ class IPAddressStatusChoices(ChoiceSet):
(STATUS_ACTIVE, 'Active', 'blue'),
(STATUS_RESERVED, 'Reserved', 'cyan'),
(STATUS_DEPRECATED, 'Deprecated', 'red'),
(STATUS_ABNORMAL, 'Abnormal', 'yellow'),
(STATUS_DHCP, 'DHCP', 'green'),
(STATUS_SLAAC, 'SLAAC', 'purple'),
]