summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/timers/throttle/spf/node.def
blob: 44d7449219cd24d9c5ab029e8380aaa0af45350d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
help: Set OSPF SPF timers
delete: touch /tmp/ospf-timer.$PPID
end: if [ -f "/tmp/ospf-timer.$PPID" ]; then
        vyatta-vtysh -c "configure terminal" \
          -c "router ospf"                                        \
          -c "no timers throttle spf";
        rm /tmp/ospf-timer.$PPID;
     else
        vyatta-vtysh -c "configure terminal" \
          -c "router ospf"                                        \
          -c "timers throttle spf $VAR(delay/@) $VAR(initial-holdtime/@) $VAR(max-holdtime/@)";
     fi;