Forum Discussion
Dec 07, 2010
Smart way to convert a PoolMemberDefinitionSequenceSequence to a IPPortDefinitionSequenceSequence
Hi,
I want to dump out (and eventually read in and set) the enabled state of each of my GTM pools pool members. Its easy to get a list of the pools and pool members, but the PoolMember.get_en...
Dec 09, 2010
mytestpool1 is the first pool in the list (e.g. data_list[0].pool) and its members are 1.1.1.1:80 and 1.1.1.2:80
mytestpool2 is the 2nd pool in the list, e.g. data_list[1].pool and it members are 1.1.2.10:80 and 1.1.2.11:80
maybe for each pool the code is trying to iterate every poolmember defined in poolmemseq?
so first it tries with pool mytestpool1 and gets the state for member 1.1.1.1:80 and then 1.1.1.2:80 both of which are valid (and no errors are raised). and then it tries the same pool with pool member 1.1.2.10:80 which is NOT a valid pool member of that pool and the script exits with the error 'pool member was not found'
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
