you want to bridge two vlan or a port to vlan, like legacy switch configuration, but with DSA.
Right?
so i know this is a bridge layer 3.
a solution with relayd.
I don't know if you can bridge vlans with DSA. if you can, I would like to know
config device
option name 'ethernet4'
list ports 'ethernet4'
config interface 'lan'
option device 'ethernet4'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'br-internet'
option type 'bridge'
list ports 'ethernet1'
list ports 'internet'
config interface 'wan'
option proto 'none'
option device 'br-internet'
config interface 'bridgeWan' #bridge layer 3
option proto 'relay'
option ipaddr '192.168.x.x' #ip wan
list network 'wan'
list network 'lan'
SQM
config queue
option interface 'br-internet'
...