janholtz
Jul 20, 2010Altostratus
Simplist irule v9.x to v10.1
Hi all
I have an extremely simple irule that currently uses datagroups:
-------------------------------------------------------------------------------------------------
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] eq $::sourcegroup] && [matchclass [IP::local_addr] eq $::destinationgroup] } {
pool pool_exceptionpool
}
}
-------------------------------------------------------------------------------------------------
This is obviously not CMP friendly.
If I wish to make it CMP friendly on V10.1, would my replacement rule simply be:
-------------------------------------------------------------------------------------------------
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] eq $static::sourcegroup] && [matchclass [IP::local_addr] eq $static::destinationgroup] } {
pool pool_exceptionpool
}
}
The contents of the datagroups are static.
Best Regards
Jan