Forum Discussion
spirrello_22970
Nimbostratus
Nov 10, 2015Create Empty Pool with iControl in Python
Hi,
I'm trying to build an empty pool before it's populated at a later date. When I try running the following code it keeps complaining about missing the members parameter. From what I've read...
Guillaume_Roman
Cirrus
Nov 12, 2015Hello Spirello,
To create an empty pool you have to pass empty member list.
members list is mandatory for the create function, so the following code should be ok:
lb_obj.LocalLB.Pool.create(pool_names = [pool_name],
lb_methods = ['LB_METHOD_ROUND_ROBIN'],
[[]])Best Regards,
Guillaume
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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