diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-01 09:02:54 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-01 09:02:54 -0800 |
commit | a39ee11767413589386ac0c3c8c5d442aa8cf487 (patch) | |
tree | df2866786ca09c90b17a3f3e1ff57c5e691a688b /templates/qos-policy/traffic-shaper | |
parent | df4455c537f1d40a23a5804153a9c153515029af (diff) | |
download | vyatta-cfg-qos-a39ee11767413589386ac0c3c8c5d442aa8cf487.tar.gz vyatta-cfg-qos-a39ee11767413589386ac0c3c8c5d442aa8cf487.zip |
autocompletion for dscp field names
Bugfix: 2931
Tab completion for possible dscp field values.
Diffstat (limited to 'templates/qos-policy/traffic-shaper')
3 files changed, 10 insertions, 0 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 2d5395e..7a6e52e 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 @@ -4,3 +4,6 @@ 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> name from /etc/iproute2/rt_dsfield +allowed: awk ' + /^#/ { next } + { printf "%s ", $2 }' </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 index 002699f..6a72cdb 100644 --- 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 @@ -4,3 +4,7 @@ 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 +allowed: awk ' + /^#/ { next } + { printf "%s ", $2 }' </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 index 002699f..31330f0 100644 --- 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 @@ -4,3 +4,6 @@ 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 +allowed: awk ' + /^#/ { next } + { printf "%s ", $2 }' </etc/iproute2/rt_dsfield |