Export Virtual Server Configuration in CSV - tmsh cli script
Updated Oct 24, 2023
Version 2.0Was this article helpful?
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.