From 893260a2ae62310a490d0ca62aeed06c0df28695 Mon Sep 17 00:00:00 2001 From: Oliver <932481+tb-killa@users.noreply.github.com> Date: Fri, 27 Aug 2021 21:26:01 +0200 Subject: [PATCH] Close #7022 Add a new power connector type for selection in netbox: CEE 7/16, Type C (also known as Europlug). --- netbox/dcim/choices.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index 63054c2ce..40de321b3 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -246,6 +246,8 @@ class ConsolePortSpeedChoices(ChoiceSet): class PowerPortTypeChoices(ChoiceSet): + # CEE 7/16 + TYPE_CEE_7_16_TYPE_C = 'cee-7-16-type-c' # IEC 60320 TYPE_IEC_C6 = 'iec-60320-c6' TYPE_IEC_C8 = 'iec-60320-c8' @@ -346,6 +348,9 @@ class PowerPortTypeChoices(ChoiceSet): TYPE_HARDWIRED = 'hardwired' CHOICES = ( + ('CEE 7/16', ( + (TYPE_CEE_7_16_TYPE_C, 'CEE 7/16 Europlug'), + )), ('IEC 60320', ( (TYPE_IEC_C6, 'C6'), (TYPE_IEC_C8, 'C8'),