Forum Discussion
swo0sh_gt_13163
Altostratus
Feb 25, 2015Traffic Policy to map HTTP::class select command?
Hello Folks,
Sorry, opening another thread similar to the first one I opened today morning.
Can anyone help me with Traffic Policies as per the requirement? Basically following is the iRule snippet...
swo0sh_gt_13163
Altostratus
Feb 26, 2015Hello Torti,
Yes, correct. I have LTM Policy applied on those VS where the above iRule is applied. Also ASM is enabled within the LTM policy.
However I am struggling to make the following working now. 😞
when RULE_INIT
{
set static::intranet_groupName "interactive_range"
}
when HTTP_REQUEST
{
set flag_classSelect_developer 0
if {[matchclass [IP::client_addr] equals $static::intranet_groupName]}
{
ASM::disable
set flag_classSelect_developer 1
HTTP::class select /Common/cls_intranet_noFirewall
}
}
when HTTP_CLASS_SELECTED
{
if {$flag_classSelect_developer == 1}
{
HTTP::class select /Common/cls_intranet_noFirewall
set theClassName [HTTP::class]
}
}
}
The HTTP Class associated with the iRule, has nothing except ASM enable. Any idea how can I achieve the same for 11.5.1?
Thank you again. Darshan
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
