summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r--templates/protocols/static/route/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/distance/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.tag/node.def2
-rw-r--r--templates/protocols/static/route/node.tag/node.def2
7 files changed, 7 insertions, 7 deletions
diff --git a/templates/protocols/static/route/node.def b/templates/protocols/static/route/node.def
index be26c621..78ead81d 100644
--- a/templates/protocols/static/route/node.def
+++ b/templates/protocols/static/route/node.def
@@ -1,4 +1,4 @@
tag:
type: ipv4net
-help: Configure a static route
+help: Set a static route
syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $VAR(@)"
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 ac8083af..08a06ad8 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: Distance value for this route
+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
diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def
index d8e65ef4..aaeab5b6 100644
--- a/templates/protocols/static/route/node.tag/blackhole/node.def
+++ b/templates/protocols/static/route/node.tag/blackhole/node.def
@@ -1,4 +1,4 @@
-help: Silently discard pkts when matched
+help: Set to silently discard pkts when matched
delete:expression: "touch /tmp/static.$PPID"
end:expression: "if [ -f \"/tmp/static.$PPID\" ]; then \
${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no ip route $VAR(../@) null0\" ; \
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.def b/templates/protocols/static/route/node.tag/next-hop/node.def
index 1540a0b4..cfd4b923 100644
--- a/templates/protocols/static/route/node.tag/next-hop/node.def
+++ b/templates/protocols/static/route/node.tag/next-hop/node.def
@@ -1,6 +1,6 @@
tag:
type: ipv4
-help: Configure the next-hop router
+help: Set the next-hop router
delete:expression: "touch /tmp/static.$PPID"
end:expression: "if [ -f \"/tmp/static.$PPID\" ]; then \
${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no ip route $VAR(../@) $VAR(@)\" ; \
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 ac8083af..08a06ad8 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: Distance value for this route
+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
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.tag/node.def b/templates/protocols/static/route/node.tag/next-hop/node.tag/node.def
index 7a5e624b..08dff1a9 100644
--- a/templates/protocols/static/route/node.tag/next-hop/node.tag/node.def
+++ b/templates/protocols/static/route/node.tag/next-hop/node.tag/node.def
@@ -1,2 +1,2 @@
-help: Enter next-hop router
+help: Set next-hop router
diff --git a/templates/protocols/static/route/node.tag/node.def b/templates/protocols/static/route/node.tag/node.def
index ce1324d8..7e15c498 100644
--- a/templates/protocols/static/route/node.tag/node.def
+++ b/templates/protocols/static/route/node.tag/node.def
@@ -1,3 +1,3 @@
-help: IP network
+help: Set IP network
commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != ""; "Must add either a next-hop or blackhole for route $VAR(@)"