The Juniper QFX5120-48Y's 48 x SFP28 ports can run at 1, 10 or 25G, depending on what module is placed in them (SFP/SFP+/SFP28).
The port speeds have to be set in blocks of 4, however. i.e. To set port 0/0/1 up as 25G we need to also set 0/0/0, 0/0/2 and 0/0/3 to that speed.
This obviously creates limitations for us as we use this switches and connect hosts at different speeds. There are definitely changes to automation needed to configure the speeds in the chassis, and DC-Ops will need to understand the limitations to ensure server connections are compatible with the block of ports they are assigning.
In terms of Netbox:
- We should try to make the Netbox provisioning script reject an invalid port/speed combination
- i.e. our interface automation should check the adjacent ports, and not allow ge-0/0/1 to be created if xe-0/0/0 exists.
- We should consider if there is anything else we should do in Netbox, to indicate port block speeds
- We could create all 4 interfaces that make up a block when the first is created, leaving 3 'inactive', but with speed set.
- We'd also want to change the code that detects a port with same name but different speed, to fail rather than rename.
- Might help DC-Ops identify spare ports already configured for the desired speed
- Either way we need to try to use blocks optimally, and not end up with numerous unused ports locked to any speed.
- We could create all 4 interfaces that make up a block when the first is created, leaving 3 'inactive', but with speed set.
Just some ideas anyway, there are lots of options in terms of how we deal with this. Creating this ticket to track progress / facilitate discussion on how to deal with the problem.