diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-19 10:09:22 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-19 10:09:22 -0700 |
commit | df1d6348323708b34958cd622e02cbba122c748a (patch) | |
tree | 865053fd18cdb5d69da9f8676ca02b5b09349960 | |
parent | ebaa4ea9be89c0ade383c010e55744288f835887 (diff) | |
download | vyatta-cfg-qos-df1d6348323708b34958cd622e02cbba122c748a.tar.gz vyatta-cfg-qos-df1d6348323708b34958cd622e02cbba122c748a.zip |
Add packet-length and latency as class attributes
Attributes needed for WRED implementation.
-rw-r--r-- | lib/Vyatta/Qos/ShaperClass.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Vyatta/Qos/ShaperClass.pm b/lib/Vyatta/Qos/ShaperClass.pm index 6654aba..4d95f42 100644 --- a/lib/Vyatta/Qos/ShaperClass.pm +++ b/lib/Vyatta/Qos/ShaperClass.pm @@ -43,6 +43,8 @@ sub new { $self->{_burst} = $config->returnValue("burst"); $self->{_limit} = $config->returnValue("queue-limit"); $self->{_qdisc} = $config->returnValue("queue-type"); + $self->{_avgpkt} = $config->returnValue("packet-length"); + $self->{_latency} = $config->returnValue("latency"); $self->{dsmark} = getDsfield( $config->returnValue("set-dscp") ); my @matches = _getMatch("$level match"); |