Browse Source

Closes #7314: Add SMA 905/906 fiber port types

jeremystretch 4 years ago
parent
commit
854121b6ec
2 changed files with 5 additions and 0 deletions
  1. 1 0
      docs/release-notes/version-3.0.md
  2. 4 0
      netbox/dcim/choices.py

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

@@ -8,6 +8,7 @@
 * [#6973](https://github.com/netbox-community/netbox/issues/6973) - Enable custom ordering of reports
 * [#7022](https://github.com/netbox-community/netbox/issues/7022) - Add ITA type C (CEE 7/16) power port type
 * [#7118](https://github.com/netbox-community/netbox/issues/7118) - Render URL custom fields as hyperlinks in object tables
+* [#7314](https://github.com/netbox-community/netbox/issues/7314) - Add SMA 905/906 fiber port types
 * [#7323](https://github.com/netbox-community/netbox/issues/7323) - Add serial filter field for racks & devices
 * [#7372](https://github.com/netbox-community/netbox/issues/7372) - Link to local docs for model from object add/edit views
 * [#7389](https://github.com/netbox-community/netbox/issues/7389) - Linkify tenant group in tenants list

+ 4 - 0
netbox/dcim/choices.py

@@ -969,6 +969,8 @@ class PortTypeChoices(ChoiceSet):
     TYPE_SPLICE = 'splice'
     TYPE_CS = 'cs'
     TYPE_SN = 'sn'
+    TYPE_SMA_905 = 'sma-905'
+    TYPE_SMA_906 = 'sma-906'
     TYPE_URM_P2 = 'urm-p2'
     TYPE_URM_P4 = 'urm-p4'
     TYPE_URM_P8 = 'urm-p8'
@@ -1012,6 +1014,8 @@ class PortTypeChoices(ChoiceSet):
                 (TYPE_ST, 'ST'),
                 (TYPE_CS, 'CS'),
                 (TYPE_SN, 'SN'),
+                (TYPE_SMA_905, 'SMA 905'),
+                (TYPE_SMA_906, 'SMA 906'),
                 (TYPE_URM_P2, 'URM-P2'),
                 (TYPE_URM_P4, 'URM-P4'),
                 (TYPE_URM_P8, 'URM-P8'),