From 6391325271be489d29f0b7aa2982952068c6a53c Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Tue, 1 Dec 2020 18:36:56 +0800 Subject: mirror: T3089: Delete the mirror function in this module and prepare for migration --- templates/interfaces/ethernet/node.tag/mirror/node.def | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 templates/interfaces/ethernet/node.tag/mirror/node.def (limited to 'templates') diff --git a/templates/interfaces/ethernet/node.tag/mirror/node.def b/templates/interfaces/ethernet/node.tag/mirror/node.def deleted file mode 100644 index b67fd20..0000000 --- a/templates/interfaces/ethernet/node.tag/mirror/node.def +++ /dev/null @@ -1,18 +0,0 @@ -type: txt -help: Incoming packet mirroring destination -allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show=ethernet - -syntax:expression: $VAR(@) != $VAR(../@) ;\ - "interface $VAR(../@): mirroring to same interface not allowed" -val_help: Interface for packet mirroring - -commit:expression: $VAR(../redirect) == ""; \ - "interface $VAR(../@) : can not do both redirect and mirror" - -commit:expression: $VAR(../traffic-policy/in) == ""; \ - "interface $VAR(../@) : can not use ingress policy and mirror" - -commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all" - -update: /opt/vyatta/sbin/vyatta-qos.pl --update-action $VAR(../@) -delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-action $VAR(../@) -- cgit v1.2.3