summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/parameters
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-02 15:55:30 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-02 15:55:30 -0800
commit53057a160296792e2c0f1151f42aac5fcba0c760 (patch)
tree9156db61077e524e1c4dad41aae0c65f623f194a /templates/protocols/ospf/parameters
parentcd50a751d1480424cdf103fd748b514330029c24 (diff)
downloadvyatta-cfg-quagga-53057a160296792e2c0f1151f42aac5fcba0c760.tar.gz
vyatta-cfg-quagga-53057a160296792e2c0f1151f42aac5fcba0c760.zip
Add some comp_help strings to ospf cli
Diffstat (limited to 'templates/protocols/ospf/parameters')
-rw-r--r--templates/protocols/ospf/parameters/abr-type/node.def11
-rw-r--r--templates/protocols/ospf/parameters/router-id/node.def6
2 files changed, 13 insertions, 4 deletions
diff --git a/templates/protocols/ospf/parameters/abr-type/node.def b/templates/protocols/ospf/parameters/abr-type/node.def
index f61fbbc9..b81d798e 100644
--- a/templates/protocols/ospf/parameters/abr-type/node.def
+++ b/templates/protocols/ospf/parameters/abr-type/node.def
@@ -2,7 +2,14 @@ type: txt
help: Set OSPF ABR type
default: "cisco"
syntax:expression: $VAR(@) in "cisco", "ibm", "shortcut", "standard"; "Must be (cisco, ibm, shortcut, standard)"
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
-c \"ospf abr-type $VAR(@)\"; "
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
-c \"no ospf abr-type $VAR(@)\"; "
+comp_help: possible completions:
+ cisco Set cisco ABR type (default)
+ ibm Set ibm ABR type
+ shortcut Set shortcut ABR type
+ standard Set standard ABR type
diff --git a/templates/protocols/ospf/parameters/router-id/node.def b/templates/protocols/ospf/parameters/router-id/node.def
index 77ceeaa3..a2036004 100644
--- a/templates/protocols/ospf/parameters/router-id/node.def
+++ b/templates/protocols/ospf/parameters/router-id/node.def
@@ -1,6 +1,8 @@
type: ipv4
help: Override the default router identifier
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
-c \"ospf router-id $VAR(@)\" "
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
-c \"no ospf router-id \" "