Forum Discussion
Michael_Yates
Nimbostratus
Jun 06, 2011get_profile returning parent value, not applied value
I am calling the LocalLB::VirtualServer - get_profile method:
F5Interface.LocalLBVirtualServer.get_profile()
What I am getting back are the parent profiles for each of the HTTP and TCP Profiles. Is there any way to get the actual profile that is applied and not the parent?
PROFILE_TYPE_HTTP
PROFILE_CONTEXT_TYPE_ALL
http <---- Incorrect
PROFILE_TYPE_TCP
PROFILE_CONTEXT_TYPE_ALL
tcp <---- Incorrect
3 Replies
- JRahm
Admin
Hmm, I'm not seeing this issue on my 10.2.1 HF3 VE box:>>> b.LocalLB.VirtualServer.get_profile(virtual_servers = ['testvip1']) [[(LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_HTTP" profile_context = "PROFILE_CONTEXT_TYPE_ALL" profile_name = "fse.http" }, (LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_TCP" profile_context = "PROFILE_CONTEXT_TYPE_ALL" profile_name = "tcp" }, (LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_XML" profile_context = "PROFILE_CONTEXT_TYPE_ALL" profile_name = "xml_test" }]]
- Michael_Yates
Nimbostratus
Seeing yours work properly made me logically rethink the method....I forgot to specify the Partition. - JRahm
Admin
darn partitions... :)
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