summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/zone-policy/zone/node.tag/interface/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/zone-policy/zone/node.tag/interface/node.def b/templates/zone-policy/zone/node.tag/interface/node.def
index 845a5e8c..64a3c2fc 100644
--- a/templates/zone-policy/zone/node.tag/interface/node.def
+++ b/templates/zone-policy/zone/node.tag/interface/node.def
@@ -3,6 +3,8 @@ type: txt
help: Set interface associated with zone
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=all | sed -e s/'lo '//
+syntax:expression: $VAR(@) != "lo" ; "Cannot assign loopback interface to a transit zone. It's part of local-zone"
+
create: /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --warn
create: