From 2aa8a18e97fb5081691dca399ceada8fcae21ec7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger 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 +++++ interface-templates/qos-policy/out/node.def | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 interface-templates/qos-policy/in/node.def create mode 100644 interface-templates/qos-policy/out/node.def (limited to 'interface-templates/qos-policy') 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 -- cgit v1.2.3