Forum Discussion
Mike_Denny_1081
Nov 24, 2010Nimbostratus
Issue with setting up a rate class in Java
We're setting up two virtual servers with the same parent rate class, to limit their aggregate traffic.
Our first step in iControl is to create the parent rate class, then set up each child ...
Dec 02, 2010
This was a fun one to try to dig up. It turns out that the LocalLB.RateClass's create method takes a base rate and not the ceiling rate. But, under the seams, it set's the base AND ceiling rate to what you pass in for the base rate parameter. Since the ceiling rate has a minimum value of 296bps, passing a zero in for the base rate will throw the exception.
The workaround is (if your base rate is less than 296bps), pass in the ceiling rate in the create method and then set the base rate after that to the lower value you desire (in your case 0).
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects