diff options
Diffstat (limited to 'templates/protocols/ospf/timers')
6 files changed, 15 insertions, 15 deletions
diff --git a/templates/protocols/ospf/timers/node.def b/templates/protocols/ospf/timers/node.def index d81f1b41..8c4873b2 100644 --- a/templates/protocols/ospf/timers/node.def +++ b/templates/protocols/ospf/timers/node.def @@ -1 +1 @@ -help: "Adjust routing timers" +help: Adjust routing timers diff --git a/templates/protocols/ospf/timers/throttle/node.def b/templates/protocols/ospf/timers/throttle/node.def index adac0fcb..0854aae8 100644 --- a/templates/protocols/ospf/timers/throttle/node.def +++ b/templates/protocols/ospf/timers/throttle/node.def @@ -1 +1 @@ -help: "Throttling adaptive timers" +help: Throttling adaptive timers diff --git a/templates/protocols/ospf/timers/throttle/spf/delay/node.def b/templates/protocols/ospf/timers/throttle/spf/delay/node.def index 28d24cee..cd7f8e1e 100644 --- a/templates/protocols/ospf/timers/throttle/spf/delay/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/delay/node.def @@ -1,4 +1,4 @@ type: u32 -help: "Delay (msec) from first change received till SPF calculation" +help: Delay (msec) from first change received till SPF calculation default: 200 -syntax: $(@) >= 0 && $(@) <= 600000; "must be between 0-600000" +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 600000; "must be between 0-600000" diff --git a/templates/protocols/ospf/timers/throttle/spf/initial-holdtime/node.def b/templates/protocols/ospf/timers/throttle/spf/initial-holdtime/node.def index a52b9b09..63ce7d98 100644 --- a/templates/protocols/ospf/timers/throttle/spf/initial-holdtime/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/initial-holdtime/node.def @@ -1,4 +1,4 @@ type: u32 -help: "Initial hold time(msec) between consecutive SPF calculations" +help: Initial hold time(msec) between consecutive SPF calculations default: 1000 -syntax: $(@) >= 0 && $(@) <= 600000; "must be between 0-600000" +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 600000; "must be between 0-600000" diff --git a/templates/protocols/ospf/timers/throttle/spf/max-holdtime/node.def b/templates/protocols/ospf/timers/throttle/spf/max-holdtime/node.def index fd5d6332..0577b425 100644 --- a/templates/protocols/ospf/timers/throttle/spf/max-holdtime/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/max-holdtime/node.def @@ -1,4 +1,4 @@ type: u32 -help: "Maximum hold time (msec)" +help: Maximum hold time (msec) default: 10000 -syntax: $(@) >= 0 && $(@) <= 600000; "must be between 0-600000" +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 600000; "must be between 0-600000" diff --git a/templates/protocols/ospf/timers/throttle/spf/node.def b/templates/protocols/ospf/timers/throttle/spf/node.def index 8478376a..86bb51b6 100644 --- a/templates/protocols/ospf/timers/throttle/spf/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/node.def @@ -1,10 +1,10 @@ -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\" \ +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; \ + rm /tmp/ospf-timer.$PPID; \ else \ - \\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ - -c \"timers throttle spf $(delay/@) $(initial-holdtime/@) $(max-holdtime/@)\"; \ + ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ + -c \"timers throttle spf $VAR(delay/@) $VAR(initial-holdtime/@) $VAR(max-holdtime/@)\"; \ fi; " |