summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-01-29 10:14:48 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-01-29 10:14:48 -0800
commitda1b14c17bd954f7a61289f8fdd9cdf35d698fb0 (patch)
tree1713992af31375ec6274530efdb047845cc46bf9 /templates
parentafa89d9b40a08c06a74d1de725830229276222e2 (diff)
downloadvyatta-cfg-da1b14c17bd954f7a61289f8fdd9cdf35d698fb0.tar.gz
vyatta-cfg-da1b14c17bd954f7a61289f8fdd9cdf35d698fb0.zip
add initialization support for vif and link-detect status via quagga.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def
index cd2eb0b..b7af406 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.def
@@ -5,6 +5,8 @@ syntax: $(@) >= 0 && $(@) <= 4095; "VLAN ID must be between 0 and 4095"
create: "sudo modprobe 8021q"; "Error loading 802.1q driver"
create: "sudo vconfig add $(../@) $(@)"; "Error adding VLAN id $(@) to dev $(../@)"
create: "sudo ip link set $(../@).$(@) up"; "Error enabling VLAN id $(@) on dev $(../@)"
+update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@).$(@)\" \
+ -c \"link-detect\"; "
delete: "sudo vconfig rem $(../@).$(@)"; "Error removing VLAN id $(@) from dev $(../@)"
#comp_help: possible completions:
# <0-4095> Set VLAN ID