Forum Discussion
Uber_Nathan_202
Nimbostratus
May 21, 2015iApp variable scope
Hi all,
I'm writing my first iApp to automate deployment of a few virtual servers, nodes, pools and iRule data-groups
I have finished the presentation section and am now starting on the implement...
- May 21, 2015
Scope is not the problem. Tcl treats anything inside curly braces as verbatim. Enclosed strings in quotes and escape each curly brace with a backslash.
tmsh_modify "ltm data-group internal /Common/snat-map records add { $::private__privateAddr { data $::public__publicAddr }}"
mhite_60883
Cirrocumulus
Feb 06, 2012I believe if you use http://devcentral.f5.com/wiki/iControl.LocalLB__NodeAddressV2__create.ashx to create the NodeAddress, you can specify a name. To be honest, it's probably better to leave the name as the IP address and just set a description using http://devcentral.f5.com/wiki/iControl.LocalLB__NodeAddressV2__set_description.ashx.
Be aware that setting the port is something that occurs when you associate a node to a pool, not when you create a node.
Also, keep in mind this is how V11 API works. Old behavior is to set a screen name.
- Hi NetCohort,
- NetCohort_66543Apr 27, 2012
Nimbostratus
Thank you for the reply.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects