Forum Discussion
JRahm
Aug 12, 2011Admin
Can you test on your version to see if this works. Even if I use the object as is returned from get_wideip_pool in the remove, it still isn't working on my v11 beta image:
>>> a = wip.get_wideip_pool(wide_ips = ['/Common/test.wip.com'])
>>> a[0][0]
(GlobalLB.WideIP.WideIPPool){
pool_name = "/Common/gpool1"
order = 0
ratio = 1
}
>>> wip.remove_wideip_pool(wide_ips = ['/Common/test.wip.com'], wideip_pools = a[0][0])
>>> wip.get_wideip_pool(wide_ips = ['/Common/test.wip.com'])
[[(GlobalLB.WideIP.WideIPPool){
pool_name = "/Common/gpool1"
order = 0
ratio = 1
}, (GlobalLB.WideIP.WideIPPool){
pool_name = "/Common/gpool2"
order = 1
ratio = 2
}]]
>>>