summaryrefslogtreecommitdiff
path: root/templates/interfaces/loopback
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-13 14:57:46 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-13 14:57:46 -0800
commitf5f8f70341e08a3c972c90cd52a1f1ef8fdd0495 (patch)
tree0830ff9f7ad4d786e5753be1703f134648a0cfda /templates/interfaces/loopback
parent026280d9c1dd53425fc43b8945700d92c6fc2f0c (diff)
downloadvyatta-cfg-quagga-f5f8f70341e08a3c972c90cd52a1f1ef8fdd0495.tar.gz
vyatta-cfg-quagga-f5f8f70341e08a3c972c90cd52a1f1ef8fdd0495.zip
Duplicate quagga "interface ip ospf" tree for tunnel and vif interfaces.
Need to figure out a better way of doing this...
Diffstat (limited to 'templates/interfaces/loopback')
-rw-r--r--templates/interfaces/loopback/node.tag/ip/ospf/network/node.def22
1 files changed, 16 insertions, 6 deletions
diff --git a/templates/interfaces/loopback/node.tag/ip/ospf/network/node.def b/templates/interfaces/loopback/node.tag/ip/ospf/network/node.def
index 4b31e756..7b8aacf2 100644
--- a/templates/interfaces/loopback/node.tag/ip/ospf/network/node.def
+++ b/templates/interfaces/loopback/node.tag/ip/ospf/network/node.def
@@ -1,8 +1,18 @@
type: txt
help: Network type
-syntax:expression: $VAR(@) in "broadcast", "non-broadcast", "point-to-multipoint", "point-to-point"; "Must be (broadcast|non-broadcast|point-to-multipoint|point-to-point)"
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \
- -c \"ip ospf network $VAR(@)\"; "
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \
- -c \"no ip ospf network \"; "
-comp_help: Enter the network type (broadcast|non-broadcast|point-to-multipoint|point-to-point)
+syntax:expression: $VAR(@) in "broadcast", "non-broadcast", "point-to-multipoint", "point-to-point"; \
+ "Must be (broadcast|non-broadcast|point-to-multipoint|point-to-point)"
+
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
+ -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \
+ -c \"ip ospf network $VAR(@) \"; "
+
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
+ -c \"configure terminal\" -c \"interface $VAR(../../../@)\" \
+ -c \"no ip ospf network \"; "
+
+comp_help: possible completions:
+ broadcast Set broadcast network type
+ non-broadcast Set non-broadcast network type
+ point-to-multipoint Set point-to-multipoint network type
+ point-to-point Set point-to-point network type