difos/package/base-files/files
Rafał Miłecki 43fc720657 base-files: generate "device" UCI type section for bridge
This switches from the old way of defining bridges in an "interface" UCI
section type (that should be used for layer 3 only). From now a defualt
board switch will have its own "device" UCI section type. It's a new &
preferred way of defining L2 devices.

Before:

config interface 'lan'
        option type 'bridge'
        option ifname 'lan1 lan2 lan3 lan4'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

After:

config device
        option name 'lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option ifname 'lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-05-18 20:07:51 +02:00
..
bin base-files: generate "device" UCI type section for bridge 2021-05-18 20:07:51 +02:00
etc base-files: shinit: properly handle dashes in service names 2021-05-12 12:44:32 +02:00
lib base-files: use "ports" array in board.json network for bridges 2021-05-18 12:30:16 +02:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: add logging for configuration import 2021-03-21 22:45:20 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00