Adding Abnormal choice to IP Address

Could be useful to identify IPs that are alive but you don't recognize in CMDB
This commit is contained in:
neope 2023-05-12 14:10:25 +02:00 committed by GitHub
parent b7f028fba3
commit 17d75c1b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ class PrefixStatusChoices(ChoiceSet):
STATUS_CONTAINER = 'container' STATUS_CONTAINER = 'container'
STATUS_ACTIVE = 'active' STATUS_ACTIVE = 'active'
STATUS_RESERVED = 'reserved' STATUS_RESERVED = 'reserved'
STATUS_ABNORMAL = 'abnormal'
STATUS_DEPRECATED = 'deprecated' STATUS_DEPRECATED = 'deprecated'
CHOICES = [ CHOICES = [
@ -29,6 +30,7 @@ class PrefixStatusChoices(ChoiceSet):
(STATUS_ACTIVE, 'Active', 'blue'), (STATUS_ACTIVE, 'Active', 'blue'),
(STATUS_RESERVED, 'Reserved', 'cyan'), (STATUS_RESERVED, 'Reserved', 'cyan'),
(STATUS_DEPRECATED, 'Deprecated', 'red'), (STATUS_DEPRECATED, 'Deprecated', 'red'),
(STATUS_ABNORMAL, 'Abnormal', 'violet'),
] ]