Hi All,
We are using netbox for a variety of things, including configuration of devices with automation. One question that came up was the lack of interface-specific parameters for ethernet interfaces. Sure we can specify some of the layer1 aspects, like interface type (1000base-T, 10Gbase-SR, etc). However there are other interface parameters that seem applicable:
- when dealing with twisted pair 10/100/1000, specify the intended speed/duplex/autoneg for the link.
- similar issues occur when using a SFP28, where it may need to autoneg, or statically be set to 10G.
- when working with QSFP28's, we also have to consider the FEC algorithm.
I am thinking about multi-vendor environments, where it is not always safe to assume the link defaults. I realize some of this can be solved with local config context, but I also think this is part of planning, provisioning, and ultimately monitoring. It would be nice if there were some optional fields added to the interface structure to allow a user to include these layer1 options for completeness.
I started implementing it, and realized it would require a migration to add the fields to the database, however I am not entirely sure if that would break each time I re-sync with upstream. I can deal with that, but is this something that would be a good pull request?
Cheers,
Jason