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...
L4L7_53191
Nimbostratus
May 19, 2009Ok, I finally got to the LB methods. Thanks a ton for the question, as this was pretty useful from a ZSI internals perspective. You totally nailed it with the 'facets':
In [258]: for f in res.facets:
.....: print f.getAttributeDictionary()['value']
.....:
.....:
LB_METHOD_ROUND_ROBIN
LB_METHOD_RATIO_MEMBER
LB_METHOD_LEAST_CONNECTION_MEMBER
LB_METHOD_OBSERVED_MEMBER
LB_METHOD_PREDICTIVE_MEMBER
LB_METHOD_RATIO_NODE_ADDRESS
LB_METHOD_LEAST_CONNECTION_NODE_ADDRESS
LB_METHOD_FASTEST_NODE_ADDRESS
LB_METHOD_OBSERVED_NODE_ADDRESS
LB_METHOD_PREDICTIVE_NODE_ADDRESS
LB_METHOD_DYNAMIC_RATIO
LB_METHOD_FASTEST_APP_RESPONSE
LB_METHOD_LEAST_SESSIONS
LB_METHOD_DYNAMIC_RATIO_MEMBER
LB_METHOD_L3_ADDR
I'll work up an exact example of how I got to this point and post soon.
-Matt
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
