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
Apr 25, 2021MVP
I just tested out this, here's how you can do, you can edit the pool_member section of code.
append pool_member "[lindex $member 1]([lindex [lindex $member 2] 1]) "
The result would be something like below,
test-pool-443,dev-app1-node1:443(1.1.1.1) dev-app1-node2:443(1.1.1.2)
Also i dont know why [lindex $member 2 1] is not working straight in F5 tcl. Which is why i had to use lindex inside lindex as above.