Forum Discussion
ives_39316
Nimbostratus
Jun 27, 2012Re: Getting Started with pyControl
I was just looking at using the LocalLB.VirtualServer.get_statistics() method, but it doesn't seem to return anything in the statistics object (where I'd expect a type of VirtualServerStatisticEntry):
 
 
https://clouddocs.f5.com/api/icontrol-soap/LocalLB__VirtualServer__VirtualServerStatistics.html
 
https://clouddocs.f5.com/api/icontrol-soap/LocalLB__VirtualServer__VirtualServerStatisticEntry.html 
 
I used virtual_server = 'x.x.x.x', where the stats were returned for that host when calling LocalLB.VirtualServer.get_all_statistics() 
 
Does this work in python 2.6 + suds + pycontrol2? Or am i missing something? 
 
Thanks to everyone who is supporting iControl and pycontrol2... it's full of awesomeness. 
Recent Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects