netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Add new interface and cable types to model direct interface connections to backplanes

Open phurrelmann opened this issue 2 years ago • 8 comments

NetBox version

v3.3.0

Feature type

New functionality

Proposed functionality

Blades (and router/switch modules) often provide network connections via direct physical connections on their backplane. The interface then is directly wired over the backplane. There are proper IEEE standards defined for 1G (1000BASE-KX, see https://en.wikipedia.org/wiki/Gigabit_Ethernet), for 10G (10GBASE-KX4 and 10GBASE-KR, see https://en.wikipedia.org/wiki/10_Gigabit_Ethernet#10GBASE-KR), for 40G and 100G (40GBASE-KR4, 100GBASE-KP4, 100GBASE-KR2 and 100GBASE-KR4, see https://en.wikipedia.org/wiki/100_Gigabit_Ethernet).

To model and trace backplane network interfaces I'd also like to add the generic cable type "Backplane" to document, that the cable is indeed a direct physical copper connection.

Summary:

  1. Add new cable type "Backplane" to section of copper cables
  2. Add new interface types to section "Ethernet (fixed)"

Interface types to be added:

  • 1000BASE-KX
  • 10GBASE-KR
  • 10GBASE-KX4
  • 40GBASE-KR4
  • 100GBASE-KP4
  • 100GBASE-KR2
  • 100GBASE-KR4

If accepted I'll try to add/implement those new interface and cable type myself and submit a PR.

Use case

Model physical interfaces connected directly to a backplane and make this visible with the correct cable of type "Backplane". We have lots of bladecenters and blades where the interfaces of blades blade are directly wired to the backplane. Currenlty this physical connection can't be properly modeled and its not visible for the users that the cable is indeed a backplane connection.

This feature could also be handy when using the new modules feature in combination with modular switches where some internal interfaces are realized with direct backplane connectivity.

Database changes

none, only new interface and cable type definitions are needed.

External dependencies

none

phurrelmann avatar Sep 13 '22 15:09 phurrelmann

To not clutter the interface type section "Ethernet (fixed)" a new section "Backplane" or "Ethernet (Backplane)" could be added, too. But I'll leave this open for discussion.

phurrelmann avatar Sep 13 '22 15:09 phurrelmann

Backplane Ethernet, also known by the name of the task force that developed it, 802.3ap, is used in backplane applications such as blade servers and modular network equipment with upgradable line cards.

Would it make sense to refer to these as 802.3ap types?

jeremystretch avatar Sep 13 '22 15:09 jeremystretch

you mean to group those new interfaces types under "Backplane (802.3ap)" or do you mean to merge all interface types to a single "802.3ap" type?If yes, I'd vote for the former and not for the latter

phurrelmann avatar Sep 13 '22 15:09 phurrelmann

Sorry, yes, I was referring to the group. We could maybe call it "Backplane (802.3ap)" to better differentiate from the general Ethernet types.

jeremystretch avatar Sep 13 '22 15:09 jeremystretch

Sorry, yes, I was referring to the group. We could maybe call it "Backplane (802.3ap)" to better differentiate from the general Ethernet types.

Sounds good to me 👍 I'll try to implement this ticket, if accepted.

phurrelmann avatar Sep 13 '22 18:09 phurrelmann

just a quick update. I'm still interested in implementing this and have planned this for next week

phurrelmann avatar Sep 23 '22 09:09 phurrelmann

@phurrelmann is this ready for a PR?

jeremystretch avatar Oct 03 '22 15:10 jeremystretch

Need to do some checks and will submit the PR tomorrow. Thx for your patience

phurrelmann avatar Oct 03 '22 16:10 phurrelmann