tag: type: txt help: Zone name syntax:expression: pattern $VAR(@) "^[[:print:]]{1,18}$" ; "Zone name must be 18 characters or less" syntax:expression: pattern $VAR(@) "^[^-]" ; "Zone name cannot start with \"-\"" syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Zone name cannot contain ';'" create: # fw zone actions if ! /opt/vyatta/sbin/vyatta-zone.pl \ --action=add-zone \ --zone-name="$VAR(@)"; then exit 1 fi # ips zone actions if ! /opt/vyatta/sbin/vyatta-zone-ips.pl \ --action=add-zone \ --zone-name="$VAR(@)"; then exit 1 fi delete: # fw zone actions if ! /opt/vyatta/sbin/vyatta-zone.pl \ --action=delete-zone \ --zone-name="$VAR(@)"; then exit 1 fi # ips zone actions if ! /opt/vyatta/sbin/vyatta-zone-ips.pl \ --action=delete-zone \ --zone-name="$VAR(@)"; then exit 1 fi