Forum Discussion
Virtual Server and Persist Profile Mapping in F5 LTM
Team,
I'm planning to write a code in python to establish a relationship between the Virtual Server and Persist Profile. Basically i need to know which persistence profile maps to which virtual server ? If anyone has done this before or does anyone have some source code that i can test with would help me.
Thanks,
Harsha
- consul_2019
Cirrus
I would suggest using REST API Guide and Curl as a good starting point. I would have thought that simply sending a GET request to retrieve the virtual server config, should show you the associated profiles as well. Python Requests library is very good and you can build your own scripts that way. Use Curl to get familiar with the API ... That's the way I did last time I had a project for this. I believe there are also code examples on DevCentral. I seem to remember some old articles giving examples..
- Sree_Harsha_S
Nimbostratus
Thanks for your feedback , i tried using awk command & it was returning me the Virtual Server & the Persist profile that it is mapped .
Definitely i'll try out REST API & keep you posted !
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