Remove CONNECTION_STATUS_CONNECTED and CONNECTION_STATUS_PLANNED constants

This commit is contained in:
Jeremy Stretch
2020-02-24 14:14:58 -05:00
parent f7b620c6a2
commit 4d1749cc71
3 changed files with 8 additions and 12 deletions

View File

@@ -61,13 +61,10 @@ POWERFEED_MAX_UTILIZATION_DEFAULT = 80 # Percentage
# Cabling and connections
#
# TODO: Replace with CableStatusChoices?
# Console/power/interface connection statuses
CONNECTION_STATUS_PLANNED = False
CONNECTION_STATUS_CONNECTED = True
CONNECTION_STATUS_CHOICES = [
[CONNECTION_STATUS_PLANNED, 'Planned'],
[CONNECTION_STATUS_CONNECTED, 'Connected'],
[False, 'Not Connected'],
[True, 'Connected'],
]
# Cable endpoint types