Forum Discussion
Carl_Rosevear_1
Nimbostratus
May 18, 2009Help with PyControl Accessing Enumerations
So, I'm new to iControl. I'm new to SOAP. I'm pretty Python-savvy and network-savvy but I need some help. I have already re-written some of my old SSH modules to make use of iControl instead of SSH...
Carl_Rosevear_1
Nimbostratus
May 19, 2009In this case, progress is limited by the knowledge of the guy trying to make said progress. Okay, so I'm used to passing around literal values in Python and some objects here and there but I really don't know where to go from here. If you'd teach me how to fish here, I hopefully won't be asking for fish anymore. I get:
In [14]: b.LocalLB_Pool._service._wsdl.types.items()
Out[14]:
[(u'urn:iControl',
Great. I see a unicode string of the URN and a ZSI object that I have no idea what to do with. I have been looking around ZSI docs and I assume there is some method to use that is part of this object to retrieve the values but I'm not finding the right one. Any ideas? As I say, I'm totally new to the web services landscape. Any sample code would really help seal the deal for me or any kind of pointer to a doc URL. Looks like you probably have pointed out exactly what I need but I still don't know how to access the data.
--Carl
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
