From 4b5867882395a9c7bf7649b18c1b1d9afbcc5332 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Fri, 9 May 2025 21:02:30 +0200 Subject: [PATCH] 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. --- netbox/dcim/choices.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index 05344628a..ad96bd47c 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -1240,6 +1240,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'),