netutils icon indicating copy to clipboard operation
netutils copied to clipboard

Interface Sorting Issue

Open mzbroch opened this issue 3 years ago • 1 comments

As a network engineer, I might want to sort my interfaces as they appear on the devices. This way, I could render my configuration easier and faster.

In this sense, interfaces in the Cisco configuration are listed in a non-alphabetical way and following rules are applied:

  • Port Channel interfaces are listed first
  • First round of sorting the Ethernet interfaces is based on the slot position
  • Second round of sorting the Ethernet interfaces is based on the interface type name + slot position, taking care of the duplicated slot positions

The current behaviour of sort_interface_list does not provide similar user experience

mzbroch avatar Dec 05 '22 15:12 mzbroch

Please look at this comment: https://github.com/networktocode/netutils/issues/37#issuecomment-898090634

itdependsnetworks avatar Dec 13 '22 15:12 itdependsnetworks