summaryrefslogtreecommitdiff
path: root/templates/zone-policy/zone/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-08 17:12:17 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-08 17:12:17 -0700
commitaa7eb86891fc84bebcd6fb3aaec2918f11b8ea82 (patch)
tree9556f0796b4a29ad80a08dcd014d03c1023c70f7 /templates/zone-policy/zone/node.def
parent8c76eecf50f943b0a7e759f398f6d16dac53dac0 (diff)
parentf9be4712741884fac53dc782096c452e00da96f3 (diff)
downloadvyatta-cfg-system-aa7eb86891fc84bebcd6fb3aaec2918f11b8ea82.tar.gz
vyatta-cfg-system-aa7eb86891fc84bebcd6fb3aaec2918f11b8ea82.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg-system into mendocino
Diffstat (limited to 'templates/zone-policy/zone/node.def')
-rw-r--r--templates/zone-policy/zone/node.def24
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/zone-policy/zone/node.def b/templates/zone-policy/zone/node.def
deleted file mode 100644
index eb8c3c87..00000000
--- a/templates/zone-policy/zone/node.def
+++ /dev/null
@@ -1,24 +0,0 @@
-tag:
-type: txt
-help: Zone name
-
-syntax:expression: pattern $VAR(@) "^[[:print:]]{1,20}$" ;
- "Zone name must be 20 characters or less"
-
-syntax:expression: pattern $VAR(@) "^[^-]" ; "Zone name cannot start with \"-\""
-
-syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Zone name cannot contain ';'"
-
-create:
- if ! /opt/vyatta/sbin/vyatta-zone.pl \
- --action=add-zone \
- --zone-name="$VAR(@)"; then
- exit 1
- fi
-
-delete:
- if ! /opt/vyatta/sbin/vyatta-zone.pl \
- --action=delete-zone \
- --zone-name="$VAR(@)"; then
- exit 1
- fi