فهرست منبع

Closes #9933: Add DOCSIS interface type

jeremystretch 3 سال پیش
والد
کامیت
9e9e90f88b
2فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 1 0
      docs/release-notes/version-3.2.md
  2. 9 0
      netbox/dcim/choices.py

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

@@ -10,6 +10,7 @@
 * [#9505](https://github.com/netbox-community/netbox/issues/9505) - Display extra addressing details for IPv4 prefixes
 * [#9625](https://github.com/netbox-community/netbox/issues/9625) - Add phone & email details to contacts panel
 * [#9857](https://github.com/netbox-community/netbox/issues/9857) - Add clear button to quick search fields
+* [#9933](https://github.com/netbox-community/netbox/issues/9933) - Add DOCSIS interface type
 
 ### Bug Fixes
 

+ 9 - 0
netbox/dcim/choices.py

@@ -814,6 +814,9 @@ class InterfaceTypeChoices(ChoiceSet):
     # ATM/DSL
     TYPE_XDSL = 'xdsl'
 
+    # Coaxial
+    TYPE_DOCSIS = 'docsis'
+
     # PON
     TYPE_GPON = 'gpon'
     TYPE_XG_PON = 'xg-pon'
@@ -958,6 +961,12 @@ class InterfaceTypeChoices(ChoiceSet):
                 (TYPE_XDSL, 'xDSL'),
             )
         ),
+        (
+            'Coaxial',
+            (
+                (TYPE_DOCSIS, 'DOCSIS'),
+            )
+        ),
         (
             'PON',
             (