Forum Discussion
merlinet_60432
Aug 11, 2011Nimbostratus
remove_wideip_pool with pycontrol
Hello, I'm using pycontrol v2 to control GTM WideIP. I'm trying to remove WIDEIP POOL with remove_wideip_pool() When I run the python script, below error has been occured. [merlinet@as-jw gslb]...
merlinet_60432
Aug 12, 2011Nimbostratus
I solve this problem
like:
new_seq = glb.wip_obj.typefactory.create('GlobalLB.WideIP.WideIPPoolSequence')
new_set = glb.wip_obj.typefactory.create('GlobalLB.WideIP.WideIPPool')
new_set.pool_name = "real_www.domain.com"
new_set.order = long(0)
new_set.ratio = long(1)
new_seq.item = [new_set]
try:
glb.wip_obj.remove_wideip_pool(wide_ips = [wideip], wideip_pools = [new_seq])
except Exception, e:
print e
thanks
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