Fixes #21542: Increase supported interface speed values above 2.1 Tbps #10

Closed
opened 2026-04-05 16:21:12 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 4/3/2026

Fixes: #21542

This PR changes Interface.speed from PositiveIntegerField to PositiveBigIntegerField, allowing higher speed values to be stored without hitting the current 32-bit limit.

It also updates the related GraphQL definitions, REST/OpenAPI filter typing, and regression tests to keep API behavior consistent.

Automatic calculation of a LAG's speed from its member interfaces was discussed separately, but is intentionally left out of scope for this fix.

*Originally created by @pheus on 4/3/2026* ### Fixes: #21542 This PR changes `Interface.speed` from `PositiveIntegerField` to `PositiveBigIntegerField`, allowing higher speed values to be stored without hitting the current 32-bit limit. It also updates the related GraphQL definitions, REST/OpenAPI filter typing, and regression tests to keep API behavior consistent. Automatic calculation of a LAG's speed from its member interfaces was discussed separately, but is intentionally left out of scope for this fix.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#10