diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-04-10 18:33:34 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-04-10 18:33:34 -0700 |
commit | 15faf9d53d7a6af053ba6eea30fa718ffc513f92 (patch) | |
tree | c68523e93b64d0acdce139b0e2c7a19b0e820d64 /templates/zone-policy | |
parent | 223e661c927389e9f9e2d5b0310a480ad5f6eb41 (diff) | |
download | vyatta-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.def | 8 |
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(../@)" |