From 3f1b6632881ae26c23b96e76adb8991201e87c60 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 1 Dec 2008 14:52:10 -0800 Subject: Add correct help for bonding modes Template did not match available bonding modes --- .../interfaces/bonding/node.tag/mode/node.def | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'templates') 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 -- cgit v1.2.3