From 8b7039ad00e796186e5a2307a08ea2b9dbb65b56 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 27 Jul 2009 12:30:10 -0700 Subject: Remove slaves before changing mode Since kernel driver does not handle mode changes properly. Workaround by removing slaves (and readding) before changing mode. Bug 4758 --- templates/interfaces/bonding/node.tag/mode/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/interfaces') diff --git a/templates/interfaces/bonding/node.tag/mode/node.def b/templates/interfaces/bonding/node.tag/mode/node.def index 4551ee47..bf8a1a8c 100644 --- a/templates/interfaces/bonding/node.tag/mode/node.def +++ b/templates/interfaces/bonding/node.tag/mode/node.def @@ -8,7 +8,7 @@ syntax:expression: $VAR(@) in \ "mode must be 802.3ad, active-backup, broadcast, round-robin, \ transmit-load-balance, adaptive-load-balance, or xor" help: Sets the bonding mode -update: sudo ${vyatta_sbindir}/vyatta-bonding.pl --set-mode $VAR(../@) $VAR(@) +update: sudo ${vyatta_sbindir}/vyatta-bonding.pl --dev=$VAR(../@) --mode=$VAR(@) comp_help: Possible bonding mode 802.3ad IEEE 802.3ad Dynamic link aggregation (Default) -- cgit v1.2.3