summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-12 16:46:52 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-12 16:46:52 -0800
commit8132689b6e461ad068746741bfec1bd82efbe915 (patch)
tree21dd0b4ffbb30ffa408e2892e684d7d569bb6765 /templates
parentfae283702fb73bec0abee76095bb76aa0a537b9d (diff)
downloadvyatta-cfg-qos-8132689b6e461ad068746741bfec1bd82efbe915.tar.gz
vyatta-cfg-qos-8132689b6e461ad068746741bfec1bd82efbe915.zip
add templates for dscp setting
Add templates for hooks to set-dscp value with dsmark
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def6
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def6
3 files changed, 13 insertions, 1 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def
index cdd4260..2d5395e 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/match/node.tag/ip/dscp/node.def
@@ -3,4 +3,4 @@ help: Match DSCP (formerly known as TOS) value
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp \"$VAR(@)\""
comp_help: Differentiated Services Condepoint (DSCP) value
<number> decimal number (or 0x for hex)
-or <name> standard name from /etc/iproute2/rt_dsfield
+or <name> name from /etc/iproute2/rt_dsfield
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def
new file mode 100644
index 0000000..002699f
--- /dev/null
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/set-dscp/node.def
@@ -0,0 +1,6 @@
+type: txt
+help: Change the Differentiated Services (DiffServ) field in the IP header
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp \"$VAR(@)\""
+comp_help: New Differentiated Services Condepoint (DSCP) value
+ <number> decimal number (or 0x for hex)
+or <name> name from /etc/iproute2/rt_dsfield
diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def
new file mode 100644
index 0000000..002699f
--- /dev/null
+++ b/templates/qos-policy/traffic-shaper/node.tag/default/set-dscp/node.def
@@ -0,0 +1,6 @@
+type: txt
+help: Change the Differentiated Services (DiffServ) field in the IP header
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp \"$VAR(@)\""
+comp_help: New Differentiated Services Condepoint (DSCP) value
+ <number> decimal number (or 0x for hex)
+or <name> name from /etc/iproute2/rt_dsfield