Commit Graph

8 Commits

Author SHA1 Message Date
Findlay Feng 7da6cb31d1
proto-bonding: Modify ipaddr as optional
The configuration of ipaddr in proto-bonding is not necessary,
such as adding the bond interface to the bridge or
performing pppoe dialing on the bond interface, etc.

Signed-off-by: Findlay Feng <i@fengch.me>
2024-03-29 21:16:05 +08:00
Vladislav Grigoryev 4f4722e36f bonding: use shorter interface prefix
Change the interface protocol prefix from "bonding-" to "bond-".
This allows longer custom interface names and useful for VLANs.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2021-08-24 00:17:15 +03:00
DENG Qingfang e52f635c36 bonding: allow xmit_hash_policy in 802.3ad mode
Allow the transmit hash policy to be changed in 802.3ad mode.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
2021-07-16 16:28:51 +08:00
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
Deng Qingfang 17496030e2 treewide: add missing PKGARCH:=all to non-binary packages
Packages such as Perl, Lua, shell scripts don't generate binary files.
Add PKGARCH:=all to them.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-03-30 17:11:50 +08: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