summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/priority/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 10:04:41 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 10:04:41 -0700
commitd3366af025f4698801c0a51cdd9bbb88fea83ea0 (patch)
tree1c024f0880aef57c54a465e1f814037560dfecbd /interface-templates/ip/ospf/priority/node.def
parent00dce23d0a216a5f2c1a20dd21aec66d954d6963 (diff)
downloadvyatta-cfg-quagga-d3366af025f4698801c0a51cdd9bbb88fea83ea0.tar.gz
vyatta-cfg-quagga-d3366af025f4698801c0a51cdd9bbb88fea83ea0.zip
Convert interface templates to use val_help:
Diffstat (limited to 'interface-templates/ip/ospf/priority/node.def')
-rw-r--r--interface-templates/ip/ospf/priority/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-templates/ip/ospf/priority/node.def b/interface-templates/ip/ospf/priority/node.def
index bd59276c..f7f83d94 100644
--- a/interface-templates/ip/ospf/priority/node.def
+++ b/interface-templates/ip/ospf/priority/node.def
@@ -1,8 +1,8 @@
type: u32
-help: Set router priority
+help: Router priority
default: 1
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255"
+val_help: u32:0-255; Priority (default 1)
+
update:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip ospf priority $VAR(@)"
delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip ospf priority"
-comp_help: possible completions:
- <0-255> Priority (default 1)