bonding: accept list of slaves in uci list notation 15379/head
authorJo-Philipp Wich <jo@mein.io>
Fri, 9 Apr 2021 16:52:15 +0000 (18:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 9 Apr 2021 16:56:50 +0000 (18:56 +0200)
commit57a77386de7dda12f60bf3021efcde7f059833c8
tree320ff9e6c925af8b12574d18f0fc68f34173d66d
parentd2f8d9c90ff93ac835db6e2da4421dcd60838dae
bonding: accept list of slaves in uci list notation

Rework the bonding.sh protocol handler to accept slave interface names
encoded in uci list notation. Also replace ifconfig up/down with ip
link calls while we're at it.

Fixes: #11455
Fixes: https://github.com/openwrt/luci/issues/4473
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
net/bonding/Makefile
net/bonding/files/lib/netifd/proto/bonding.sh