gluon/package/gluon-core
lemoer 3ab880352e gluon-core: create interfaces for each "port" in /etc/config/gluon
This commit enables (migration-safe) role assignment for individual "lan"
and "wan" interfaces. This is helpful especially on devices with multiple
"lan" or "wan" interfaces (as they appear for devices with DSA support).

For interfaces in /lib/gluon/lan_ifname, we now create individual
entries in /etc/config/gluon using the "/lan[0]", "/lan[1]", ...
syntax (introduced in the last commit). Before this commit, all interfaces
were referenced in a single interface "/lan" in /etc/config/gluon.

The same is done for wan_ifname and single_ifname.

Migration strategy:

If new interfaces show up during gluon-reconfigure, the assigned roles
of prior existing interfaces in the same category will be applied to the
new interface.
2022-06-08 23:52:57 +02:00
..
files gluon-core: add post-setup.d .keep (#2525) 2022-05-20 18:59:37 +02:00
luasrc gluon-core: create interfaces for each "port" in /etc/config/gluon 2022-06-08 23:52:57 +02:00
src gluon-core: reimplement gluon.site module in C 2018-01-18 16:29:00 +01:00
check_site.lua gluon-core: initialize interfaces role configuration 2022-02-22 18:52:15 +01:00
Makefile gluon-core: remove obsolete config file 2022-01-23 14:44:07 +01:00