summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/parameters
diff options
context:
space:
mode:
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 \" "