feat(dcim): Add 2.5 Gbps and 5 Gbps options to InterfaceSpeedChoices (#19445)

Extend `InterfaceSpeedChoices` to include 2.5 Gbps and 5 Gbps values.
This improves support for modern interface speeds and enhances API data
validation.
This commit is contained in:
Martin Hauser 2025-05-09 21:02:30 +02:00 committed by GitHub
parent d1303f49e6
commit 4b58678823
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1240,6 +1240,8 @@ class InterfaceSpeedChoices(ChoiceSet):
(10000, '10 Mbps'), (10000, '10 Mbps'),
(100000, '100 Mbps'), (100000, '100 Mbps'),
(1000000, '1 Gbps'), (1000000, '1 Gbps'),
(2500000, '2.5 Gbps'),
(5000000, '5 Gbps'),
(10000000, '10 Gbps'), (10000000, '10 Gbps'),
(25000000, '25 Gbps'), (25000000, '25 Gbps'),
(40000000, '40 Gbps'), (40000000, '40 Gbps'),