blob: 54e39d0e9abd6e0846c369aed08c11684149f57d (
plain)
1
2
3
4
5
6
7
8
9
10
|
help: "OSPF SPF timers"
delete: "touch /tmp/ospf-timer.\\$PPID"
end: "if [ -f \"/tmp/ospf-timer.\\$PPID\" ]; then \
/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
-c \"no timers throttle spf\"; \
rm /tmp/ospf-timer.\\$PPID; \
else \
/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
-c \"timers throttle spf $(delay/@) $(initial-holdtime/@) $(max-holdtime/@)\"; \
fi; "
|