summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/mpls-te
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-11-13 20:45:58 -0800
committerStig Thormodsrud <stig@uffda.(none)>2007-11-13 20:45:58 -0800
commit1a9535e68042f67087cd400523dc42103292c2fe (patch)
treea3650a1c5a90def61a7b1e49ed830727d757cbcb /templates/protocols/ospf/mpls-te
parent34441a9917ce16db0e48fc8d44ecd0ee4debaa34 (diff)
downloadvyatta-cfg-quagga-1a9535e68042f67087cd400523dc42103292c2fe.tar.gz
vyatta-cfg-quagga-1a9535e68042f67087cd400523dc42103292c2fe.zip
Add yet more OSPF configuration.
Diffstat (limited to 'templates/protocols/ospf/mpls-te')
-rw-r--r--templates/protocols/ospf/mpls-te/enable/node.def5
-rw-r--r--templates/protocols/ospf/mpls-te/node.def1
-rw-r--r--templates/protocols/ospf/mpls-te/router-address/node.def6
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/protocols/ospf/mpls-te/enable/node.def b/templates/protocols/ospf/mpls-te/enable/node.def
new file mode 100644
index 00000000..f1401956
--- /dev/null
+++ b/templates/protocols/ospf/mpls-te/enable/node.def
@@ -0,0 +1,5 @@
+help: "Enable the MPLS-TE functionality"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"mpls-te on\"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no mpls-te\"; "
diff --git a/templates/protocols/ospf/mpls-te/node.def b/templates/protocols/ospf/mpls-te/node.def
new file mode 100644
index 00000000..997d3406
--- /dev/null
+++ b/templates/protocols/ospf/mpls-te/node.def
@@ -0,0 +1 @@
+help: "Configure MPLS-TE parameters"
diff --git a/templates/protocols/ospf/mpls-te/router-address/node.def b/templates/protocols/ospf/mpls-te/router-address/node.def
new file mode 100644
index 00000000..4102dfd1
--- /dev/null
+++ b/templates/protocols/ospf/mpls-te/router-address/node.def
@@ -0,0 +1,6 @@
+type: ipv4
+help: "Stable IP address of the advertising router"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"mpls-te router-address $(@)\"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no mpls-te\"; "