summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/timers/throttle/spf
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-09 12:04:39 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-09 12:04:39 -0700
commitc9b4583f38f4bc7fedef6f05d31ef7ea2020473a (patch)
tree90e329b103b904144fef2f1eea2e6cb620ab215c /templates/protocols/ospf/timers/throttle/spf
parentd26b9a2c82d8df98211d2362a3b235f8420eb0d1 (diff)
parent67c9ab299d135e8866e81868843197dd3aa78d02 (diff)
downloadvyatta-cfg-quagga-c9b4583f38f4bc7fedef6f05d31ef7ea2020473a.tar.gz
vyatta-cfg-quagga-c9b4583f38f4bc7fedef6f05d31ef7ea2020473a.zip
Merge branch 'glendale' into hollywood
Diffstat (limited to 'templates/protocols/ospf/timers/throttle/spf')
-rw-r--r--templates/protocols/ospf/timers/throttle/spf/node.def24
1 files changed, 11 insertions, 13 deletions
diff --git a/templates/protocols/ospf/timers/throttle/spf/node.def b/templates/protocols/ospf/timers/throttle/spf/node.def
index d94698ea..9f68167c 100644
--- a/templates/protocols/ospf/timers/throttle/spf/node.def
+++ b/templates/protocols/ospf/timers/throttle/spf/node.def
@@ -1,14 +1,12 @@
help: OSPF SPF timers
-delete:expression: "touch /tmp/ospf-timer.$PPID"
-end:expression: "\
- if [ -f \"/tmp/ospf-timer.$PPID\" ]; then \
- ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
- -c \"router ospf\" \
- -c \"no timers throttle spf\"; \
- rm /tmp/ospf-timer.$PPID; \
- else \
- ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
- -c \"router ospf\" \
- -c \"timers throttle spf $VAR(delay/@) \
- $VAR(initial-holdtime/@) $VAR(max-holdtime/@)\"; \
- fi; "
+delete: touch /tmp/ospf-timer.$PPID
+end: if [ -f "/tmp/ospf-timer.$PPID" ]; then
+ ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "router ospf" \
+ -c "no timers throttle spf";
+ rm /tmp/ospf-timer.$PPID;
+ else
+ ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "router ospf" \
+ -c "timers throttle spf $VAR(delay/@) $VAR(initial-holdtime/@) $VAR(max-holdtime/@)";
+ fi;