From d3366af025f4698801c0a51cdd9bbb88fea83ea0 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 20 Jul 2010 10:04:41 -0700 Subject: Convert interface templates to use val_help: --- interface-templates/ip/ospf/bandwidth/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-templates/ip/ospf/bandwidth/node.def') diff --git a/interface-templates/ip/ospf/bandwidth/node.def b/interface-templates/ip/ospf/bandwidth/node.def index 64c3801d..9de76350 100644 --- a/interface-templates/ip/ospf/bandwidth/node.def +++ b/interface-templates/ip/ospf/bandwidth/node.def @@ -1,7 +1,7 @@ type: u32 -help: Set bandwidth for specified interface (kilobits/sec) +help: Bandwidth of interface (kilobits/sec) syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 10000000; "Must be between 1-10000000" +val_help: u32:1-10000000; Bandwidth in kilobits/sec (for calculating OSPF cost) + update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "bandwidth $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "no bandwidth" -comp_help: possible completions: - <1-10000000> Set bandwidth in kilobits/sec (for calculating OSPF cost) -- cgit v1.2.3