Forum Discussion
g0a_359464
Nimbostratus
Apr 30, 2018member properties python sdk
I am trying to get details of the members in the pool using something similar to
pool_a = bigip.ltm.pools.pool.load(name=virtual.pool.split('/')[2], partition=virtual.pool.split('/')[1]) members = pool_a.members_s.members for member in members: print (member.name)
This fails since I am not able to iterate through members.
- g0a_359464
Nimbostratus
Nvm. I found what I was looking for here http://f5-sdk.readthedocs.io/en/latest/userguide/endpoints/subcollection_resource.html.
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