summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-04 09:15:31 +0100
committerGitHub <noreply@github.com>2020-12-04 09:15:31 +0100
commite34724a8fdf1fb73a40da8483df1322597588e2b (patch)
tree2a594b8e2d7ca3dcbd3b3887c81078194102ee2c /templates
parentbbf2b2f06b7a0f883f7134df5e2b3e089015738e (diff)
parent6391325271be489d29f0b7aa2982952068c6a53c (diff)
downloadvyatta-cfg-qos-e34724a8fdf1fb73a40da8483df1322597588e2b.tar.gz
vyatta-cfg-qos-e34724a8fdf1fb73a40da8483df1322597588e2b.zip
Merge pull request #8 from jack9603301/current
mirror: T3089: Delete the mirror function in this module and prepare for migration
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/mirror/node.def18
1 files changed, 0 insertions, 18 deletions
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(../@)