summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-04-09 11:27:31 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-04-09 11:27:31 -0700
commit22ca661c3cd95ef08459b83d010b31bd6e851b67 (patch)
tree90bf70fd3fabc277faf1a0e55268642d92bfb57f /templates
parent789bb8a2bbce86b064460ac62fa09c25323d5f44 (diff)
downloadvyatta-cfg-firewall-22ca661c3cd95ef08459b83d010b31bd6e851b67.tar.gz
vyatta-cfg-firewall-22ca661c3cd95ef08459b83d010b31bd6e851b67.zip
Add ability for firename to select default policy.
Diffstat (limited to 'templates')
-rw-r--r--templates/firewall/ipv6-modify/node.tag/default-policy/node.def12
-rw-r--r--templates/firewall/ipv6-name/node.tag/default-policy/node.def12
-rw-r--r--templates/firewall/modify/node.tag/default-policy/node.def12
-rw-r--r--templates/firewall/name/node.tag/default-policy/node.def12
4 files changed, 48 insertions, 0 deletions
diff --git a/templates/firewall/ipv6-modify/node.tag/default-policy/node.def b/templates/firewall/ipv6-modify/node.tag/default-policy/node.def
new file mode 100644
index 0000000..d88d82f
--- /dev/null
+++ b/templates/firewall/ipv6-modify/node.tag/default-policy/node.def
@@ -0,0 +1,12 @@
+type: txt
+
+help: Set firewall default-policy
+
+default: "drop"
+
+syntax:expression: $VAR(@) in "drop", "accept";
+ "default-policy must be either drop or accept"
+
+comp_help: possible completions:
+ drop Drop if no prior rules are hit (default)
+ accept Accept if no prior rules are hit
diff --git a/templates/firewall/ipv6-name/node.tag/default-policy/node.def b/templates/firewall/ipv6-name/node.tag/default-policy/node.def
new file mode 100644
index 0000000..d88d82f
--- /dev/null
+++ b/templates/firewall/ipv6-name/node.tag/default-policy/node.def
@@ -0,0 +1,12 @@
+type: txt
+
+help: Set firewall default-policy
+
+default: "drop"
+
+syntax:expression: $VAR(@) in "drop", "accept";
+ "default-policy must be either drop or accept"
+
+comp_help: possible completions:
+ drop Drop if no prior rules are hit (default)
+ accept Accept if no prior rules are hit
diff --git a/templates/firewall/modify/node.tag/default-policy/node.def b/templates/firewall/modify/node.tag/default-policy/node.def
new file mode 100644
index 0000000..d88d82f
--- /dev/null
+++ b/templates/firewall/modify/node.tag/default-policy/node.def
@@ -0,0 +1,12 @@
+type: txt
+
+help: Set firewall default-policy
+
+default: "drop"
+
+syntax:expression: $VAR(@) in "drop", "accept";
+ "default-policy must be either drop or accept"
+
+comp_help: possible completions:
+ drop Drop if no prior rules are hit (default)
+ accept Accept if no prior rules are hit
diff --git a/templates/firewall/name/node.tag/default-policy/node.def b/templates/firewall/name/node.tag/default-policy/node.def
new file mode 100644
index 0000000..d88d82f
--- /dev/null
+++ b/templates/firewall/name/node.tag/default-policy/node.def
@@ -0,0 +1,12 @@
+type: txt
+
+help: Set firewall default-policy
+
+default: "drop"
+
+syntax:expression: $VAR(@) in "drop", "accept";
+ "default-policy must be either drop or accept"
+
+comp_help: possible completions:
+ drop Drop if no prior rules are hit (default)
+ accept Accept if no prior rules are hit