Getting Started with pyControl v2: Installing on Ubuntu Desktop
Published Dec 14, 2009
Version 1.0Was this article helpful?
[root@server /data/scripts] python
Python 2.6.4 (r264:75706, Jan 19 2010, 14:01:31)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import suds
>>> import pycontrol.pycontrol as pc
>>> suds.__version__
'0.3.8'
>>> pc.__version__
'2.0'
>>> pc.__build__
'r76'
>>> b = pyControl.BIGIP(hostname = 'bl2aqubigip01', username = 'atlaseng', password = 'Ftp21ssh22',fromurl = True, wsdls = ['System.SystemInfo'])
Traceback (most recent call last):
File "", line 1, in
NameError: name 'pyControl' is not defined
>>> b = pc.BIGIP(hostname = 'bigip1', username = 'admin', password = 'somepassword',fromurl = True, wsdls = ['System.SystemInfo'])
And it hangs at this point.