summaryrefslogtreecommitdiff
path: root/interface-templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-06 09:42:02 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-06 09:42:02 -0700
commit2aa8a18e97fb5081691dca399ceada8fcae21ec7 (patch)
tree424e806f068b6406ec00af98ea1bbb729ee435f1 /interface-templates
parent6c2c77f8195037dc429784c5ae0ae795daa54739 (diff)
downloadvyatta-cfg-qos-2aa8a18e97fb5081691dca399ceada8fcae21ec7.tar.gz
vyatta-cfg-qos-2aa8a18e97fb5081691dca399ceada8fcae21ec7.zip
Add input interface template
Also change how interface qos-policy is generated, using a template for templates rather than using hardcode expansion.
Diffstat (limited to 'interface-templates')
-rw-r--r--interface-templates/qos-policy/in/node.def5
-rw-r--r--interface-templates/qos-policy/out/node.def5
2 files changed, 10 insertions, 0 deletions
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
diff --git a/interface-templates/qos-policy/out/node.def b/interface-templates/qos-policy/out/node.def
new file mode 100644
index 0000000..1a4e213
--- /dev/null
+++ b/interface-templates/qos-policy/out/node.def
@@ -0,0 +1,5 @@
+type: txt
+help: Set outbound QOS 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