Forum Discussion
How to get a profile_name from LocalLB.VirtualServer.VirtualServerProfileAttribute
I need to get a profile_name value only from the below output of b.LocalLB.VirtualServer.get_profile
I am using pycontrol to get the below output.
[[(LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_CLIENT_SSL" profile_context = "PROFILE_CONTEXT_TYPE_CLIENT" profile_name = "ssl.bse.data" }, (LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_HTTP" profile_context = "PROFILE_CONTEXT_TYPE_ALL" profile_name = "/Common/HTTP-XForwarded" }, (LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_TCP" profile_context = "PROFILE_CONTEXT_TYPE_CLIENT" profile_name = "/Common/tcp" }, (LocalLB.VirtualServer.VirtualServerProfileAttribute){ profile_type = "PROFILE_TYPE_TCP" profile_context = "PROFILE_CONTEXT_TYPE_SERVER" profile_name = "/Common/tcp-lan-optimized-2min-idle" }]]
Thanks in advance
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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