1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add explanatory text for constants

This commit is contained in:
Jeremy Stretch
2020-01-24 15:03:38 -05:00
parent 096814dc33
commit c6473d654d
2 changed files with 10 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ REARPORT_POSITIONS_MAX = 64
#
INTERFACE_MTU_MIN = 1
INTERFACE_MTU_MAX = 32767
INTERFACE_MTU_MAX = 32767 # Max value of a signed 16-bit integer
VIRTUAL_IFACE_TYPES = [
InterfaceTypeChoices.TYPE_VIRTUAL,
@@ -49,7 +49,9 @@ NONCONNECTABLE_IFACE_TYPES = VIRTUAL_IFACE_TYPES + WIRELESS_IFACE_TYPES
#
POWERFEED_VOLTAGE_DEFAULT = 120
POWERFEED_AMPERAGE_DEFAULT = 20
POWERFEED_MAX_UTILIZATION_DEFAULT = 80 # Percentage