diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-04-09 11:27:31 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-04-09 11:27:31 -0700 |
commit | 22ca661c3cd95ef08459b83d010b31bd6e851b67 (patch) | |
tree | 90bf70fd3fabc277faf1a0e55268642d92bfb57f /templates/firewall | |
parent | 789bb8a2bbce86b064460ac62fa09c25323d5f44 (diff) | |
download | vyatta-cfg-firewall-22ca661c3cd95ef08459b83d010b31bd6e851b67.tar.gz vyatta-cfg-firewall-22ca661c3cd95ef08459b83d010b31bd6e851b67.zip |
Add ability for firename to select default policy.
Diffstat (limited to 'templates/firewall')
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 |