summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/passive-interface/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 12:07:29 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 12:07:29 -0700
commitbaa0d50c299c06ad5027f730d7a63e8eec6bef43 (patch)
tree4cd709395e5e23d69990f93ac27b5095e0d509a5 /templates/protocols/ospf/passive-interface/node.def
parent69c3c53afee2f975b5c631d19dfd150caaf4b861 (diff)
downloadvyatta-cfg-quagga-baa0d50c299c06ad5027f730d7a63e8eec6bef43.tar.gz
vyatta-cfg-quagga-baa0d50c299c06ad5027f730d7a63e8eec6bef43.zip
Convert Quagga templates to use val_help:
Diffstat (limited to 'templates/protocols/ospf/passive-interface/node.def')
-rw-r--r--templates/protocols/ospf/passive-interface/node.def9
1 files changed, 2 insertions, 7 deletions
diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def
index bd66993e..95794e51 100644
--- a/templates/protocols/ospf/passive-interface/node.def
+++ b/templates/protocols/ospf/passive-interface/node.def
@@ -1,10 +1,9 @@
multi:
type: txt
help: Set to suppress routing updates on an interface
-
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default
-
-
+val_help:<interface>; Interface to be passive (i.e. suppress routing updates)
+val_help:default; Default to suppress routing updates on all interfaces
create: sudo /opt/vyatta/sbin/vyatta_quagga_utils.pl \
--check-ospf-passive="$VAR(@)"
@@ -39,7 +38,3 @@ delete: if [ -z $VAR(@) ]
-c "router ospf" \
-c "no passive-interface $VAR(@)"
fi
-
-comp_help: possible completions:
- <interface> Set an interface to be passive (i.e. suppress routing updates)
- default Set default to suppress routing updates on all interfaces