From e300fad3400bd0e7930bcde94f7ea1196ab42b92 Mon Sep 17 00:00:00 2001 From: Brian Ellwood Date: Thu, 22 Jul 2021 19:04:34 -0400 Subject: [PATCH] Add AC Hardwire option to PowerPortTypeChoices Resolves FR #6785 --- netbox/dcim/choices.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index 63f44ea37..06d800623 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -341,6 +341,8 @@ class PowerPortTypeChoices(ChoiceSet): TYPE_DC = 'dc-terminal' # Proprietary TYPE_SAF_D_GRID = 'saf-d-grid' + # Other + TYPE_OTHER = 'other' CHOICES = ( ('IEC 60320', ( @@ -447,6 +449,9 @@ class PowerPortTypeChoices(ChoiceSet): ('Proprietary', ( (TYPE_SAF_D_GRID, 'Saf-D-Grid'), )), + ('Other', ( + (TYPE_OTHER, 'Other'), + )), )