From 0f0f08bfc0c9e309f737840a566ab2e0e6e53248 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 5 Dec 2007 14:51:50 -0800 Subject: Rename "ospf ospf" to "ospf parameters" to be consistent with bgp. --- templates/protocols/ospf/ospf/abr-type/node.def | 8 -------- templates/protocols/ospf/ospf/node.def | 1 - templates/protocols/ospf/ospf/opaque-lsa/node.def | 6 ------ templates/protocols/ospf/ospf/rfc1583-compatibility/node.def | 5 ----- templates/protocols/ospf/ospf/router-id/node.def | 6 ------ templates/protocols/ospf/parameters/abr-type/node.def | 8 ++++++++ templates/protocols/ospf/parameters/node.def | 1 + templates/protocols/ospf/parameters/opaque-lsa/node.def | 6 ++++++ .../protocols/ospf/parameters/rfc1583-compatibility/node.def | 5 +++++ templates/protocols/ospf/parameters/router-id/node.def | 6 ++++++ 10 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 templates/protocols/ospf/ospf/abr-type/node.def delete mode 100644 templates/protocols/ospf/ospf/node.def delete mode 100644 templates/protocols/ospf/ospf/opaque-lsa/node.def delete mode 100644 templates/protocols/ospf/ospf/rfc1583-compatibility/node.def delete mode 100644 templates/protocols/ospf/ospf/router-id/node.def create mode 100644 templates/protocols/ospf/parameters/abr-type/node.def create mode 100644 templates/protocols/ospf/parameters/node.def create mode 100644 templates/protocols/ospf/parameters/opaque-lsa/node.def create mode 100644 templates/protocols/ospf/parameters/rfc1583-compatibility/node.def create mode 100644 templates/protocols/ospf/parameters/router-id/node.def diff --git a/templates/protocols/ospf/ospf/abr-type/node.def b/templates/protocols/ospf/ospf/abr-type/node.def deleted file mode 100644 index d9c5e8a1..00000000 --- a/templates/protocols/ospf/ospf/abr-type/node.def +++ /dev/null @@ -1,8 +0,0 @@ -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/ospf/node.def b/templates/protocols/ospf/ospf/node.def deleted file mode 100644 index 95934f6e..00000000 --- a/templates/protocols/ospf/ospf/node.def +++ /dev/null @@ -1 +0,0 @@ -help: "OSPF specific commands" diff --git a/templates/protocols/ospf/ospf/opaque-lsa/node.def b/templates/protocols/ospf/ospf/opaque-lsa/node.def deleted file mode 100644 index 5c530050..00000000 --- a/templates/protocols/ospf/ospf/opaque-lsa/node.def +++ /dev/null @@ -1,6 +0,0 @@ -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/ospf/rfc1583-compatibility/node.def b/templates/protocols/ospf/ospf/rfc1583-compatibility/node.def deleted file mode 100644 index 0eb018e9..00000000 --- a/templates/protocols/ospf/ospf/rfc1583-compatibility/node.def +++ /dev/null @@ -1,5 +0,0 @@ -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/ospf/router-id/node.def b/templates/protocols/ospf/ospf/router-id/node.def deleted file mode 100644 index e37ba0ee..00000000 --- a/templates/protocols/ospf/ospf/router-id/node.def +++ /dev/null @@ -1,6 +0,0 @@ -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 \" " 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 \" " -- cgit v1.2.3