mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
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:
parent
b7f028fba3
commit
17d75c1b2e
@ -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'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user