Forum Discussion
iApp works in production, but fails sys load verify.
- Jul 25, 2016
Archie- Tcl processes quoted strings, allowing for variable substitution. The Tcl validator is attempting to interpret the unpaired brace as a boundary character. A simplified reproduction of the error is this:
sys application template x { actions { definition { implementation { set x "{" } presentation { } } }
root@(big82)(cfg-sync Standalone)(ModuleNotLicensed:Active)(/Common)(tmos) load sys config verify... Syntax Error:(/config/bigip_script.conf at line: 63644) incomplete command
Escaping should work. Did you escape all of the quoted braces? I tried building an iapp with all of the statements above, and could not get it to fail.
Archie- Tcl processes quoted strings, allowing for variable substitution. The Tcl validator is attempting to interpret the unpaired brace as a boundary character. A simplified reproduction of the error is this:
sys application template x {
actions {
definition {
implementation {
set x "{"
}
presentation {
}
}
}
root@(big82)(cfg-sync Standalone)(ModuleNotLicensed:Active)(/Common)(tmos) load sys config verify... Syntax Error:(/config/bigip_script.conf at line: 63644) incomplete command
Escaping should work. Did you escape all of the quoted braces? I tried building an iapp with all of the statements above, and could not get it to fail.
Actually, I have a statement like this:
set DUMMY "/ltm data-group internal /Common/zscaler-wcf-source-to-tunnel-map { records add { 1.1.1.1/32 { data /Common/$tmsh::app_name.app/wcf-tunnel-pool-"
Should the / also be escaped with a \ or is it purely { or }
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