Dec 03, 2010
what is in pycontrol?
I'm a total noob with python. I've been reading as many python icontrol articles as i can find, but none of them have explained what objects/methods/etc are available directly from pycontrol. ...
import pycontrol.pycontrol
Then you can do:
pycontrol.
**Notice the 'dot' at the end of pycontrol.
Which will show you the classes, such as they are. The only one that is 'external' is BIGIP, so there's effectively only a single small class. The rest is done when you load the WSDL. I think what you may be asking for is: "What can I actually do with this thing pycontrol?"
If that's true, then I'd refer you to the iControl SDK - that'll give you a definitive answer of exactly what pyControl can do. After all, it's essentially only a wrapper for the WSDLs themselves, with some transport code and convenience wrappers for authentication and loading built in.
-Matt