Răsfoiți Sursa

Add circuittermination as a choice for cable endpoint types, which is not in the choices API for cable termination types but is accepted by the application as a valid endpoint for cables

Shane Madden 6 ani în urmă
părinte
comite
ee4a3bcb02
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      netbox/dcim/constants.py

+ 1 - 1
netbox/dcim/constants.py

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