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.
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..