summaryrefslogtreecommitdiff
path: root/templates/zone-policy
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-04-10 18:33:34 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-04-10 18:33:34 -0700
commit15faf9d53d7a6af053ba6eea30fa718ffc513f92 (patch)
treec68523e93b64d0acdce139b0e2c7a19b0e820d64 /templates/zone-policy
parent223e661c927389e9f9e2d5b0310a480ad5f6eb41 (diff)
downloadvyatta-cfg-system-15faf9d53d7a6af053ba6eea30fa718ffc513f92.tar.gz
vyatta-cfg-system-15faf9d53d7a6af053ba6eea30fa718ffc513f92.zip
add local-zone in|out firewall and clean-up code
Diffstat (limited to 'templates/zone-policy')
-rw-r--r--templates/zone-policy/zone/node.tag/local-zone/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/zone-policy/zone/node.tag/local-zone/node.def b/templates/zone-policy/zone/node.tag/local-zone/node.def
index b82ee438..77a49771 100644
--- a/templates/zone-policy/zone/node.tag/local-zone/node.def
+++ b/templates/zone-policy/zone/node.tag/local-zone/node.def
@@ -1 +1,9 @@
help: Set zone to be local-zone
+
+create: /opt/vyatta/sbin/vyatta-zone.pl \
+ --action=add-localzone \
+ --zone-name="$VAR(../@)"
+
+delete: /opt/vyatta/sbin/vyatta-zone.pl \
+ --action=delete-localzone \
+ --zone-name="$VAR(../@)"