Forum Discussion
Scripting/Automating/greppingVIPS/ pool/nodes V11.
Hi CBG.
You'll likely have the best luck finding someone to do it for you in Perl or Python. It should be straightforward for them to read data from CSV then execute the corresponding TMSH command programmatically as long as you give them a template for the latter. In Python, it would look something like;
command_string = "tmsh create ltm virtual "+ vname + \ '{ destination "' + \ vip + " ip-protocol .. (etc, etc)"
os.system(command_string)
where vname, vip, etc are read from the CSV you just gave them. Just a bit more work to scrape the parameters from bigip.conf but they should be able to figure it out once they eyeball it. Just let them know the Python version on F5 is 2.4; had to redo a couple of things having tested in 2.7.
Cheers, Bernie
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
