Forum Discussion
Vlan_113259
Oct 28, 2010Historic F5 Account
GTM iRule help with matchregion?
After reading the documentation for the new v10.1.x iRule feature for GTM I still can not create an iRule that the GTM will accept. Has anyone actually used this? If so can you send me your example. ...
Vlan_113259
Oct 28, 2010Historic F5 Account
Besides the iRule syntax this looks like a bug with the v10.2.0.1707.0 parser. Using the following iRule I get the error text bellow.
when DNS_REQUEST {
if { [[matchregion] ldns ] equals $My_Region} {
log local0. "Drop"
drop
}
log local0. "Not Dropped"
}
011c0003:3: Rule checker ::tclCheck::checkScript did not complete: invalid command name "checkSimpleArgs 1 2 { BIGIP::checkIpTuple }"
while executing
"{checkSimpleArgs 1 2 { BIGIP::checkIpTuple }} $tokens $index"
("eval" body line 1)
invoked from within
"eval $default {$tokens $index}"
(procedure "checkOption" line 14)
invoked from within
"checkOption {
{ ldns { checkSimpleArgs 1 2}}
} { {checkSimpleArgs 1 2 { BIGIP::checkIpTuple }}} $tree $index"
("eval" body line 1)
invoked from within
"eval $cmd {$tree $index}"
(procedure "tclCheck::analyzeScript" line 89)
invoked from within
"tclCheck::analyzeScript $scriptRange"
(procedure "checkScript" line 5)
invoked from within
"checkScript $range"
("command" arm line 4)
invoked from within
"switch -- $type {
variable {
set range [lindex [lindex [lindex $word 2] 0] 1]
set name [parse getstring $::tclCheck::s..."
(procedure "checkWord" line 4)
invoked from withi
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