diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 10:36:57 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 10:36:57 -0700 |
commit | 634d7bdda75a7dcfec400be705be7b41179cd6a0 (patch) | |
tree | b441d7dfa2879dc922fa2f07f52424f69eacc7f9 /templates | |
parent | 49170f6676d2779a38bbaff61ba27f1ccaa5b444 (diff) | |
download | vyatta-cfg-quagga-634d7bdda75a7dcfec400be705be7b41179cd6a0.tar.gz vyatta-cfg-quagga-634d7bdda75a7dcfec400be705be7b41179cd6a0.zip |
bonding vif val_help
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.def b/templates/interfaces/bonding/node.tag/vif/node.def index a9cc2bfa..b9b544a2 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.def @@ -3,6 +3,8 @@ priority: 320 type: u32 help: Virtual Local Area Network (VLAN) ID syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 and 4094" +val_help:<0-4094>:VLAN ID + create: read -a SLAVES </sys/class/net/$VAR(../@)/bonding/slaves if [ ${#SLAVES[*]} -eq 0 ]; then echo "Must configure slave devices for bond interface $VAR(../@) before adding vif" @@ -12,5 +14,3 @@ create: read -a SLAVES </sys/class/net/$VAR(../@)/bonding/slaves ip link set "$VAR(../@).$VAR(@)" up sudo sh -c "/opt/vyatta/sbin/vyatta-link-detect $VAR(../@).$VAR(@) on" delete: ip link delete dev "$VAR(../@).$VAR(@)" type vlan id $VAR(@) -comp_help: possible completions: - <0-4094> Set VLAN ID |