Add cable type for backplane connections

When documenting bladecenters with blade servers in them, the network interface is located on the blade server (device) and is connected over the bladecenter backplane to the pysical port on the blade center chassis (device). This can be perfectly modeled with netbox 2.5's new cable resource, but the existing cable types do not apply to this use case. Having a "backplane" cable type would make it possible to better describe and document these connections.
This commit is contained in:
Karsten Heymann 2019-01-03 16:37:57 +01:00 committed by GitHub
parent d144d3a584
commit db850239af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,6 +345,7 @@ CABLE_TYPE_MMF_OM3 = 3030
CABLE_TYPE_MMF_OM4 = 3040 CABLE_TYPE_MMF_OM4 = 3040
CABLE_TYPE_SMF = 3500 CABLE_TYPE_SMF = 3500
CABLE_TYPE_POWER = 5000 CABLE_TYPE_POWER = 5000
CABLE_TYPE_BACKPLANE = 7000
CABLE_TYPE_CHOICES = ( CABLE_TYPE_CHOICES = (
( (
'Copper', ( 'Copper', (
@ -366,6 +367,7 @@ CABLE_TYPE_CHOICES = (
), ),
), ),
(CABLE_TYPE_POWER, 'Power'), (CABLE_TYPE_POWER, 'Power'),
(CABLE_TYPE_BACKPLANE, 'Backplane'),
) )
CABLE_TERMINATION_TYPE_CHOICES = { CABLE_TERMINATION_TYPE_CHOICES = {