Commit graph

4 commits

Author SHA1 Message Date
Jo-Philipp Wich
57a77386de 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>
2021-04-09 18:56:50 +02:00
Florian Eckert
b7e60a458b bonding: proto notify error definitions
Fix proto_notify_error usage. In this function only a definition shall
be returned, which will later appear in the ubus status output of the
interface and not a whole string.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-03-30 12:15:29 +02:00
Helge Mader
6655654467 bonding: add missing policies
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-03-03 11:28:43 +01:00
Helge Mader
7996908046 net/bonding: added protohandler package for netifd
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2018-07-18 13:01:00 +02:00