Skip to content

Interface list cleanup (typos, missing choice, ordering) #20392

@sleepinggenius2

Description

@sleepinggenius2

NetBox Edition

NetBox Community

NetBox Version

v4.4.1

Python Version

3.12

Steps to Reproduce

  1. Navigate to Devices > Device Components > Interfaces > Add
  2. Click on the "Type" dropdown

Expected Behavior

#20321 introduced new interface types, but some have typos in their labels, are missing from the list, or are ordered incorrectly. Additionally, a number of other existing types are ordered incorrectly from a speed and/or lexicographical standpoint.

  • TYPE_10GE_BR_D has a label of "10GBASE-BR-D (10GE BiDi Down)"
  • TYPE_10GE_BR_U has a label of "10GBASE-BR-U (10GE BiDi Up)"
  • TYPE_100GE_CWDM4 is in the list with a label of "100GBASE-CWDM4 (100GE)"

Ordering:

  • "1000BASE-CWDM (1GE)" before "1000BASE-CX (1GE DAC)"
  • "1000BASE-SX (1GE)" before "1000BASE-T (1GE)"
  • "200GBASE-SR2 (200GE)" and "200GBASE-SR4 (200GE)" before "200GBASE-VR2 (200GE)"
  • "XENPAK (10GE)" before "XFP (10GE)"
  • "SFP56 (50GE)" before "CFP (100GE)"
  • "CFP2 (200GE)" before "QSFP56 (200GE)"
  • "CFP2 (400GE)" before "CFP8 (400GE)"
  • "SFP-DD (100GE)" before "QSFP56 (200GE)"
  • "OSFP (400GE)" and "OSFP-RHS (400GE)" before "QSFP112 (400GE)"
  • "CDFP (400GE)" before "CFP2 (400GE)"
  • "CPF8 (400GE)" labeled "CFP8 (400GE)" and before "OSFP (400GE)"
  • "OSFP (800GE)" before "QSFP-DD (800GE)"

Observed Behavior

  • TYPE_10GE_BR_D has a label of "10GBASE-DR-D (10GE BiDi Down)"
  • TYPE_10GE_BR_U has a label of "10GBASE-DR-U (10GE BiDi Up)"
  • TYPE_100GE_CWDM4 is missing from the list

Ordering:

  • "1000BASE-CWDM (1GE)" before "1000BASE-DWDM (1GE)"
  • "1000BASE-SX (1GE)" before "1000BASE-LSX (1GE)"
  • "200GBASE-SR2 (200GE)" and "200GBASE-SR4 (200GE)" before "200GBASE-DR4 (200GE)"
  • "XENPAK (10GE)" before "X2 (10GE)"
  • "SFP56 (50GE)" before "QSFP+ (40GE)"
  • "CFP2 (200GE)" before "CFP2 (400GE)"
  • "CFP2 (400GE)" before "CFP4 (100GE)"
  • "SFP-DD (100GE)" before "QSFP28 (100GE)"
  • "OSFP (400GE)" and "OSFP-RHS (400GE)" before "CDFP (400GE)"
  • "CDFP (400GE)" and "CPF8 (400GE)" before "QSFP-DD (800GE)"
  • "OSFP (800GE)" after "QSFP-DD (800GE)"

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions