summaryrefslogtreecommitdiff
path: root/interface-templates
diff options
context:
space:
mode:
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