diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 10:04:41 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 10:04:41 -0700 |
commit | d3366af025f4698801c0a51cdd9bbb88fea83ea0 (patch) | |
tree | 1c024f0880aef57c54a465e1f814037560dfecbd /interface-templates/ipv6/ospfv3 | |
parent | 00dce23d0a216a5f2c1a20dd21aec66d954d6963 (diff) | |
download | vyatta-cfg-quagga-d3366af025f4698801c0a51cdd9bbb88fea83ea0.tar.gz vyatta-cfg-quagga-d3366af025f4698801c0a51cdd9bbb88fea83ea0.zip |
Convert interface templates to use val_help:
Diffstat (limited to 'interface-templates/ipv6/ospfv3')
10 files changed, 27 insertions, 26 deletions
diff --git a/interface-templates/ipv6/ospfv3/cost/node.def b/interface-templates/ipv6/ospfv3/cost/node.def index 556f0d06..be2335a0 100644 --- a/interface-templates/ipv6/ospfv3/cost/node.def +++ b/interface-templates/ipv6/ospfv3/cost/node.def @@ -1,7 +1,8 @@ type: u32 -help: Set interface cost +help: Interface cost default: 1 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +val_help: u32:1-65535; OSPFv3 cost + update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 cost $VAR(@)" -comp_help: possible completions: - <1-65535> Set cost + diff --git a/interface-templates/ipv6/ospfv3/dead-interval/node.def b/interface-templates/ipv6/ospfv3/dead-interval/node.def index 66577760..37a44b64 100644 --- a/interface-templates/ipv6/ospfv3/dead-interval/node.def +++ b/interface-templates/ipv6/ospfv3/dead-interval/node.def @@ -1,10 +1,10 @@ type: u32 -help: Set interval after which a neighbor is declared dead +help: Interval after which neighbor is declared dead default: 40 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +val_help: u32:1-65535; Neighbor dead interval in seconds (default 40) + update: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 dead-interval $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 dead-interval 40" -comp_help: possible completions: - <1-65535> Seconds (default 40) diff --git a/interface-templates/ipv6/ospfv3/hello-interval/node.def b/interface-templates/ipv6/ospfv3/hello-interval/node.def index 5e74cfb5..f81ac5e4 100644 --- a/interface-templates/ipv6/ospfv3/hello-interval/node.def +++ b/interface-templates/ipv6/ospfv3/hello-interval/node.def @@ -1,10 +1,10 @@ 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 OSPFv3 hello packets in seconds (default 10) + update: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 hello-interval $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 hello-interval 10" -comp_help: possible completions: - <1-65535> Seconds (default 10) diff --git a/interface-templates/ipv6/ospfv3/ifmtu/node.def b/interface-templates/ipv6/ospfv3/ifmtu/node.def index 5c2939da..18d6d515 100644 --- a/interface-templates/ipv6/ospfv3/ifmtu/node.def +++ b/interface-templates/ipv6/ospfv3/ifmtu/node.def @@ -1,7 +1,7 @@ type: u32 -help: Set interface MTU +help: Interface MTU syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +val_help: u32:1-65535; Interface MTU + update: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 ifmtu $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 ifmtu" -comp_help: possible completions: - <1-65535> Set interface MTU 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) diff --git a/interface-templates/ipv6/ospfv3/node.def b/interface-templates/ipv6/ospfv3/node.def index 05014493..43905a53 100644 --- a/interface-templates/ipv6/ospfv3/node.def +++ b/interface-templates/ipv6/ospfv3/node.def @@ -1 +1 @@ -help: Set IPv6 Open Shortest Path First (OSPFv3) parameters for specified interface +help: IPv6 Open Shortest Path First (OSPFv3) diff --git a/interface-templates/ipv6/ospfv3/passive/node.def b/interface-templates/ipv6/ospfv3/passive/node.def index 7c3ff0b5..b4665b34 100644 --- a/interface-templates/ipv6/ospfv3/passive/node.def +++ b/interface-templates/ipv6/ospfv3/passive/node.def @@ -1,3 +1,3 @@ -help: Disable forming of adjacency on this interface +help: Disable forming of adjacency create: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 passive" delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 passive" diff --git a/interface-templates/ipv6/ospfv3/priority/node.def b/interface-templates/ipv6/ospfv3/priority/node.def index 79532542..61f7c9be 100644 --- a/interface-templates/ipv6/ospfv3/priority/node.def +++ b/interface-templates/ipv6/ospfv3/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 "ipv6 ospf6 priority $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 priority 1" -comp_help: possible completions: - <0-255> Priority (default 1) diff --git a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def index f92a7800..3271bd50 100644 --- a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def +++ b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def @@ -1,10 +1,10 @@ type: u32 -help: Set interval between retransmitting lost link state advertisements +help: Interval between retransmitting lost link state advertisements default: 5 syntax:expression: $VAR(@) >= 3 && $VAR(@) <= 65535; "Must be between 3-65535" +val_help: u32:3-65535; Retransmit interval in seconds (default 5) + update: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 retransmit-interval $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 retransmit-interval 5" -comp_help: possible completions: - <3-65535> Seconds (default 5) diff --git a/interface-templates/ipv6/ospfv3/transmit-delay/node.def b/interface-templates/ipv6/ospfv3/transmit-delay/node.def index ea89d87d..137e5a89 100644 --- a/interface-templates/ipv6/ospfv3/transmit-delay/node.def +++ b/interface-templates/ipv6/ospfv3/transmit-delay/node.def @@ -1,10 +1,10 @@ type: u32 -help: Set link state transmit delay +help: Link state transmit delay default: 1 syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535" +val_help: u32:1-65535; Link state transmit delay (default 1) + update: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 transmit-delay $VAR(@)" delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ipv6 ospf6 transmit-delay 1" -comp_help: possible completions: - <1-65535> Seconds (default 1) |