diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-27 12:30:10 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-08-04 16:26:48 -0700 |
commit | 8b7039ad00e796186e5a2307a08ea2b9dbb65b56 (patch) | |
tree | 86318974b69370a069a984fb168a1472833924ac | |
parent | 7a29c2a85c29b7f945d2456871f42f92e3ea809f (diff) | |
download | vyatta-cfg-quagga-8b7039ad00e796186e5a2307a08ea2b9dbb65b56.tar.gz vyatta-cfg-quagga-8b7039ad00e796186e5a2307a08ea2b9dbb65b56.zip |
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
-rw-r--r-- | templates/interfaces/bonding/node.tag/mode/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
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) |