Forum Discussion

access2AE_25064's avatar
access2AE_25064
Icon for Nimbostratus rankNimbostratus
May 01, 2016

PERL - LocalLB.VirtualServer.get_list() doesn't return any virtuals.

Hi,

 

I have been working on a project where i need to get the BIG-IP information from all the devices configured.I found iControl API very handy, while working around with API i noticed that for few of the devices get_list() doesn't return any virtual servers even though virtuals are configured and i can see in bigip.conf file.

 

Please suggest me a way to get the virtual list.I am kinda stuck. :-(

 

Thanks in advance, Prabir

 

1 Reply

  • Haven't heard of that one before. It could either be a licensing issue, an odd character in the name (unicode?), the virtuals are in a folder other than "/Common", or something else.

    To test the folder issue, you can set the folder to the root and use the recursive query state to return all child objects in all child folders. I give an overview on the APIs in my iControl 101 - Folders article.

    If you are sure the virtuals are in the /Common folder, then I would enable client side debugging with SOAP::Lite and see what it shows in the response.

    use SOAP::Lite + trace => qw(method debug);

    When you make a SOAP call, that will print out the full SOAP Request and Response. Look at the response and see if it looks like a SOAP Message (or compare against your working BIG-IPs) to see if that gives any clues.

    Hope this helps...

    -Joe