From 2aa8a18e97fb5081691dca399ceada8fcae21ec7 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Tue, 6 Apr 2010 09:42:02 -0700
Subject: Add input interface template

Also change how interface qos-policy is generated, using a template
for templates rather than using hardcode expansion.
---
 interface-templates/qos-policy/in/node.def | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 interface-templates/qos-policy/in/node.def

(limited to 'interface-templates/qos-policy/in/node.def')

diff --git a/interface-templates/qos-policy/in/node.def b/interface-templates/qos-policy/in/node.def
new file mode 100644
index 0000000..67d3e4b
--- /dev/null
+++ b/interface-templates/qos-policy/in/node.def
@@ -0,0 +1,5 @@
+type: txt
+help: Set inbound QOS 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
-- 
cgit v1.2.3

