Expand Interface FormFactor / Types
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...
Makes sense. When you say FormFactor do you also mean XFP, SFP+, QSFP?
I mean FormFactor as Netbox labels it :)

+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.
another +1, this would be great. configurable types/form factors would be great as well.
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.
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.
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.
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.
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.
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 Looks like a good approach compared to how we were originally discussing to handle form factors.
I do not even use them, but the only modular that I can see people using are the X2s & XENPAKs (both 10G) .
Yeah, I was considering XENPAK and X2, but are those around any more? I suppose the same could be asked of GBICs.
Yes ha, unfortunately, they are.
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.
Don't forget to add SFP28 if you are adding QSFP28.
Like @peelman said, please consider adding SFP Fibre Channel interfaces (2,4,8,16 and 32G). Thanks
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.
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)
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.