summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-01 14:52:10 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-01 14:52:10 -0800
commit3f1b6632881ae26c23b96e76adb8991201e87c60 (patch)
tree384ffd979799f06ff7ddaaa5888d8045110fc3f2 /templates
parentb61e0b65f274f22df48983e17f799fa396227ba0 (diff)
downloadvyatta-cfg-quagga-3f1b6632881ae26c23b96e76adb8991201e87c60.tar.gz
vyatta-cfg-quagga-3f1b6632881ae26c23b96e76adb8991201e87c60.zip
Add correct help for bonding modes
Template did not match available bonding modes
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