Networking::BWPriorityGroup::add_priority_class

Introduced : BIG-IP_v12.0.0
Creates a set of Bandwidth Priority Class Policy Classes with the specified maximum weight percentages. Classes are a sub-policy of a Bandwidth Priority Groups. The maximum weight percentage is the maximum percentage of user rate of dynamically enabled Bandwidth Controller policy to which this Bandwidth Priority Group is mapped.

Prototype

 add_priority_class(
    in String [] groups,
    in String [] [] classes,
    in long [] [] percentages
);

Parameters

Parameter Type Description
groups String [] Names of the Bandwidth Priority Groups to modify.
classes String [] [] Names of the Bandwidth Priority Group classes to add.
percentages long [] [] The maximum weight percentages for the specified Bandwidth Priority Group Classes. The weight percentage value should be specified as an integer between 5 and 100. The sum of weights of all Priority Classes inside a Priority Group may not exceed a percentage value of 100.

Return Type

Type Description
void  

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.