summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/parameters
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2007-12-05 14:51:50 -0800
committerStig Thormodsrud <stig@vyatta.com>2007-12-05 14:51:50 -0800
commit0f0f08bfc0c9e309f737840a566ab2e0e6e53248 (patch)
tree01c89e471f3d86c97c3f308f1538abec69a1851e /templates/protocols/ospf/parameters
parentb9300368b92c8b946894d66beef89fedd0e8720d (diff)
downloadvyatta-cfg-quagga-0f0f08bfc0c9e309f737840a566ab2e0e6e53248.tar.gz
vyatta-cfg-quagga-0f0f08bfc0c9e309f737840a566ab2e0e6e53248.zip
Rename "ospf ospf" to "ospf parameters" to be consistent with bgp.
Diffstat (limited to 'templates/protocols/ospf/parameters')
-rw-r--r--templates/protocols/ospf/parameters/abr-type/node.def8
-rw-r--r--templates/protocols/ospf/parameters/node.def1
-rw-r--r--templates/protocols/ospf/parameters/opaque-lsa/node.def6
-rw-r--r--templates/protocols/ospf/parameters/rfc1583-compatibility/node.def5
-rw-r--r--templates/protocols/ospf/parameters/router-id/node.def6
5 files changed, 26 insertions, 0 deletions
diff --git a/templates/protocols/ospf/parameters/abr-type/node.def b/templates/protocols/ospf/parameters/abr-type/node.def
new file mode 100644
index 00000000..d9c5e8a1
--- /dev/null
+++ b/templates/protocols/ospf/parameters/abr-type/node.def
@@ -0,0 +1,8 @@
+type: txt
+help: "Set OSPF ABR type"
+default: "cisco"
+syntax: $(@) in "cisco", "ibm", "shortcut", "standard"; "Must be (cisco, ibm, shortcut, standard)"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"ospf abr-type $(@)\"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no ospf abr-type $(@)\"; "
diff --git a/templates/protocols/ospf/parameters/node.def b/templates/protocols/ospf/parameters/node.def
new file mode 100644
index 00000000..95934f6e
--- /dev/null
+++ b/templates/protocols/ospf/parameters/node.def
@@ -0,0 +1 @@
+help: "OSPF specific commands"
diff --git a/templates/protocols/ospf/parameters/opaque-lsa/node.def b/templates/protocols/ospf/parameters/opaque-lsa/node.def
new file mode 100644
index 00000000..5c530050
--- /dev/null
+++ b/templates/protocols/ospf/parameters/opaque-lsa/node.def
@@ -0,0 +1,6 @@
+help: "Enable the Opaque-LSA capability (rfc2370)"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"ospf opaque-lsa \"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no ospf opaque-lsa \"; "
+
diff --git a/templates/protocols/ospf/parameters/rfc1583-compatibility/node.def b/templates/protocols/ospf/parameters/rfc1583-compatibility/node.def
new file mode 100644
index 00000000..0eb018e9
--- /dev/null
+++ b/templates/protocols/ospf/parameters/rfc1583-compatibility/node.def
@@ -0,0 +1,5 @@
+help: "Enable rfc1583 criteria for handling AS external routes"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"ospf rfc1583compatibility \"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no ospf rfc1583compatibility \"; "
diff --git a/templates/protocols/ospf/parameters/router-id/node.def b/templates/protocols/ospf/parameters/router-id/node.def
new file mode 100644
index 00000000..e37ba0ee
--- /dev/null
+++ b/templates/protocols/ospf/parameters/router-id/node.def
@@ -0,0 +1,6 @@
+type: ipv4
+help: "Override the default router identifier"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"ospf router-id $(@)\" "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no ospf router-id \" "