Sorting the interfaces. #1012

Closed
opened 2025-12-29 16:27:53 +01:00 by adam · 2 comments
Owner

Originally created by @arraisfilho on GitHub (Jun 6, 2017).

Issue type: Sorting the interfaces (Devices / Device Types / Interfaces)

Python version: 2.7.12
Python3 version: 3.5.2
NetBox version:2.0.4

The ordering of the interfaces does not seem to sort by the name, in an attached image where we have interfaces with the name ether [1-10] and sfp1, see that the sfp is between the interfaces ether, I believe that it should obey the alphabetical ordering.

http://i.imgur.com/QOfML4w.png

Is there a parameter we can adjust or would it be a bug?

Originally created by @arraisfilho on GitHub (Jun 6, 2017). <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: Sorting the interfaces (Devices / Device Types / Interfaces) <!-- If filing a bug, please indicate the version of Python and NetBox you are running. (This is not necessary for feature requests.) --> **Python version: 2.7.12** **Python3 version: 3.5.2** **NetBox version:2.0.4** The ordering of the interfaces does not seem to sort by the name, in an attached image where we have interfaces with the name ether [1-10] and sfp1, see that the sfp is between the interfaces ether, I believe that it should obey the alphabetical ordering. http://i.imgur.com/QOfML4w.png Is there a parameter we can adjust or would it be a bug?
adam closed this issue 2025-12-29 16:27:53 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 6, 2017):

Interface ordering is configurable on the device type. Interfaces can be sorted by position (the default) or alphabetically.

@jeremystretch commented on GitHub (Jun 6, 2017): Interface ordering is configurable on the device type. Interfaces can be sorted by position (the default) or alphabetically.
Author
Owner

@arraisfilho commented on GitHub (Jun 6, 2017):

Hello,

I found the option, thank you!

@arraisfilho commented on GitHub (Jun 6, 2017): Hello, I found the option, thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1012