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/ipv6/ospfv3/instance-id/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-templates/ipv6/ospfv3/instance-id') diff --git a/interface-templates/ipv6/ospfv3/instance-id/node.def b/interface-templates/ipv6/ospfv3/instance-id/node.def index dfe4dade..7e87411e 100644 --- a/interface-templates/ipv6/ospfv3/instance-id/node.def +++ b/interface-templates/ipv6/ospfv3/instance-id/node.def @@ -1,8 +1,8 @@ type: u32 -help: Set instance-id for this interface +help: Instance-id default: 0 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" +val_help: u32:0-255; Instance Id (default 0) + update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id 0" -comp_help: possible completions: - <0-255> Instance Id (default 0) -- cgit v1.2.3