Feature Request on widget: Sort Interfaces by Drag&Drop or by IP-Subnets

Started by PhoenixRider, December 19, 2024, 03:53:21 PM

Previous topic - Next topic
On my OPNsense-Appliance are several Interfaces and my "problem" is, that die Interfaces are not sortet. The WAN-Interface is on the bottom, the LAN-Interface is on the top and my Management-LAN-Interface is under the LAN-Interface.

It would be very nice, if we can sort the Interfaces. I don't know about the possibility to code the Interface-Widget, but it would be awesome.

They are sorted. Alphabetically. As a workaround you can name them e.g.

I0_LAN
I1_MGMT
I2_WAN
...

HTH,
Patrick
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

No, the subnets will not be sorted alphabetically on my OPNsense. The named LAN-Subnet is under the Management-LAN-Subnet.

Which menu are you referring to? In the Interfaces as well as the Firewall > Rules menu they are definitely sorted alphabetically.

Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


Quote from: Patrick M. Hausen on December 23, 2024, 08:30:19 PMWhich menu are you referring to? In the Interfaces as well as the Firewall > Rules menu they are definitely sorted alphabetically.

The widget "interfaces" on the dashboard is meant.
Interface and Firewall -> Rules is in alphabetical order. Also on Interfaces -> Assignments.
But the order on the Dashboard -> interface widget is sorted alphabetically according to the identifier as opt1, opt2, lan, wan.
See the following screenshots as an example (AA_int should be on top if the order is alphabetically).



Ah ... sorry, I didn't catch that. For me it seems like they are sorted by some combination of device name and/or subnet:

  • LAN - vlan01 - 192.168.1.0/24
  • SRV - vlan02 - 192.168.2.0/24
  • WIN - vlan03 - 192.168.3.0/24
  • ...

So that is probably worth a feature request. Feature requests can be made by opening an issue on github.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)