Open bimbar opened 2 weeks ago
I think the easiest option would be to add an optional field in Interfaces: Assignments
which accepts lan
,wan
, optXXX
and when not provided pick the first free one in the same order.
Which requires changes in
and a validation (check pattern and not used) around here:
Plus side would be that when you drop wan
and recreate without optional argument, it would also recreate wan
(which is currently not supported).
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Is your feature request related to a problem? Please describe.
There are two scenarios:
Describe the solution you like
On creating an interface, make it possible to either choose the interface id outright, or choose the number X in optX.
Describe alternatives you considered
Creating interfaces in the right order is possible, but especially in the case of non-contiguous numbering, which can happen if an interface is deleted later, this is not very convenient.
Additional context
Discussed it with franco: https://forum.opnsense.org/index.php?topic=40985.0;topicseen