netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Expand Interface FormFactor / Types

Open peelman opened this issue 10 years ago • 41 comments

Might be easiest to make this an admin-configured lookup table.

Rack tables supports dozens of interface types, to the point at which it gets excessively dumb. But being able to define single or multimode for SFPs, and adding Fiber Channel (in 2/4/8/16/32Gb flavors) would probably be a decent start...

peelman avatar Jul 01 '16 14:07 peelman

Makes sense. When you say FormFactor do you also mean XFP, SFP+, QSFP?

ryanmerolle avatar Jul 01 '16 14:07 ryanmerolle

I mean FormFactor as Netbox labels it :)

screen shot 2016-07-01 at 10 12 23 am

peelman avatar Jul 01 '16 14:07 peelman

+1 We have dozens of FibreChannel and Infiniband switches, hosts, and storage systems. Being able to track these interfaces would be extremely helpful. I'm less concerned with the interface speed as much as I am that it's not an ethernet interface. If this can't be configurable by the admin, the form factors could be "FibreChannel (SFP)", "Infiniband (CX4)", and "Infiniband (QSFP)". This would keep the drop-down from being too unwieldy.

kenspi avatar Jul 12 '16 17:07 kenspi

another +1, this would be great. configurable types/form factors would be great as well.

ghost avatar Jul 13 '16 21:07 ghost

Interface form factors are hard-coded because only a limited set exist in the world. For instance, there is a well-defined set of Ethernet interfaces as standardized by IEEE. Allowing users to create their own pseudo-types is inviting chaos.

Of course, I'm happy to create additional form factors, but let's compile a list of exactly what they should be called.

jeremystretch avatar Jul 20 '16 18:07 jeremystretch

Would it be possible to add a Form Factor for Serial, or some other descriptor for low speed interfaces? Could just be generic, like "Serial". Or specific like, "T1, DS3" As these low speed interfaces are becoming less and less common probably just "Serial" would suffice.

dsolson1 avatar Jul 28 '16 19:07 dsolson1

I think you'll find that form factors are almost infinitely variable depending on how far back in the past you go and what way you stretch the definition of form factor.

In some cases you could argue that some of these share the same form factor (ATM, FDDI, POS) because they share the same interface (SC fiber usually) and the primary difference in speeds and even interface type is the transceiver used. I've seen Cisco cards converted from ATM to POS by desoldering the transceiver and replacing them with different ones.

But, if you make that argument then everything that rides over an SFP, or an RJ45 is the same form factor. So 100BASE-TX, 1000BASE-T and 10GBASE-T could all be merged.

  • 10BASE2/10BASE5
  • Docsis
  • Adsl/Vdsl/dsl (RJ11)
  • Powerline, HomePNA, MoCA/DeCA, old proprietary things like Coaxsys
  • Wlan
  • Microwave (non-Wlan wireless backhaul)
  • GPRS/LTE/other cellular PHY
  • ATM
  • Fddi
  • Packet over SONET (POS) OC3/OC12/OC48/OC192/OC768
  • Xenpak
  • CFP/CXP
  • 10G/40G/100G twinax

That doesn't cover really obscure things like AX.25 (amateur packet radio)... I can't think of any others right now.

rfdrake avatar Jul 30 '16 06:07 rfdrake

There's no need to include obsolete form factors, just the ones that are likely to be present in modern networks. #326 and #361 have some additional examples.

jeremystretch avatar Jul 31 '16 02:07 jeremystretch

Looking around my server room the network "sockets" (something I plug into) on the equipment are: RJ45 SFP/SFP+ QSFP XFP CX4 GBIC

Add a few other ports (i.e. CFP, CPAK, XENPAK, and perhaps just "Fiber" for non-transceiver ports) and you've got a solid top-10 of form factors.

I've combined SFP & SFP+ here as the same form factor to reduce bloat. Otherwise we'd also have to consider things like SFP28, QSFP+, QSFP28, CFP2, etc... as their adoption grows.

kenspi avatar Aug 03 '16 22:08 kenspi

I've added some additional form factors in 76b9a1c. If anyone has any others they'd like to add, please comment here with the group and specific name you'd use for each.

jeremystretch avatar Aug 04 '16 17:08 jeremystretch

@jeremystretch Looks like a good approach compared to how we were originally discussing to handle form factors.

ryanmerolle avatar Aug 04 '16 19:08 ryanmerolle

I do not even use them, but the only modular that I can see people using are the X2s & XENPAKs (both 10G) .

ryanmerolle avatar Aug 04 '16 19:08 ryanmerolle

Yeah, I was considering XENPAK and X2, but are those around any more? I suppose the same could be asked of GBICs.

jeremystretch avatar Aug 04 '16 21:08 jeremystretch

Yes ha, unfortunately, they are.

ryanmerolle avatar Aug 07 '16 21:08 ryanmerolle

Would it be possible to add "Unknown" or "Unspecified"? Those might cover the rare cases where someone is doing something weird. It's better than having to enter incorrect data if what you have is not close to any of the choices.

rfdrake avatar Aug 07 '16 22:08 rfdrake

Don't forget to add SFP28 if you are adding QSFP28.

fyx avatar Aug 08 '16 15:08 fyx

Like @peelman said, please consider adding SFP Fibre Channel interfaces (2,4,8,16 and 32G). Thanks

fseidler avatar Aug 09 '16 19:08 fseidler

I would like to get X2 to the list. There is devices/modules with X2 interfaces on the market like Cisco 6500/6800 sup2T.

You should support something generic like "Transceiver (10GE)" and "Transceiver (1GE)" because form factor is mandatory field. At the moment you need to select misleading information if your interface form factor is not on the list.

vxnet avatar Aug 13 '16 19:08 vxnet

While the "form factors" have been updated, they are still almost exclusively in support of Ethernet standards and not other technologies. Eliminating the terminology "1GE", "10GE", and so on from the "modular" section would correct this and allow FibreChannel, Infiniband, and others to use existing "form factors" without a discrepancy in the stated terminology. As others have suggested, an "other" category would be helpful where an option is not available (i.e. CX4 or X2)

kenspi avatar Aug 15 '16 17:08 kenspi

Eliminating the terminology "1GE", "10GE", and so on from the "modular" section would correct this and allow FibreChannel, Infiniband, and others to use existing "form factors" without a discrepancy in the stated terminology.

Infiniband doesn't come in 1G though, it comes in 2.5, 10 and 30. FC also has different classes of throughput. If anything, it would be better to add "SFP (2.5IB)" "SFP (2FC)" to differentiate them, however that means just adding a whole bunch of extra classes.

I am sure there is a better way. Also, remember not everyone will be happen no matter what end result we get here.

DanSheps avatar Aug 15 '16 18:08 DanSheps