Forum Discussion
Sep 20, 2011
Each iControl request performs a completely separate HTTPS connection to the LTM. So, you should have 1 Auth request per iControl request.
In looking at your code, I'm wondering why you are taking the list returned from LocalLBPool.get_list() and individually taking each element and building a 1-element list and making separate calls for each pool.
I'd recommend just taking the value returned in the pools variable and passing that directly into the poolMember.get_object_status() call. That will make your code only 2 iControl calls instead of (1 + num_of_pools).
BTW, this is exactly why we moved from scalar methods to array based in v9.
Hope that helps...
-Joe