summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-26 17:43:47 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-26 17:43:47 -0800
commit250a07e2a816fdf7d295d743fcc892faae8e9c9a (patch)
treea714c83abed193845c01baf490b185ef5d3a98b2
parentc79bf0610f9319d285f4f0d52b5ff0e9fab42064 (diff)
downloadvyatta-cfg-firewall-250a07e2a816fdf7d295d743fcc892faae8e9c9a.tar.gz
vyatta-cfg-firewall-250a07e2a816fdf7d295d743fcc892faae8e9c9a.zip
Add allow/comp_help to firewall action.
-rw-r--r--templates/firewall/ipv6-modify/node.tag/rule/node.tag/action/node.def8
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/action/node.def8
-rw-r--r--templates/firewall/modify/node.tag/rule/node.tag/action/node.def8
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/action/node.def8
4 files changed, 32 insertions, 0 deletions
diff --git a/templates/firewall/ipv6-modify/node.tag/rule/node.tag/action/node.def b/templates/firewall/ipv6-modify/node.tag/rule/node.tag/action/node.def
index ac60488..579ab49 100644
--- a/templates/firewall/ipv6-modify/node.tag/rule/node.tag/action/node.def
+++ b/templates/firewall/ipv6-modify/node.tag/rule/node.tag/action/node.def
@@ -4,3 +4,11 @@ help: Set firewall rule action
syntax:expression: $VAR(@) in "drop", "reject", "accept", "modify";
"action must be one of drop, reject, accept, or modify"
+
+allowed: echo "drop reject accept modify"
+
+comp_help: Possible completions:
+ drop Set rule action to drop
+ reject Set rule action to reject
+ accept Set rule action to accept
+ modify Set rule action to modify
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/action/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/action/node.def
index 9391bda..21abb04 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/action/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/action/node.def
@@ -4,3 +4,11 @@ help: Set firewall rule action
syntax:expression: $VAR(@) in "drop", "reject", "accept", "inspect";
"action must be one of drop, reject, accept, or inspect"
+
+allowed: echo "drop reject accept inspect"
+
+comp_help: Possible completions:
+ drop Set rule action to drop
+ reject Set rule action to reject
+ accept Set rule action to accept
+ inspect Set rule action to inspect
diff --git a/templates/firewall/modify/node.tag/rule/node.tag/action/node.def b/templates/firewall/modify/node.tag/rule/node.tag/action/node.def
index 8a6396c..c634789 100644
--- a/templates/firewall/modify/node.tag/rule/node.tag/action/node.def
+++ b/templates/firewall/modify/node.tag/rule/node.tag/action/node.def
@@ -2,3 +2,11 @@ type: txt
help: Set modify rule action
syntax:expression: $VAR(@) in "drop", "reject", "accept", "modify";
"action must be one of drop, reject, accept, or modify"
+
+allowed: echo "drop reject accept modify"
+
+comp_help: Possible completions:
+ drop Set rule action to drop
+ reject Set rule action to reject
+ accept Set rule action to accept
+ modify Set rule action to modify
diff --git a/templates/firewall/name/node.tag/rule/node.tag/action/node.def b/templates/firewall/name/node.tag/rule/node.tag/action/node.def
index 9391bda..21abb04 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/action/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/action/node.def
@@ -4,3 +4,11 @@ help: Set firewall rule action
syntax:expression: $VAR(@) in "drop", "reject", "accept", "inspect";
"action must be one of drop, reject, accept, or inspect"
+
+allowed: echo "drop reject accept inspect"
+
+comp_help: Possible completions:
+ drop Set rule action to drop
+ reject Set rule action to reject
+ accept Set rule action to accept
+ inspect Set rule action to inspect