summaryrefslogtreecommitdiff
path: root/interface-templates/redirect/node.def
blob: 50788ca0eb3fd7287e5b804ec4d3d52c9783c768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
type: txt
help: Incoming packet redirection destination
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=input

syntax:expression: $VAR(@) != $IFNAME ;\
	 "interface $IFNAME: redirect to same interface not allowed"
val_help: Interface for packet redirection

commit:expression: $VAR(../mirror) == "";\
		   "interface $IFNAME : can not do both redirect and mirror"

commit:expression: $VAR(../traffic-policy/in) == ""; \
		   "interface $IFNAME : can not use ingress policy and redirect"

commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $IFNAME --check=all"

update: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME
delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-action $IFNAME