summaryrefslogtreecommitdiff
path: root/interface-templates/ipv6/ospfv3/dead-interval/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 14:15:44 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 14:15:44 -0700
commiteedd04171ff3c6017e52830e8e07ec437e1c6663 (patch)
tree2e6be92570d53c1e134c806e3de7e0477b11c017 /interface-templates/ipv6/ospfv3/dead-interval/node.def
parent82b2f6abc7b3b5e3164675c28a27506b39eeb9a7 (diff)
downloadvyatta-cfg-quagga-eedd04171ff3c6017e52830e8e07ec437e1c6663.tar.gz
vyatta-cfg-quagga-eedd04171ff3c6017e52830e8e07ec437e1c6663.zip
Generate interface templates as part of build
Rather than 100's of copies of the same template, use the same process as the firewall module to generate the templates. For this, the are meta-templates in interface-templates directory which get processed and $IFNAME is replaced by the appropriate CLI syntax to refer back to the directory name. Changing a quagga template in most cases can be done by fixing the meta-template.
Diffstat (limited to 'interface-templates/ipv6/ospfv3/dead-interval/node.def')
-rw-r--r--interface-templates/ipv6/ospfv3/dead-interval/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/interface-templates/ipv6/ospfv3/dead-interval/node.def b/interface-templates/ipv6/ospfv3/dead-interval/node.def
new file mode 100644
index 00000000..41c0e624
--- /dev/null
+++ b/interface-templates/ipv6/ospfv3/dead-interval/node.def
@@ -0,0 +1,10 @@
+type: u32
+help: Set interval after which a neighbor is declared dead
+default: 40
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
+update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ -c "ipv6 ospf6 dead-interval $VAR(@)"
+delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ -c "no ipv6 ospf6 dead-interval"
+comp_help: possible completions:
+ <1-65535> Seconds (default 40)