For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

ruiqiang_lu_121's avatar
ruiqiang_lu_121
Historic F5 Account
Jun 03, 2015

how to use a tmsh command to create a icall script ?

hi

 

i am writing a iapp including iall. so i must use tmsh command to create a icall script.

 

i use a variable (icall_script_name) as the script name, and i use another variable(icall_script_Get_HDP_Ips) as the script. The command is:

 

tmsh::create sys icall script ${icall_script_name} ${icall_script_Get_HDP_Ips}

 

but i get the error information: 010715bd:3: The parent folder is owned by application service (/Common/asfdsdf.app/asfdsdf), the object ownership cannot be changed to ().

 

Anyone can help me ?

 

Thanks you very much.

 

Ruiqiang Lu

 

1 Reply

  • Hi, I guess you could use the iapp package and do it with the following syntax:

    package require iapp 1.0.0
    iapp::template start
    tmsh::cd ..
    iapp::conf create sys icall script ${icall_script_name} definition \{ $icall_script_Get_HDP_Ips \} app-service none
    iapp::template end
    

    But, the trick is "tmsh::cd .."

    Regards.