Browse Source

Closes #6387: Add xDSL interface type

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

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

@@ -4,6 +4,7 @@
 
 
 ### Enhancements
 ### Enhancements
 
 
+* [#6387](https://github.com/netbox-community/netbox/issues/6387) - Add xDSL interface type
 * [#7239](https://github.com/netbox-community/netbox/issues/7239) - Redirect global search to filtered object list when an object type is selected
 * [#7239](https://github.com/netbox-community/netbox/issues/7239) - Redirect global search to filtered object list when an object type is selected
 
 
 ### Bug Fixes
 ### Bug Fixes

+ 9 - 0
netbox/dcim/choices.py

@@ -761,6 +761,9 @@ class InterfaceTypeChoices(ChoiceSet):
     TYPE_T3 = 't3'
     TYPE_T3 = 't3'
     TYPE_E3 = 'e3'
     TYPE_E3 = 'e3'
 
 
+    # ATM/DSL
+    TYPE_XDSL = 'xdsl'
+
     # Stacking
     # Stacking
     TYPE_STACKWISE = 'cisco-stackwise'
     TYPE_STACKWISE = 'cisco-stackwise'
     TYPE_STACKWISE_PLUS = 'cisco-stackwise-plus'
     TYPE_STACKWISE_PLUS = 'cisco-stackwise-plus'
@@ -885,6 +888,12 @@ class InterfaceTypeChoices(ChoiceSet):
                 (TYPE_E3, 'E3 (34 Mbps)'),
                 (TYPE_E3, 'E3 (34 Mbps)'),
             )
             )
         ),
         ),
+        (
+            'ATM',
+            (
+                (TYPE_XDSL, 'xDSL'),
+            )
+        ),
         (
         (
             'Stacking',
             'Stacking',
             (
             (