Forum Discussion
brad_anton_1025
Nimbostratus
Feb 17, 2006pool selection based on client ip
i am trying to do a basic pool selection i have this, but its just not working
userlista is datagroup
when CLIENT_ACCEPTED {
if { [ matchclass [IP::client_addr]...
unRuleY_95363
Mar 02, 2006Historic F5 Account
Two things regarding RULE_INIT:
First, RULE_INIT is common to all rules. It is also only executed when rules are initially loaded or when anything in the entire rule has changed. The RULE_INIT event is evaluated regardless of whether the rule is associated to any virtuals.
Second, the default namespace for RULE_INIT is the global namespace. So, a local variable is actually in the global namespace. EG, "set dirt hello" in RULE_INIT is equivalent to "set ::dirt hello".
Hope that helps!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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