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/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 ++++++ 5 files changed, 26 insertions(+) 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 (limited to 'templates/protocols/ospf/parameters') 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