Jim_43682
Nov 02, 2011Nimbostratus
pycontrol -- iControl 11.0 Get List of iApps
Hello All,
I am trying to convert our iControl Python scripts over to work with 11.0. I know that with the introduction of iApp I will definitely need to change our script. Anyway, I wanted to start simple. For one python command statement we have lists all the VirtualServers via the LocalLB.VirtualServer::get_list(). To my knowledge this is no longer the practice when using 11.0. Reading devcentral i stumbled accross the Management.ApplicationService iControl docs. I created a new statement and tested it against our 11.0 F5 Ltms however it does not enumerate anything. I read this statement on the iControl documentation page
Management.ApplicationService::get_list
"Gets the names of all application services. Note that Application Services are always created in a subfolder so if you call get_list immediately after creating an Application Service you will not get the application in the results unless you set the app folder as the active folder or you enable recursive queries. "
Currently this is what our script statment is to get the desired results
BIGIP(hostname=f5host,username=soapUser,password=soapPasswd,fromurl=True,wsdls=content).LocalLB.VirtualServer.get_list()
My Question is how do i get a list of iApps? I tried this
BIGIP(hostname=f5host,username=soapUser,password=soapPasswd,fromurl=True,wsdls=content).LocalLB.Management.Service.get_list()
But no results even though there are 5 iApps on the Web GUI
Thanks in advance,
Jim