Forum Discussion
2 Replies
Sort By
- That's why they call it a sample B-).
- Ok, I've updated the wiki with some code that should take into account when the virtual doesn't have a pool assigned to it. Let me know how that works for you...
The script ConfigToXml.pl works great but I found that it fails if there is no pool in a VIP e.g. an IP_Forwarding VIP. I'm new to using SOAP, appreciate if someone can provide a solution.
Thanks,
--Naresh
Sorry, I forgot to test that case when I was writing it. The problem is that for virtuals without a default_pool, an empty string is returned in the get_default_pool() method and I was using that list to pass into the Pool.* methods. Some of them don't like it when an empty string is passed in and assume that's an error. I'll see what I can do to make it work with non-pool virtuals.
-Joe
http://devcentral.f5.com/wiki/default.aspx/iControl/PerlLtmConfigToXml.html
-Joe