From 138b22d4586c6f49a73820effff0e4fbd003f39d Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Thu, 8 May 2025 21:52:07 +0200 Subject: [PATCH] feat(dcim): Add 2.5 Gbps and 5 Gbps options to InterfaceSpeedChoices Extend `InterfaceSpeedChoices` to include 2.5 Gbps and 5 Gbps values. This improves support for modern interface speeds and enhances API data validation. --- netbox/dcim/choices.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index 267966e10..3e9498af8 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -1238,6 +1238,8 @@ class InterfaceSpeedChoices(ChoiceSet): (10000, '10 Mbps'), (100000, '100 Mbps'), (1000000, '1 Gbps'), + (2500000, '2.5 Gbps'), + (5000000, '5 Gbps'), (10000000, '10 Gbps'), (25000000, '25 Gbps'), (40000000, '40 Gbps'),