Forum Discussion
bwolmarans_1284
Historic F5 Account
tcl 8.5 running on a laptop or using tcl on the bigip? generally, you can use the command "source". But I'm not sure that would be what you want. Please post your scripts and we can take a look.
Ashish_R_G_2512
Jun 22, 2016Nimbostratus
on bigip. i'm not sure about the tcl version. the script is huge. i'll post the part which i had error.
proc script::run {} {
set poolname [lindex $tmsh::argv 3]
foreach {pool} [tmsh::get_config \ltm pool] {
if {[tmsh::get_name $pool] ne $poolname}
{
puts "===================================================================="
puts "$poolname not found \n"
puts -nonewline "Do you want to create this pool?(Y/N): "
flush stdout
set createpool [gets stdin]
if {$createpool eq "Y"}
{
tmsh::run cli script scriptname.tcl
}
Thanks in advance. :)