From db850239af9f3775c024df80c94283e9845d641a Mon Sep 17 00:00:00 2001 From: Karsten Heymann Date: Thu, 3 Jan 2019 16:37:57 +0100 Subject: [PATCH] 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. --- netbox/dcim/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netbox/dcim/constants.py b/netbox/dcim/constants.py index ecb5f7b8d..f5d41a451 100644 --- a/netbox/dcim/constants.py +++ b/netbox/dcim/constants.py @@ -345,6 +345,7 @@ CABLE_TYPE_MMF_OM3 = 3030 CABLE_TYPE_MMF_OM4 = 3040 CABLE_TYPE_SMF = 3500 CABLE_TYPE_POWER = 5000 +CABLE_TYPE_BACKPLANE = 7000 CABLE_TYPE_CHOICES = ( ( 'Copper', ( @@ -366,6 +367,7 @@ CABLE_TYPE_CHOICES = ( ), ), (CABLE_TYPE_POWER, 'Power'), + (CABLE_TYPE_BACKPLANE, 'Backplane'), ) CABLE_TERMINATION_TYPE_CHOICES = {