Forum Discussion
vipin_96627
Jun 15, 2012Nimbostratus
LocalLB.ProfileDNS.get_list behaving incorrectly
Hi, I have a problem with f5 API LocalLB.ProfileDNS.get_list(). This function sometimes returns nothing even though I can see DNS profiles in the LocalLB. I tried this using pycontrol i Cont...
Todd_Cromwell_9
Jun 21, 2012Nimbostratus
Oh, re your last question I think the profile type is returned with the get_profile return value, like this example:
>>> b.LocalLB.VirtualServer.get_profile(['v1'])
[[{'profile_name': '/Common/fastL4', 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL', 'profile_type': 'PROFILE_TYPE_FAST_L4'}]]
See the PROFILE_TYPE_FAST_L4?
Also, if you posted the results of that method above when you get the weird get_list result, that will help because it might reveal the reference was to a folder other than /Common, for example.
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