Re: Token Bucket Policer

Cliff Frey <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAFtVOqmTnfdt2Hf6j8ABu5i1udhGupawjENsOh8OeBFWm6U_NA@mail.gmail.com>
Hi Ruetee,

Thanks for the bug report!  I just fixed this in mainline click, so if you
update to the latest version on github, it should fix the problem.

Cliff

On Tue, Feb 14, 2012 at 1:26 PM, Ruetee Chitpranee <[email protected]>wrote:

> Hi,
>
> I'm trying to use *BandwidthRatedSplitter* as a *Token Bucket Policer *but
> the traffic never splited to output 1 (in any case) :(
> Can anybody help me please?  Thank you in advance.
>
>
> tb::BandwidthRatedSplitter(RATE 1 kbps, BURST_BYTES 1);
> udp::IPEncap(17, 1.0.0.2, 2.0.0.2);
> rs:: InfiniteSource(\<00000000>, LIMIT 10, BURST 10);
>
> rs -> udp -> BandwidthShaper(2 kbps) -> Unqueue(BURST -1) -> tb;
> tb[0] -> Print(ok,50) -> Discard;
> tb[1] -> Print(DROPPED,50) -> Discard;
>
> --
> Ruetee C.
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.