summaryrefslogtreecommitdiff
path: root/templates/protocols/static
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 12:07:29 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 12:07:29 -0700
commitbaa0d50c299c06ad5027f730d7a63e8eec6bef43 (patch)
tree4cd709395e5e23d69990f93ac27b5095e0d509a5 /templates/protocols/static
parent69c3c53afee2f975b5c631d19dfd150caaf4b861 (diff)
downloadvyatta-cfg-quagga-baa0d50c299c06ad5027f730d7a63e8eec6bef43.tar.gz
vyatta-cfg-quagga-baa0d50c299c06ad5027f730d7a63e8eec6bef43.zip
Convert Quagga templates to use val_help:
Diffstat (limited to 'templates/protocols/static')
-rw-r--r--templates/protocols/static/arp/node.def12
-rw-r--r--templates/protocols/static/arp/node.tag/hwaddr/node.def4
-rw-r--r--templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def2
-rw-r--r--templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.tag/distance/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/distance/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def2
-rw-r--r--templates/protocols/static/route6/node.tag/blackhole/distance/node.def2
-rw-r--r--templates/protocols/static/route6/node.tag/next-hop/node.tag/distance/node.def2
8 files changed, 8 insertions, 20 deletions
diff --git a/templates/protocols/static/arp/node.def b/templates/protocols/static/arp/node.def
index a7905c57..69b45a4f 100644
--- a/templates/protocols/static/arp/node.def
+++ b/templates/protocols/static/arp/node.def
@@ -1,17 +1,7 @@
-#
-# Vyatta configuration template for protocols.static.arp
-#
-# Author: Bob Gilligan (gilligan@vyatta.com)
-#
-
tag:
-
type: ipv4
-
help: Set a static ARP translation
-
-comp_help: Possible completions:
- <ipv4>\tIPv4 destination address
+val_help: IPv4 destination address
#
# All the work is done here in the "end:" tag. There are four possible cases:
diff --git a/templates/protocols/static/arp/node.tag/hwaddr/node.def b/templates/protocols/static/arp/node.tag/hwaddr/node.def
index a6677795..daa9a6a7 100644
--- a/templates/protocols/static/arp/node.tag/hwaddr/node.def
+++ b/templates/protocols/static/arp/node.tag/hwaddr/node.def
@@ -1,7 +1,5 @@
type: macaddr
-
help: Set hardware protocol (e.g. MAC) address to translate to
+val_help: Hardware (MAC) address
-comp_help: Possible completions:
- <macaddr>\tHardware protocol (e.g. MAC) address to translate to
diff --git a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def
index 08a06ad8..9b72a0c7 100644
--- a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def
+++ b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def
@@ -1,4 +1,4 @@
type: u32
help: Set distance value for this route
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between (1-255)"
-comp_help: <1-255> Distance for this route
+val_help: u32:1-255; Distance for this route
diff --git a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.tag/distance/node.def b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.tag/distance/node.def
index 08a06ad8..9b72a0c7 100644
--- a/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.tag/distance/node.def
+++ b/templates/protocols/static/interface-route6/node.tag/next-hop-interface/node.tag/distance/node.def
@@ -1,4 +1,4 @@
type: u32
help: Set distance value for this route
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between (1-255)"
-comp_help: <1-255> Distance for this route
+val_help: u32:1-255; Distance for this route
diff --git a/templates/protocols/static/route/node.tag/blackhole/distance/node.def b/templates/protocols/static/route/node.tag/blackhole/distance/node.def
index 08a06ad8..9b72a0c7 100644
--- a/templates/protocols/static/route/node.tag/blackhole/distance/node.def
+++ b/templates/protocols/static/route/node.tag/blackhole/distance/node.def
@@ -1,4 +1,4 @@
type: u32
help: Set distance value for this route
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between (1-255)"
-comp_help: <1-255> Distance for this route
+val_help: u32:1-255; Distance for this route
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def b/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def
index 08a06ad8..9b72a0c7 100644
--- a/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def
+++ b/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def
@@ -1,4 +1,4 @@
type: u32
help: Set distance value for this route
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between (1-255)"
-comp_help: <1-255> Distance for this route
+val_help: u32:1-255; Distance for this route
diff --git a/templates/protocols/static/route6/node.tag/blackhole/distance/node.def b/templates/protocols/static/route6/node.tag/blackhole/distance/node.def
index 08a06ad8..9b72a0c7 100644
--- a/templates/protocols/static/route6/node.tag/blackhole/distance/node.def
+++ b/templates/protocols/static/route6/node.tag/blackhole/distance/node.def
@@ -1,4 +1,4 @@
type: u32
help: Set distance value for this route
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between (1-255)"
-comp_help: <1-255> Distance for this route
+val_help: u32:1-255; Distance for this route
diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.tag/distance/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.tag/distance/node.def
index 08a06ad8..9b72a0c7 100644
--- a/templates/protocols/static/route6/node.tag/next-hop/node.tag/distance/node.def
+++ b/templates/protocols/static/route6/node.tag/next-hop/node.tag/distance/node.def
@@ -1,4 +1,4 @@
type: u32
help: Set distance value for this route
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between (1-255)"
-comp_help: <1-255> Distance for this route
+val_help: u32:1-255; Distance for this route