raytapay_75679
May 18, 2016Nimbostratus
Input File Containing VIPs for Deletion int TCL Script
I have a long list of VIPs to delete and looking at the sample scripts on Dev Central I only see that the scripts pull the whole list of VIPs and then the operations are done on them. Preferably, I w...
- May 18, 2016
I think that a basic bash script that invokes tmsh commands would be better for your task
For a preparation, format your file as follows with a list of valid tmsh commands (vi search & replace can help with preparation):
tmsh delete ltm virtual vsname1 tmsh delete ltm virtual vsname2 tmsh delete ltm virtual vsname3 tmsh delete ltm virtual vsnameX
Save it as 'deletevs.sh' file
- Execute the file as bash script
, and wait until the labour is donebash deletevs.sh -x
- Execute the file as bash script