summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-05 10:20:48 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-05 10:20:48 -0800
commit9eedbaab59a69fa3d0701f54453836dd431df588 (patch)
treef433596549789cec589f65d96d810da41ad91174 /templates
parentac00a45bf62107853f9db6cdc637519f66487893 (diff)
parent7a4c90346cc1ba32c0d7f0235aa159997a7495b7 (diff)
downloadvyatta-cfg-quagga-9eedbaab59a69fa3d0701f54453836dd431df588.tar.gz
vyatta-cfg-quagga-9eedbaab59a69fa3d0701f54453836dd431df588.zip
Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-system into jenner
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/mode/node.def22
1 files changed, 13 insertions, 9 deletions
diff --git a/templates/interfaces/bonding/node.tag/mode/node.def b/templates/interfaces/bonding/node.tag/mode/node.def
index a059f615..4424e95c 100644
--- a/templates/interfaces/bonding/node.tag/mode/node.def
+++ b/templates/interfaces/bonding/node.tag/mode/node.def
@@ -1,14 +1,18 @@
type: txt
default: "802.3ad"
+allowed: echo 802.3ad active-backup broadcast round-robin \
+ transmit-load-balance adaptive-load-balance xor
syntax:expression: $VAR(@) in \
- "round-robin", "active-backup", "xor-hash","broadcast","802.3ad", \
- "transmit-load-balance", "adaptive-load-balance"
+ "802.3ad", "active-backup", "broadcast", "round-robin", \
+ "transmit-load-balance", "adaptive-load-balance", "xor-hash" ; \
+ "mode must be 802.3ad, active-backup, broadcast, round-robin, \
+transmit-load-balance, adaptive-load-balance, or xor"
help: Sets the bonding mode
comp_help: Possible bonding mode
-802.3ad IEEE 802.3ad Dynamic link aggregation (Default)
-active-backup Active-backup policy: Only one slave in the bond is active
-balance-alb Adaptive load balancing based on transmit and receive
-balance-rr Round-robin policy: Transmit packets in sequential order
-balance-tlb Adaptive transmit load balancing based on transmit speed
-balance-xor XOR policy: Transmit based on the selected transmit hash policy
-broadcast Broadcast policy: transmits everything on all slave interfaces
+802.3ad IEEE 802.3ad Dynamic link aggregation (Default)
+active-backup Fault tolerant: only one slave in the bond is active
+broadcast Fault tolerant: transmits everything on all slave interfaces
+round-robin Load balance: transmit packets in sequential order
+transmit-load-balance Load balance: adapts based on transmit load and speed
+adaptive-load-balance Load balance: adapts based on transmit and receive plus ARP
+xor Load balance: distribute based on MAC address