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

Closes #2839: Add "110 punch" type for pass-through ports

Jeremy Stretch 7 лет назад
Родитель
Сommit
5da9d6b46b
2 измененных файлов с 3 добавлено и 0 удалено
  1. 1 0
      CHANGELOG.md
  2. 2 0
      netbox/dcim/constants.py

+ 1 - 0
CHANGELOG.md

@@ -2,6 +2,7 @@ v2.5.6 (FUTURE)
 
 ## Enhancements
 
+* [#2839](https://github.com/digitalocean/netbox/issues/2839) - Add "110 punch" type for pass-through ports
 * [#2854](https://github.com/digitalocean/netbox/issues/2854) - Enable bulk editing of pass-through ports
 
 ## Bug Fixes

+ 2 - 0
netbox/dcim/constants.py

@@ -255,6 +255,7 @@ IFACE_MODE_CHOICES = [
 
 # Pass-through port types
 PORT_TYPE_8P8C = 1000
+PORT_TYPE_110_PUNCH = 1100
 PORT_TYPE_ST = 2000
 PORT_TYPE_SC = 2100
 PORT_TYPE_FC = 2200
@@ -267,6 +268,7 @@ PORT_TYPE_CHOICES = [
         'Copper',
         [
             [PORT_TYPE_8P8C, '8P8C'],
+            [PORT_TYPE_110_PUNCH, '110 Punch'],
         ],
     ],
     [