Export Virtual Server Configuration in CSV - tmsh cli script
Problem this snippet solves:
This is a simple cli script used to collect all the virtuals name, its VIP details, Pool names, members, all Profiles, Irules, persistence associated to each, in all pa...
Updated Oct 24, 2023
Version 2.0jaikumar_f5
MVP
Joined May 16, 2019
jaikumar_f5
MVP
Joined May 16, 2019
jaikumar_f5
Feb 12, 2021MVP
Hi ,
Glad it was helpful. Regards to your requirement, it can be done in couple of ways, to what comes to my mind now,
1. Iapp templates, you can still customize them & use.
2. Use the load sys config merge option, list the to be cloned configs to a file, edit the parameters wherever required using sed cmd, & simply load it.
3. Go with simple bash or python script, where you'd take inputs using the read cmd & process it & let the backend functions to build your commands automatically. It's all scripting.
4. Using the rest API method & updating fields wherever required & just pushing it.
I use the 2nd & 3rd method when it's repetitive changes involving same pattern.