diff options
-rw-r--r-- | templates/interfaces/ethernet/node.tag/vif/node.tag/redirect/node.def | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/redirect/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/redirect/node.def deleted file mode 100644 index 93d7849..0000000 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/redirect/node.def +++ /dev/null @@ -1,19 +0,0 @@ -type: txt -help: Incoming packet redirection destination -allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=input - -syntax:expression: $VAR(@) != "$VAR(../../@).$VAR(../@)" ;\ - "interface $VAR(../../@).$VAR(../@): redirect to same interface not allowed" -val_help: Interface for packet redirection - -commit:expression: $VAR(../mirror) == "";\ - "interface $VAR(../../@).$VAR(../@) : can not do both redirect and mirror" - -commit:expression: $VAR(../traffic-policy/in) == ""; \ - "interface $VAR(../../@).$VAR(../@) : can not use ingress policy and redirect" - -commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all" - -update: /opt/vyatta/sbin/vyatta-qos.pl --update-action $VAR(../../@).$VAR(../@) -delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-action $VAR(../../@).$VAR(../@) - |