Преглед изворни кода

Merge pull request #3133 from shanemadden/cable_circuit_endpoint_choice

Fixes: #3132: Add circuittermination to the choices API for cable endpoints
Jeremy Stretch пре 6 година
родитељ
комит
d50acb39dd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      netbox/dcim/constants.py

+ 1 - 1
netbox/dcim/constants.py

@@ -360,7 +360,7 @@ CONNECTION_STATUS_CHOICES = [
 
 
 # Cable endpoint types
 # Cable endpoint types
 CABLE_TERMINATION_TYPES = [
 CABLE_TERMINATION_TYPES = [
-    'consoleport', 'consoleserverport', 'interface', 'poweroutlet', 'powerport', 'frontport', 'rearport',
+    'consoleport', 'consoleserverport', 'interface', 'poweroutlet', 'powerport', 'frontport', 'rearport', 'circuittermination',
 ]
 ]
 
 
 # Cable types
 # Cable types