Forum Discussion
Steven_Le_Roux_
Feb 27, 2012Nimbostratus
How to set priority/ratio on a pool member
Hi, Here is my issue. The iControl documentation give the arguments as (for priority) : pool_names String[] members AddressPort[][] priorities ...
Steven_Le_Roux_
Mar 04, 2012Nimbostratus
Hi,
the only way I've found to manage this is without using any typefactory but the syntax is a little bit osbure so here is it :
p.set_member_priority(pool_names=['pool'],members= [members], priorities= [{'long':[10L,0L]}])
members is a (Common.AddressPortSequence) struct.
then, as priority, I pass a list of a struc defined as long and containing a list. It works.
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