Forum Discussion
F5 LTM SOAP API - Ruby f5-icontrol Gem - Could not find element by name: pool_names
The LocalLB.Pool.get_all_member_statistics looks like this
LocalLB.Pool.MemberStatistics [] get_all_member_statistics(
in String [] pool_names
);
It takes as a parameter, an array of pool names to query and returns an array of MemberStatistics structures for each pool passed in the pool_names parameter.
If you are getting an error that "pool_names" isn't found, odds are that your call isn't passing the value in as an array of size 1 with the first index being the pool you are querying. From the looks of how you coded it, it looks like it's just a string literal getting passed in that parameter.
We designed the APIs this way to make it easier to perform "bulk" operations.
-Joe
Recent Discussions
Related Content
* 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