summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2012-07-02 14:58:26 -0700
committerRobert Bays <robert@vyatta.com>2012-09-03 10:19:34 -0700
commitba1cec97d302c19a2e63d673e0ade5131702d7fc (patch)
treede0fd958385fa3dd1bc4fd7ea82c00211f0b11ab
parent2d01c6fc03985972b8dabd86195722e853a16088 (diff)
downloadvyatta-cfg-firewall-ba1cec97d302c19a2e63d673e0ade5131702d7fc.tar.gz
vyatta-cfg-firewall-ba1cec97d302c19a2e63d673e0ade5131702d7fc.zip
Add val_help for table numbers
-rw-r--r--templates/policy/ipv6-route/node.tag/rule/node.tag/set/table/node.def1
-rw-r--r--templates/policy/route/node.tag/rule/node.tag/set/table/node.def1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/policy/ipv6-route/node.tag/rule/node.tag/set/table/node.def b/templates/policy/ipv6-route/node.tag/rule/node.tag/set/table/node.def
index dbde887..b35b670 100644
--- a/templates/policy/ipv6-route/node.tag/rule/node.tag/set/table/node.def
+++ b/templates/policy/ipv6-route/node.tag/rule/node.tag/set/table/node.def
@@ -1,4 +1,5 @@
type: u32
help: Routing table to forward packet with
+val_help: u32:1-250 ; Table number
syntax:expression: $VAR(@) >= 1 && $VAR(@) < 250;
"Table must be between 1 and 250"
diff --git a/templates/policy/route/node.tag/rule/node.tag/set/table/node.def b/templates/policy/route/node.tag/rule/node.tag/set/table/node.def
index dbde887..b35b670 100644
--- a/templates/policy/route/node.tag/rule/node.tag/set/table/node.def
+++ b/templates/policy/route/node.tag/rule/node.tag/set/table/node.def
@@ -1,4 +1,5 @@
type: u32
help: Routing table to forward packet with
+val_help: u32:1-250 ; Table number
syntax:expression: $VAR(@) >= 1 && $VAR(@) < 250;
"Table must be between 1 and 250"