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/hello-interval/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-templates/ip/ospf/hello-interval') diff --git a/interface-templates/ip/ospf/hello-interval/node.def b/interface-templates/ip/ospf/hello-interval/node.def index 6b777b62..35cb00e2 100644 --- a/interface-templates/ip/ospf/hello-interval/node.def +++ b/interface-templates/ip/ospf/hello-interval/node.def @@ -1,8 +1,8 @@ type: u32 -help: Set interval between hello packets +help: Interval between hello packets default: 10 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +val_help: u32:1-65535; Interval between OSPF hello packets in seconds (default 10) + update:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip ospf hello-interval $VAR(@)" delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip ospf hello-interval" -comp_help: possible completions: - <1-65535> Seconds (default 10) -- cgit v1.2.3