Просмотр исходного кода

Closes #6564: Add N connector type for pass-through ports

jeremystretch 4 лет назад
Родитель
Сommit
857c70ece9
2 измененных файлов с 3 добавлено и 0 удалено
  1. 1 0
      docs/release-notes/version-2.11.md
  2. 2 0
      netbox/dcim/choices.py

+ 1 - 0
docs/release-notes/version-2.11.md

@@ -6,6 +6,7 @@
 
 * [#6455](https://github.com/netbox-community/netbox/issues/6455) - Permit /32 IPv4 and /128 IPv6 prefixes
 * [#6493](https://github.com/netbox-community/netbox/issues/6493) - Show change log diff for non-atomic (pre-2.11) changes
+* [#6564](https://github.com/netbox-community/netbox/issues/6564) - Add N connector type for pass-through ports
 
 ### Bug Fixes
 

+ 2 - 0
netbox/dcim/choices.py

@@ -924,6 +924,7 @@ class PortTypeChoices(ChoiceSet):
     TYPE_110_PUNCH = '110-punch'
     TYPE_BNC = 'bnc'
     TYPE_F = 'f'
+    TYPE_N = 'n'
     TYPE_MRJ21 = 'mrj21'
     TYPE_ST = 'st'
     TYPE_SC = 'sc'
@@ -954,6 +955,7 @@ class PortTypeChoices(ChoiceSet):
                 (TYPE_110_PUNCH, '110 Punch'),
                 (TYPE_BNC, 'BNC'),
                 (TYPE_F, 'F Connector'),
+                (TYPE_N, 'N Connector'),
                 (TYPE_MRJ21, 'MRJ21'),
             ),
         ),