summaryrefslogtreecommitdiff
path: root/interface-templates
diff options
context:
space:
mode:
authorkouak <kouak@kouak.org>2015-03-25 14:22:37 +0100
committerkouak <kouak@kouak.org>2015-03-25 14:22:37 +0100
commitd96867cd19221810035c48ba4cead516c39116f6 (patch)
treea579160eb9ae468214c7e81829dec9c81c945106 /interface-templates
parente89ecdf103790bde37737377e04b867771aad5f9 (diff)
downloadvyatta-cfg-qos-d96867cd19221810035c48ba4cead516c39116f6.tar.gz
vyatta-cfg-qos-d96867cd19221810035c48ba4cead516c39116f6.zip
Refactor QoS class match templates
Diffstat (limited to 'interface-templates')
-rw-r--r--interface-templates/redirect/node.def18
-rw-r--r--interface-templates/traffic-policy/in/node.def5
-rw-r--r--interface-templates/traffic-policy/node.def1
-rw-r--r--interface-templates/traffic-policy/out/node.def5
4 files changed, 0 insertions, 29 deletions
diff --git a/interface-templates/redirect/node.def b/interface-templates/redirect/node.def
deleted file mode 100644
index daff346..0000000
--- a/interface-templates/redirect/node.def
+++ /dev/null
@@ -1,18 +0,0 @@
-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 $VAR(@) --check=all"
-
-update: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME
-delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-action $IFNAME
diff --git a/interface-templates/traffic-policy/in/node.def b/interface-templates/traffic-policy/in/node.def
deleted file mode 100644
index 61cdc0a..0000000
--- a/interface-templates/traffic-policy/in/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: txt
-help: Ingress traffic policy for interface
-allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy in
-update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $IFNAME in $VAR(@)
-delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $IFNAME in
diff --git a/interface-templates/traffic-policy/node.def b/interface-templates/traffic-policy/node.def
deleted file mode 100644
index 2b2cf68..0000000
--- a/interface-templates/traffic-policy/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Traffic-policy for interface
diff --git a/interface-templates/traffic-policy/out/node.def b/interface-templates/traffic-policy/out/node.def
deleted file mode 100644
index 37eaa5b..0000000
--- a/interface-templates/traffic-policy/out/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: txt
-help: Egress traffic policy for interface
-allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out
-update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $IFNAME out $VAR(@)
-delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $IFNAME out