Forum Discussion
Passing variables directly from iApps to TMSH.
- May 26, 2016
This is useful for when scripting tmsh: Documentation for tmsh scripting Commands.
Looks like tmsh create is the syntax you are looking to use here.
app::config procedure is nice as it returns the object name of the object created and handles the appropriate tmsh scripting command based on input (create/modify/delete). Although, you will need to escape brackets and a few other characters such as backslashes.
This is useful for when scripting tmsh: Documentation for tmsh scripting Commands.
Looks like tmsh create is the syntax you are looking to use here.
app::config procedure is nice as it returns the object name of the object created and handles the appropriate tmsh scripting command based on input (create/modify/delete). Although, you will need to escape brackets and a few other characters such as backslashes.
BTW, if you want to be more explicit with the boundaries of your variable names, use curlies, like this:
tmsh::create
${::NONFLOAT}${::GRESourceLoopback__lb}-${::GRESourceLoopback__diocese}- \
${::GRESourceLoopback__orgid}${::IPADDRESS}${::GRESourceLoopback__loopback}/32 \
${::TRAFFICGROUP}${::VLANLOOPBACK}
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com