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