diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-27 12:30:10 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-27 12:37:50 -0700 |
commit | bdbd1c9b842ad5931b33a1ccf483354a59ce8dab (patch) | |
tree | 3b15b3bf0cc65dbfae369726e1d4627a74bc1b6f /templates | |
parent | be441212b4e726b37ac74f7889ea40ac29679c11 (diff) | |
download | vyatta-cfg-system-bdbd1c9b842ad5931b33a1ccf483354a59ce8dab.tar.gz vyatta-cfg-system-bdbd1c9b842ad5931b33a1ccf483354a59ce8dab.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
Diffstat (limited to 'templates')
-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) |