Forum Discussion
Brian_69413
Nimbostratus
Mar 19, 2010iControl with Python not authenticating
I am having trouble with getting my python modules to work correctly. I display the below to show that I have the proper packages installed:
>>> import suds
>>> suds.__version__
'0....
L4L7_53191
Nimbostratus
Apr 07, 2010Brian: fwiw, I just tested this with python 2.4 to be sure. I ran into a bizarre ulrlib2 issue, so I upgraded to 2.4.4 and it's working now (on my windows laptop):
Python 2.4.4 (71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycontrol.pycontrol as pc
>>> b = pc.BIGIP(hostname='10.100.100.245',username='admin',password='admin',fro
murl=True,wsdls=['LocalLB.Pool'])
>>> b.LocalLB.Pool.get_list()
[P_1, P_2, P_3, P_4, P_5, P_6,
T_1, T_10, T_100, T_11, T_12, T_13, T_14, T_15, T
_16, T_17, T_18, T_19, T_2, T_20, T_21, T_22, T_23,
T_24, T_25, T_26, T_27, dummyServer, xmlrpc-pool] The only difference is that I'm using an ultra-new version of pycontrol on Suds 0.3.9 for some testing before I release 2.1.
-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
