From e75c4c012d04517ed4e1260c52f4ea7aea999b50 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 30 Apr 2020 13:37:52 -0400 Subject: [PATCH] Closes #4554: Add HDOT Cx power outlet type --- docs/release-notes/version-2.8.md | 1 + netbox/dcim/choices.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/release-notes/version-2.8.md b/docs/release-notes/version-2.8.md index 9ed878a7f..0ffefcc7d 100644 --- a/docs/release-notes/version-2.8.md +++ b/docs/release-notes/version-2.8.md @@ -7,6 +7,7 @@ * [#3294](https://github.com/netbox-community/netbox/issues/3294) - Implement mechanism for storing user preferences * [#4421](https://github.com/netbox-community/netbox/issues/4421) - Retain user's preference for config context format * [#4531](https://github.com/netbox-community/netbox/issues/4531) - Retain user's preference for page length +* [#4554](https://github.com/netbox-community/netbox/issues/4554) - Add ServerTech's HDOT Cx power outlet type ### Bug Fixes diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index 32802c61f..8433bb152 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -424,6 +424,8 @@ class PowerOutletTypeChoices(ChoiceSet): TYPE_ITA_M = 'ita-m' TYPE_ITA_N = 'ita-n' TYPE_ITA_O = 'ita-o' + # Proprietary + TYPE_HDOT_CX = 'hdot-cx' CHOICES = ( ('IEC 60320', ( @@ -487,6 +489,9 @@ class PowerOutletTypeChoices(ChoiceSet): (TYPE_ITA_N, 'ITA Type N'), (TYPE_ITA_O, 'ITA Type O'), )), + ('Proprietary', ( + (TYPE_HDOT_CX, 'HDOT Cx'), + )), )