Interface numbering #1679

Closed
opened 2025-12-29 16:34:21 +01:00 by adam · 3 comments
Owner

Originally created by @deku-m on GitHub (Apr 18, 2018).

Issue type

[X] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.2

Description

Im not sure if it is a feature request or a bug so i posted it under feature.

When adding interfaces to a device and you use numbering for example only numbers [1-20] or more. It shuffles the interfaces when sorted. 1/10/2/20/4/5/6/7/8/9/11/12/13/14/15/16/17/18/19. The 10 and 20 are then behind the 1/2. This is with using alphabetical or slot/position. When using text in front you dont have the problem. But when using for example a patchpanel and only use numbering. It doesnt sort it right on numbering.

Originally created by @deku-m on GitHub (Apr 18, 2018). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. For assistance with installation issues, or for any other issues other than those listed below, please raise your topic for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. Due to an excessive backlog of feature requests, we are not currently accepting any proposals which extend NetBox's feature scope. Do not prepend any sort of tag to your issue's title. An administrator will review your issue and assign labels as appropriate. ---> ### Issue type [X] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) If you are submitting a bug report and have made any changes to the code base, please first validate that your bug can be recreated while running an official release. --> ### Environment * Python version: 3.5.2 <!-- Example: 3.5.4 --> * NetBox version: 2.3.2 <!-- Example: 2.1.3 --> <!-- BUG REPORTS must include: * A list of the steps needed for someone else to reproduce the bug * A description of the expected and observed behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description Im not sure if it is a feature request or a bug so i posted it under feature. When adding interfaces to a device and you use numbering for example only numbers [1-20] or more. It shuffles the interfaces when sorted. 1/10/2/20/4/5/6/7/8/9/11/12/13/14/15/16/17/18/19. The 10 and 20 are then behind the 1/2. This is with using alphabetical or slot/position. When using text in front you dont have the problem. But when using for example a patchpanel and only use numbering. It doesnt sort it right on numbering.
adam closed this issue 2025-12-29 16:34:21 +01:00
Author
Owner

@robertlynch3 commented on GitHub (Apr 23, 2018):

Yes, I have seen this also in Rack numbering, I had to renumber the Racks to 01, 02, etc. Not the end of the world, but annoying none the less.

@robertlynch3 commented on GitHub (Apr 23, 2018): Yes, I have seen this also in Rack numbering, I had to renumber the Racks to 01, 02, etc. Not the end of the world, but annoying none the less.
Author
Owner

@bellwood commented on GitHub (Apr 24, 2018):

Welcome to the joys hell that is nat sorting

@bellwood commented on GitHub (Apr 24, 2018): Welcome to the ~~joys~~ hell that is nat sorting
Author
Owner

@jeremystretch commented on GitHub (Jul 5, 2018):

Wrapping this into #2165. We should include a test for this specific use case.

@jeremystretch commented on GitHub (Jul 5, 2018): Wrapping this into #2165. We should include a test for this specific use case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1679