summaryrefslogtreecommitdiff
path: root/interface-templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-06 10:04:39 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-06 10:50:03 -0700
commit7a4dfd3f3fbaf975e6d2f766086a0e56a96bba8e (patch)
tree75cfe183460e94e7c1c4dc5fa38994e52be88c0b /interface-templates
parent2aa8a18e97fb5081691dca399ceada8fcae21ec7 (diff)
downloadvyatta-cfg-qos-7a4dfd3f3fbaf975e6d2f766086a0e56a96bba8e.tar.gz
vyatta-cfg-qos-7a4dfd3f3fbaf975e6d2f766086a0e56a96bba8e.zip
Preliminary support of input-policy
Support mirror and redirect. Note: traffic-limiter is broken (ignored), and will later be moved to input-policy/limit
Diffstat (limited to 'interface-templates')
-rw-r--r--interface-templates/input-policy/mirror/node.def3
-rw-r--r--interface-templates/input-policy/node.def3
-rw-r--r--interface-templates/input-policy/redirect/node.def3
3 files changed, 9 insertions, 0 deletions
diff --git a/interface-templates/input-policy/mirror/node.def b/interface-templates/input-policy/mirror/node.def
new file mode 100644
index 0000000..49fb3df
--- /dev/null
+++ b/interface-templates/input-policy/mirror/node.def
@@ -0,0 +1,3 @@
+type: txt
+help: Set incoming packet mirroring destination
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show=all
diff --git a/interface-templates/input-policy/node.def b/interface-templates/input-policy/node.def
new file mode 100644
index 0000000..094375e
--- /dev/null
+++ b/interface-templates/input-policy/node.def
@@ -0,0 +1,3 @@
+help: Set incoming packet policy
+update: /opt/vyatta/sbin/vyatta-qos.pl --update-ingress $IFNAME
+delete: sudo tc qdisc del dev $IFNAME ingress 2>/dev/null
diff --git a/interface-templates/input-policy/redirect/node.def b/interface-templates/input-policy/redirect/node.def
new file mode 100644
index 0000000..5582d07
--- /dev/null
+++ b/interface-templates/input-policy/redirect/node.def
@@ -0,0 +1,3 @@
+type: txt
+help: Set incoming packet redirection destination
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show=all