Forum Discussion
janholtz
Altostratus
Jul 20, 2010Simplist irule v9.x to v10.1
Hi all
I have an extremely simple irule that currently uses datagroups:
-------------------------------------------------------------------------------------------------
when CLIENT_ACC...
hoolio
Cirrostratus
Jul 20, 2010Hi Jan,
Datagroups can be accessed by name without the $:: prefix using the class commands. matchclass and findclass have been deprecated in v10.
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] eq sourcegroup] && [class match [IP::local_addr] eq destinationgroup] } {
pool pool_exceptionpool
}
}
http://devcentral.f5.com/wiki/default.aspx/iRules/class
Aaron
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