Forum Discussion
paul_adomeit_70
Nimbostratus
Jan 08, 2007query_pool_associations does not return anything
Here's a sample of the code I'm using. I stripped all the faultcode checking for now.
The credentials, host, port etc are set elsewhere. The soap response returns an empty array. I've tried a f...
paul_adomeit_70
Nimbostratus
Jan 09, 2007Hi Joe,
Putting the brackets around the rule name did coerce the literal into an array for the request (emboldened with success, I tried to put brackets around my kids to coerce them into the bathtub but they core dumped and became unresponsive). Big-ip did respond correctly with a mutli-dimensional array with the pool names. So far, so good.
I spent the next hour or so with my copy of "Learning Perl" trying to tease the results out and came up with nothing that worked but many examples that completely failed. I searched the internet. The last thing I remember was being at www.prsguitars.com wondering if anyone at home would notice if a Custom 24 showed up.
Could you show me a quick example on how to extract the first index in the 1st dimension (rule_name) and then use it to return the first entry in the 2nd dimension (a pool name)? Once I know the basic syntax to at least get at the values, I can take it from there to build the loops to iterate the arrays. I'll post the final snip of code when it's done.
Thanks!
-p
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
