From e438ddb40572277a9734431ad8522ddeb7a41dc6 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Fri, 10 May 2024 00:28:24 +0530 Subject: [PATCH] Adds 2.5 and 10g (#16068) * adds 2.5 and 10g #15451 * Tweak constant names for consistency w/peers --------- Co-authored-by: Jeremy Stretch --- netbox/dcim/choices.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index b00784265..a21530d59 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -848,6 +848,8 @@ class InterfaceTypeChoices(ChoiceSet): # Ethernet Backplane TYPE_1GE_KX = '1000base-kx' + TYPE_2GE_KX = '2.5gbase-kx' + TYPE_5GE_KR = '5gbase-kr' TYPE_10GE_KR = '10gbase-kr' TYPE_10GE_KX4 = '10gbase-kx4' TYPE_25GE_KR = '25gbase-kr' @@ -1008,6 +1010,8 @@ class InterfaceTypeChoices(ChoiceSet): _('Ethernet (backplane)'), ( (TYPE_1GE_KX, '1000BASE-KX (1GE)'), + (TYPE_2GE_KX, '2.5GBASE-KX (2.5GE)'), + (TYPE_5GE_KR, '5GBASE-KR (5GE)'), (TYPE_10GE_KR, '10GBASE-KR (10GE)'), (TYPE_10GE_KX4, '10GBASE-KX4 (10GE)'), (TYPE_25GE_KR, '25GBASE-KR (25GE)'),