mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Define IFACE_ENABLED choices 'properly'
This commit is contained in:
parent
35f3e573b3
commit
266e948865
@ -48,6 +48,9 @@ IFACE_ORDERING_CHOICES = [
|
||||
[IFACE_ORDERING_NAME, 'Name (alphabetically)']
|
||||
]
|
||||
|
||||
# Interface enabled as choice
|
||||
IFACE_DISABLED = 0
|
||||
IFACE_ENABLED = 1
|
||||
IFACE_ENABLED_CHOICES = [
|
||||
[IFACE_ENABLED,'Enabled'],
|
||||
[IFACE_DISABLED,'Disabled']
|
||||
|
Loading…
Reference in New Issue
Block a user