diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-02 15:55:30 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-02 15:55:30 -0800 |
commit | 53057a160296792e2c0f1151f42aac5fcba0c760 (patch) | |
tree | 9156db61077e524e1c4dad41aae0c65f623f194a /templates/protocols/ospf/timers | |
parent | cd50a751d1480424cdf103fd748b514330029c24 (diff) | |
download | vyatta-cfg-quagga-53057a160296792e2c0f1151f42aac5fcba0c760.tar.gz vyatta-cfg-quagga-53057a160296792e2c0f1151f42aac5fcba0c760.zip |
Add some comp_help strings to ospf cli
Diffstat (limited to 'templates/protocols/ospf/timers')
4 files changed, 17 insertions, 7 deletions
diff --git a/templates/protocols/ospf/timers/throttle/spf/delay/node.def b/templates/protocols/ospf/timers/throttle/spf/delay/node.def index cd7f8e1e..68bb270f 100644 --- a/templates/protocols/ospf/timers/throttle/spf/delay/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/delay/node.def @@ -2,3 +2,5 @@ type: u32 help: Delay (msec) from first change received till SPF calculation default: 200 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 600000; "must be between 0-600000" +comp_help: possible competions: + <0-600000> Set delay in msec (default 200) 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 63ce7d98..5054c9bd 100644 --- a/templates/protocols/ospf/timers/throttle/spf/initial-holdtime/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/initial-holdtime/node.def @@ -2,3 +2,5 @@ type: u32 help: Initial hold time(msec) between consecutive SPF calculations default: 1000 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 600000; "must be between 0-600000" +comp_help: possible completions: + <0-600000> Initial hold time in msec (default 1000) 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 0577b425..b9eb7748 100644 --- a/templates/protocols/ospf/timers/throttle/spf/max-holdtime/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/max-holdtime/node.def @@ -2,3 +2,5 @@ type: u32 help: Maximum hold time (msec) default: 10000 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 600000; "must be between 0-600000" +comp_help: possible completions: + <0-600000> Max hold time in msec (default 10000) diff --git a/templates/protocols/ospf/timers/throttle/spf/node.def b/templates/protocols/ospf/timers/throttle/spf/node.def index 86bb51b6..d94698ea 100644 --- a/templates/protocols/ospf/timers/throttle/spf/node.def +++ b/templates/protocols/ospf/timers/throttle/spf/node.def @@ -1,10 +1,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/@)\"; \ +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; " |