summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/timers/throttle/spf/node.def
blob: 9f68167c05757ad141d570faef71c24093358aee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
help: OSPF SPF timers
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;