Forum Discussion
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. ...
L4L7_53191
Nimbostratus
Dec 03, 2010You can peek at the classes by firing up iPython (I use this and vim as my IDE), and doing this:
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related 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
