Forum Discussion
Not able to fetch object status of virtual server
Your not sending the right input to get_object_status.
LocalLB.VirtualServer.get_list() returns a list of virtual servers names.
LocalLB.VirtualAddressV2.get_object_status() wants a list of virtual addresses, not names like you are passing it.
if you change the first call to LocalLB.VirtualAddressV2.get_list(), and pass that to the second call, that will return the list you are after.
Of course if you need the names of the virtual servers for display purposes, you'll need to add in some additional calls to gather all that.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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