Forum Discussion
samstep
May 27, 2010Cirrocumulus
I can't find such calls in iControl API and can't see a similar functionality in the LTM Web GUI. You can find out the Virtual Address from the Virtual Server, but not vice versa.
You will have to do it programmatically in your code, i.e. get the list of all Virtual Servers first using get_list() call and store it in an array, then get the list of all destinations for all Virtual Servers using get_destination call with the array of all Virtual Servers as a parameter - you will now have two arrays - one with all the names, another one with all addresses, so just match the arrays.
Bear in mind that it is NOT a One-To-One relationship. One Virtual Address can belong to MANY Virtual Servers (for example you can have two Virtual Servers on the same IP, one for port 80 and another for port 443).