Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface Sorting Issue #176

Open
mzbroch opened this issue Dec 5, 2022 · 1 comment
Open

Interface Sorting Issue #176

mzbroch opened this issue Dec 5, 2022 · 1 comment
Assignees

Comments

@mzbroch
Copy link
Contributor

mzbroch commented Dec 5, 2022

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

@itdependsnetworks
Copy link
Contributor

Please look at this comment: #37 (comment)

@abates abates self-assigned this Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants