Przeglądaj źródła

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 lat temu
rodzic
commit
ee4a3bcb02
1 zmienionych plików z 1 dodań i 1 usunięć
  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